_app.tsx 390 B

1234567891011121314151617181920
  1. import '@/styles/base.css';
  2. import type { AppProps } from 'next/app';
  3. import { Inter } from 'next/font/google';
  4. const inter = Inter({
  5. variable: '--font-inter',
  6. subsets: ['latin'],
  7. });
  8. function MyApp({ Component, pageProps }: AppProps) {
  9. return (
  10. <>
  11. <main className={inter.variable}>
  12. <Component {...pageProps} />
  13. </main>
  14. </>
  15. );
  16. }
  17. export default MyApp;