mirror of
https://github.com/dair-ai/Prompt-Engineering-Guide
synced 2024-11-13 19:10:38 +00:00
27 lines
636 B
TypeScript
27 lines
636 B
TypeScript
import '@fortawesome/fontawesome-svg-core/styles.css';
|
|
import type { AppProps } from 'next/app';
|
|
import Script from 'next/script';
|
|
import { Analytics } from '@vercel/analytics/react';
|
|
import './style.css';
|
|
|
|
function MyApp({ Component, pageProps }: AppProps) {
|
|
return (
|
|
<>
|
|
<Script async src="https://www.googletagmanager.com/gtag/js?id=G-ST7R3WQ353"/>
|
|
<Script>{`
|
|
window.dataLayer = window.dataLayer || [];
|
|
function gtag(){dataLayer.push(arguments);}
|
|
gtag('js', new Date());
|
|
gtag('config', 'G-ST7R3WQ353');
|
|
`}
|
|
</Script>
|
|
|
|
<Component {...pageProps} />
|
|
|
|
<Analytics />
|
|
</>
|
|
|
|
);
|
|
}
|
|
|
|
export default MyApp; |