Prompt-Engineering-Guide/pages/_app.tsx

27 lines
636 B
TypeScript
Raw Normal View History

2023-10-10 04:40:16 +00:00
import '@fortawesome/fontawesome-svg-core/styles.css';
2023-03-17 07:48:51 +00:00
import type { AppProps } from 'next/app';
2023-03-17 08:28:10 +00:00
import Script from 'next/script';
2023-03-17 07:48:51 +00:00
import { Analytics } from '@vercel/analytics/react';
2023-04-13 08:16:21 +00:00
import './style.css';
2023-03-17 07:48:51 +00:00
function MyApp({ Component, pageProps }: AppProps) {
return (
<>
2023-03-17 08:28:10 +00:00
<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>
2023-03-17 07:48:51 +00:00
<Component {...pageProps} />
2023-10-10 04:40:16 +00:00
2023-03-17 07:48:51 +00:00
<Analytics />
</>
2023-10-10 04:40:16 +00:00
2023-03-17 07:48:51 +00:00
);
}
export default MyApp;