fix: font

This commit is contained in:
Mahyar Khanbolooki
2025-07-01 01:39:53 +03:30
parent ec4d6d8523
commit 9b1333fcf5
2 changed files with 7 additions and 18 deletions
+6 -6
View File
@@ -1,42 +1,42 @@
/* Irancell Font Section */ /* Irancell Font Section */
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_ExtraLight.woff2') format('woff2'); src: url(/assets/fonts/Irancell_ExtraLight.ttf);
font-weight: 200; font-weight: 200;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_Light.woff2') format('woff2'); src: url(/assets/fonts/Irancell_Light.ttf);
font-weight: 300; font-weight: 300;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_Regular.woff2') format('woff2'); src: url(/assets/fonts/Irancell_Regular.ttf);
font-weight: 400; font-weight: 400;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_Medium.woff2') format('woff2'); src: url(/assets/fonts/Irancell_Medium.ttf);
font-weight: 500; font-weight: 500;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_Bold.woff2') format('woff2'); src: url(/assets/fonts/Irancell_Bold.ttf);
font-weight: 700; font-weight: 700;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'Irancell'; font-family: 'Irancell';
src: url('/assets/fonts/Irancell_ExtraBold.woff2') format('woff2'); src: url(/assets/fonts/Irancell_ExtraBold.ttf);
font-weight: 800; font-weight: 800;
font-style: normal; font-style: normal;
} }
+1 -12
View File
@@ -1,17 +1,6 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css"; import "./globals.css";
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Create Next App", title: "Create Next App",
description: "Generated by create next app", description: "Generated by create next app",
@@ -25,7 +14,7 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`antialiased`}
> >
{children} {children}
</body> </body>