Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion apps/web/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
async headers() {
return [
{
source: "/:path*",
headers: [{ key: "X-Robots-Tag", value: "noindex, nofollow" }],
},
];
},
};

export default nextConfig;
22 changes: 22 additions & 0 deletions apps/web/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
import type { Metadata } from "next";
import { Analytics } from "@vercel/analytics/next";
import Script from "next/script";
import "./globals.css";
import Providers from "./providers";

export const metadata: Metadata = {
title: "Meeting Notes - Decisions & Actions",
description: "Turn meeting notes into grounded answers, decisions, tasks, and issues.",
robots: {
index: false,
follow: false,
googleBot: {
index: false,
follow: false,
},
},
icons: {
icon: "/icon.svg",
shortcut: "/icon.svg",
Expand All @@ -21,6 +30,19 @@ export default function RootLayout({
return (
<html lang="en">
<body className="antialiased">
<Script
async
src="https://www.googletagmanager.com/gtag/js?id=G-5ZSN4CESRY"
strategy="afterInteractive"
/>
<Script id="ga4-init" strategy="afterInteractive">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-5ZSN4CESRY');
`}
</Script>
<Providers>{children}</Providers>
<Analytics />
</body>
Expand Down