first commit

This commit is contained in:
2026-05-31 14:22:39 +03:30
commit 98af7d639b
54 changed files with 11545 additions and 0 deletions

48
config/font.config.ts Normal file
View File

@@ -0,0 +1,48 @@
import localFont from "next/font/local";
export const FontVazir = localFont({
src: [
{
path: "../fonts/vazir/Vazirmatn-Thin.woff2",
weight: "100",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-ExtraLight.woff2",
weight: "200",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-Light.woff2",
weight: "300",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-Regular.woff2",
weight: "400",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-Medium.woff2",
weight: "500",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-SemiBold.woff2",
weight: "600",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-Bold.woff2",
weight: "700",
style: "normal",
},
{
path: "../fonts/vazir/Vazirmatn-ExtraBold.woff2",
weight: "800",
style: "normal",
},
],
variable: "--font-vazir", // اگر خواستی متغیر CSS بسازی برای Tailwind یا CSS مدول
display: "swap", // بهترین گزینه برای نمایش فونت
});