optimize font

This commit is contained in:
andrzej 2024-08-06 12:51:54 +02:00
parent e9ed5ae9ea
commit e5d2aba207
3 changed files with 5 additions and 2 deletions

Binary file not shown.

View File

@ -1,13 +1,13 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Inter } from "next/font/google";
import { ThemeProvider } from "./ui/theme"; import { ThemeProvider } from "./ui/theme";
import { Toaster } from "@/components/ui/toaster"; import { Toaster } from "@/components/ui/toaster";
import "./globals.css"; import "./globals.css";
import Navlinks from "./ui/navLinks"; import Navlinks from "./ui/navLinks";
import { ModeToggle } from "./ui/modeToggle"; import { ModeToggle } from "./ui/modeToggle";
import { inter } from "./ui/fonts";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Subman", title: "Subman",

3
src/app/ui/fonts.ts Normal file
View File

@ -0,0 +1,3 @@
import { Inter } from 'next/font/google';
export const inter = Inter({ subsets: ['latin'] });