mirror of
https://github.com/hpcaitech/Open-Sora.git
synced 2026-04-17 22:56:10 +02:00
31 lines
905 B
JavaScript
31 lines
905 B
JavaScript
import "../styles/global.css";
|
|
import { Raleway } from "next/font/google";
|
|
import Head from "next/head";
|
|
import Script from "next/script";
|
|
|
|
const raleway = Raleway({ subsets: ["latin"] });
|
|
|
|
// // This default export is required in a new `pages/_app.js` file.
|
|
export default function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<main className={raleway.className}>
|
|
<Script
|
|
async
|
|
src="https://www.googletagmanager.com/gtag/js?id=G-6040R6MSMR"
|
|
></Script>
|
|
<Script>
|
|
{`
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'G-6040R6MSMR');`}
|
|
</Script>
|
|
<Head>
|
|
<title>Open-Sora Gallery</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
</Head>
|
|
<Component {...pageProps} />
|
|
</main>
|
|
);
|
|
}
|