Skip to content

Commit

Permalink
fix font, remove old
Browse files Browse the repository at this point in the history
  • Loading branch information
muddlebee committed Nov 18, 2024
1 parent 8d7be84 commit 2ee8f85
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 15 deletions.
20 changes: 7 additions & 13 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
import type { Metadata } from "next";
import localFont from "next/font/local";
import "./globals.css";
import { Inter } from 'next/font/google'

const geistSans = localFont({
src: "./fonts/GeistVF.woff",
variable: "--font-geist-sans",
weight: "100 900",
});
const geistMono = localFont({
src: "./fonts/GeistMonoVF.woff",
variable: "--font-geist-mono",
weight: "100 900",
});

export const inter = Inter({
subsets: ['latin'],
display: 'swap',
})
export const metadata: Metadata = {
title: "Swush",
description: "DEX Aggregator on Polkadot Asset Hub",
Expand All @@ -26,9 +20,9 @@ export default function RootLayout({
return (
<html lang="en" suppressHydrationWarning>
<body
className={`${geistSans.variable} ${geistMono.variable} antialiased`}
className={inter.className}
>
{children}
{children}
</body>
</html>
);
Expand Down
7 changes: 5 additions & 2 deletions tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,11 @@ const config: Config = {
lg: 'var(--radius)',
md: 'calc(var(--radius) - 2px)',
sm: 'calc(var(--radius) - 4px)'
}
}
},
fontFamily: {
sans: ['var(--font-inter)'],
},
},
},
plugins: [require("tailwindcss-animate")],
};
Expand Down

0 comments on commit 2ee8f85

Please sign in to comment.