first commit

This commit is contained in:
2026-05-23 13:22:10 +03:30
parent 5f9ee72174
commit 6591a52f27
52 changed files with 3937 additions and 133 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", // بهترین گزینه برای نمایش فونت
});