hata düzeltme
This commit is contained in:
@@ -1,10 +1,37 @@
|
|||||||
|
|
||||||
import { Inter, Outfit } from "next/font/google";
|
import localFont from "next/font/local";
|
||||||
import { Toaster } from "sonner";
|
import { Toaster } from "sonner";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const inter = localFont({
|
||||||
const outfit = Outfit({ subsets: ["latin"], variable: "--font-outfit" });
|
src: [
|
||||||
|
{ path: "../public/fonts/Inter-Thin.ttf", weight: "100", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-ExtraLight.ttf", weight: "200", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-Light.ttf", weight: "300", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-Regular.ttf", weight: "400", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-Medium.ttf", weight: "500", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-SemiBold.ttf", weight: "600", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-Bold.ttf", weight: "700", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-ExtraBold.ttf", weight: "800", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Inter-Black.ttf", weight: "900", style: "normal" },
|
||||||
|
],
|
||||||
|
variable: "--font-inter",
|
||||||
|
});
|
||||||
|
|
||||||
|
const outfit = localFont({
|
||||||
|
src: [
|
||||||
|
{ path: "../public/fonts/Outfit-Thin.ttf", weight: "100", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-ExtraLight.ttf", weight: "200", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-Light.ttf", weight: "300", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-Regular.ttf", weight: "400", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-Medium.ttf", weight: "500", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-SemiBold.ttf", weight: "600", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-Bold.ttf", weight: "700", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-ExtraBold.ttf", weight: "800", style: "normal" },
|
||||||
|
{ path: "../public/fonts/Outfit-Black.ttf", weight: "900", style: "normal" },
|
||||||
|
],
|
||||||
|
variable: "--font-outfit",
|
||||||
|
});
|
||||||
|
|
||||||
import { getSiteContents } from "@/lib/data";
|
import { getSiteContents } from "@/lib/data";
|
||||||
|
|
||||||
|
|||||||
BIN
public/fonts/Inter-Black.ttf
Normal file
BIN
public/fonts/Inter-Black.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-Bold.ttf
Normal file
BIN
public/fonts/Inter-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-ExtraBold.ttf
Normal file
BIN
public/fonts/Inter-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-ExtraLight.ttf
Normal file
BIN
public/fonts/Inter-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-Light.ttf
Normal file
BIN
public/fonts/Inter-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-Medium.ttf
Normal file
BIN
public/fonts/Inter-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-Regular.ttf
Normal file
BIN
public/fonts/Inter-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-SemiBold.ttf
Normal file
BIN
public/fonts/Inter-SemiBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Inter-Thin.ttf
Normal file
BIN
public/fonts/Inter-Thin.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Black.ttf
Normal file
BIN
public/fonts/Outfit-Black.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Bold.ttf
Normal file
BIN
public/fonts/Outfit-Bold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-ExtraBold.ttf
Normal file
BIN
public/fonts/Outfit-ExtraBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-ExtraLight.ttf
Normal file
BIN
public/fonts/Outfit-ExtraLight.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Light.ttf
Normal file
BIN
public/fonts/Outfit-Light.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Medium.ttf
Normal file
BIN
public/fonts/Outfit-Medium.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Regular.ttf
Normal file
BIN
public/fonts/Outfit-Regular.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-SemiBold.ttf
Normal file
BIN
public/fonts/Outfit-SemiBold.ttf
Normal file
Binary file not shown.
BIN
public/fonts/Outfit-Thin.ttf
Normal file
BIN
public/fonts/Outfit-Thin.ttf
Normal file
Binary file not shown.
Reference in New Issue
Block a user