mirror of
https://github.com/zoo-apps/industries.git
synced 2026-10-30 14:57:03 +00:00
The home page pitched an ended partnership: tokenized private equity through a broker-dealer, ATS and transfer agency, pre-IPO stocks, and "13,000+ digital securities via our regulated ATS partner". Removed the investor section, the Private Equity on Chain section, the public/private market cards and those lines; the $ZOO Network block now describes $ZOO, $AI and Proof of AI in the words the API page already uses. The analytics script loaded from a host that does not resolve and carried no site id. It now renders only when a site id is set. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
65 lines
2.1 KiB
TypeScript
65 lines
2.1 KiB
TypeScript
import type { Metadata, Viewport } from 'next'
|
|
import { Geist, Geist_Mono } from 'next/font/google'
|
|
import { ThemeProvider } from '@/components/ThemeProvider'
|
|
import site from '@/site.config'
|
|
import './globals.css'
|
|
|
|
const geist = Geist({ variable: '--font-sans', subsets: ['latin'] })
|
|
const mono = Geist_Mono({ variable: '--font-mono', subsets: ['latin'] })
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL(site.brand.url),
|
|
title: {
|
|
template: site.seo.titleTemplate,
|
|
default: site.seo.defaultTitle,
|
|
},
|
|
description: site.brand.description,
|
|
openGraph: {
|
|
images: [{ url: '/opengraph-image', width: 1200, height: 630, alt: site.seo.defaultTitle }],
|
|
siteName: site.brand.tagline,
|
|
type: 'website',
|
|
url: site.brand.url,
|
|
},
|
|
twitter: {
|
|
card: 'summary_large_image',
|
|
title: site.brand.name,
|
|
description: site.brand.description,
|
|
images: ['/opengraph-image'],
|
|
},
|
|
icons: { icon: site.seo.faviconPath },
|
|
}
|
|
|
|
export const viewport: Viewport = {
|
|
themeColor: site.seo.themeColor,
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en" className={`${geist.variable} ${mono.variable}`} suppressHydrationWarning>
|
|
<body className="antialiased bg-background text-foreground">
|
|
{/* Light-only — the brutalist iridescent palette isn't designed
|
|
for dark backgrounds; ``enableSystem`` was flipping anyone
|
|
whose OS is in dark mode to ``--background: #0a0a0a``, which
|
|
turned the navbar (``bg-background/85``) into a black bar
|
|
over the gradient body. */}
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="light"
|
|
forcedTheme="light"
|
|
disableTransitionOnChange
|
|
>
|
|
{children}
|
|
</ThemeProvider>
|
|
{/* Zoo Analytics — privacy-first, respects DNT, no cookies */}
|
|
{site.analytics.siteId && (
|
|
<script defer src={site.analytics.scriptUrl} data-website-id={site.analytics.siteId} data-do-not-track="true" data-exclude-search="true" />
|
|
)}
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|