-
Notifications
You must be signed in to change notification settings - Fork 0
/
output_page.js
31 lines (30 loc) · 914 Bytes
/
output_page.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
import Navbar1 from "@/app/components/navbar/variant-1";
import Hero1 from "@/app/components/hero/variant-1";
import Pricing1 from "@/app/components/pricing/variant-1";
import Script from "next/script";
export default function Home() {
return (
<>
{process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS && (
<>
<Script
src={`https://www.googletagmanager.com/gtag/js?id=${process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS}`}
/>
<Script id="google-analytics">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', '${process.env.NEXT_PUBLIC_GOOGLE_ANALYTICS}');
`}
</Script>
</>
)}
<div className="w-full overflow-scroll">
<Navbar1 />
<Hero1 />
<Pricing1 />
</div>
</>
);
}