2025-06-30 15:54:10 -04:00
|
|
|
import '../styles/globals.css';
|
|
|
|
|
import type { AppProps } from 'next/app';
|
2025-07-02 16:39:16 -04:00
|
|
|
import { Playfair_Display, Fraunces } from 'next/font/google'
|
2025-06-30 15:54:10 -04:00
|
|
|
import Navbar from '../components/Navbar';
|
2025-07-01 16:56:24 -04:00
|
|
|
import Footer from '../components/Footer';
|
|
|
|
|
import classNames from 'classnames';
|
|
|
|
|
|
2025-07-02 16:39:16 -04:00
|
|
|
// const font = Playfair_Display({ weight: '500',subsets: ['latin'] })
|
|
|
|
|
const font = Fraunces({ subsets: ['latin'] })
|
2025-06-30 15:54:10 -04:00
|
|
|
|
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
2025-07-01 16:56:24 -04:00
|
|
|
|
|
|
|
|
|
2025-06-30 15:54:10 -04:00
|
|
|
return (
|
|
|
|
|
<>
|
2025-07-02 16:39:16 -04:00
|
|
|
<main className={classNames("bg-britton-dark min-h-screen", font.className)}>
|
2025-06-30 15:54:10 -04:00
|
|
|
<Navbar />
|
|
|
|
|
<Component {...pageProps} />
|
2025-07-01 16:56:24 -04:00
|
|
|
<Footer />
|
|
|
|
|
</main>
|
2025-06-30 15:54:10 -04:00
|
|
|
</>
|
|
|
|
|
);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default MyApp;
|