Change font

This commit is contained in:
Oliver Ilp
2025-04-17 19:04:23 +03:00
parent b11715e332
commit a49ab59cb4
3 changed files with 6 additions and 13 deletions

View File

@@ -1,4 +1,4 @@
@import "tailwindcss"; @import 'tailwindcss';
:root { :root {
--background: #ffffff; --background: #ffffff;
@@ -22,5 +22,5 @@
body { body {
background: var(--background); background: var(--background);
color: var(--foreground); color: var(--foreground);
font-family: Arial, Helvetica, sans-serif; font-family: Inter, Arial, Helvetica, sans-serif;
} }

View File

@@ -1,14 +1,9 @@
import type { Metadata } from "next"; import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google"; import { Inter } from "next/font/google";
import "./globals.css"; import "./globals.css";
const geistSans = Geist({ const inter = Inter({
variable: "--font-geist-sans", variable: "--font-inter",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"], subsets: ["latin"],
}); });
@@ -25,7 +20,7 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<body <body
className={`${geistSans.variable} ${geistMono.variable} antialiased`} className={`${inter.variable} antialiased`}
> >
{children} {children}
</body> </body>

View File

@@ -1,5 +1,3 @@
import Image from "next/image";
export default function Home() { export default function Home() {
return ( return (
<div> <div>