2023-12-21 08:24:14 -08:00
|
|
|
import { type AppType } from "next/app";
|
|
|
|
|
2023-12-21 08:24:25 -08:00
|
|
|
import { Noto_Sans } from "next/font/google"
|
2023-12-30 10:28:09 -08:00
|
|
|
import localFont from 'next/font/local'
|
2023-12-21 08:24:25 -08:00
|
|
|
|
2023-12-21 08:24:14 -08:00
|
|
|
import { api } from "~/utils/api";
|
|
|
|
|
|
|
|
import "~/styles/globals.css";
|
|
|
|
|
2023-12-21 08:24:25 -08:00
|
|
|
const noto = Noto_Sans({ subsets: ["latin"] })
|
2023-12-30 10:28:09 -08:00
|
|
|
const kai = localFont({ src: "./kaiu.ttf", variable: "--font-kai"})
|
2023-12-21 08:24:25 -08:00
|
|
|
|
2023-12-21 08:24:14 -08:00
|
|
|
const MyApp: AppType = ({ Component, pageProps }) => {
|
2023-12-30 10:28:09 -08:00
|
|
|
return <main className={`${kai.variable} ${noto.className}`}><Component {...pageProps} /></main>;
|
2023-12-21 08:24:14 -08:00
|
|
|
};
|
|
|
|
|
|
|
|
export default api.withTRPC(MyApp);
|