Skip to content

Commit

Permalink
include Lexend font
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Jan 2, 2025
1 parent 0d08e61 commit d87f408
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
import { Lexend } from 'next/font/google';
import NavSystem from '@/components/NavSystem';
import StyledComponentsRegistry from '@/lib/registry';
import ProfileProvider from '@/utils/ProfileProvider';
import { AuthProvider } from '../utils/AuthProvider';
import './globals.css';

// font definitions
const sans = Inter({
const sans = Lexend({
variable: '--font-sans',
subsets: ['latin'],
});
Expand All @@ -26,7 +26,6 @@ export default function RootLayout({
return (
<html lang="en">
<body className={sans.className}>
{/* <div style={{ height:"100vh", width:"100vw"}} > */}
<AuthProvider>
<ProfileProvider>
<StyledComponentsRegistry>
Expand All @@ -35,7 +34,6 @@ export default function RootLayout({
</StyledComponentsRegistry>
</ProfileProvider>
</AuthProvider>
{/* </div> */}
</body>
</html>
);
Expand Down

0 comments on commit d87f408

Please sign in to comment.