Skip to content

Commit

Permalink
feat: update font type to poppins
Browse files Browse the repository at this point in the history
  • Loading branch information
fgmadeira committed Feb 3, 2025
1 parent e51636f commit a5e4d2d
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions web/dashboard/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import "./globals.css";
import { Poppins } from 'next/font/google'

const poppins = Poppins({
weight: ['600', '400'],
subsets: ['latin'],
})

import React from "react";
import { ThemeProvider } from '@/components/theme-provider';

export default async function RootLayout({ children }: { children: React.ReactNode }) {
return <html lang="en" suppressHydrationWarning>
return <html lang="en" className={poppins.className} suppressHydrationWarning>
<head>
</head>
<body className="font-campton">
<body>
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
{children}
</ThemeProvider>
Expand Down

0 comments on commit a5e4d2d

Please sign in to comment.