plano/apps/www/src/app/layout.tsx
Musa 56b3246f30
introduce SEO optimization and improve blog content rendering (#709)
* introduce SEO optimizations for marketing reach

* quality of life updates to Next

* format with biome

* improve wording on home badge

* adding additional keyword based on trends

* add code block and markdown support for blogs

* Update metadata for SEO
2026-01-28 17:52:39 -08:00

43 lines
1.2 KiB
TypeScript

import type { Metadata } from "next";
import Script from "next/script";
import "@katanemo/shared-styles/globals.css";
import { Analytics } from "@vercel/analytics/next";
import { ConditionalLayout } from "@/components/ConditionalLayout";
import { defaultMetadata } from "@/lib/metadata";
export const metadata: Metadata = {
...defaultMetadata,
manifest: "/manifest.json",
icons: {
icon: "/PlanoIcon.svg",
apple: "/Logomark.png",
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className="antialiased">
{/* Google tag (gtag.js) */}
<Script
src="https://www.googletagmanager.com/gtag/js?id=G-ML7B1X9HY2"
strategy="afterInteractive"
/>
<Script strategy="afterInteractive">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-ML7B1X9HY2');
`}
</Script>
<ConditionalLayout>{children}</ConditionalLayout>
<Analytics />
</body>
</html>
);
}