hata düzeltme

This commit is contained in:
2026-01-28 00:26:18 +03:00
parent fde1c84ecb
commit 10bfa3089e
19 changed files with 30 additions and 3 deletions

View File

@@ -1,10 +1,37 @@
import { Inter, Outfit } from "next/font/google";
import localFont from "next/font/local";
import { Toaster } from "sonner";
import "./globals.css";
const inter = Inter({ subsets: ["latin"] });
const outfit = Outfit({ subsets: ["latin"], variable: "--font-outfit" });
const inter = localFont({
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";