mirror of
https://github.com/zoo-apps/fund.git
synced 2026-10-30 14:57:02 +00:00
This is a static export served with trailing slashes, so several paths reach the same document and a search engine has to guess which is the page. Each route names its own; a single one in the layout would have pointed every page at the homepage, which is worse than having none. Co-authored-by: Hanzo Dev <[email protected]>
53 lines
1.6 KiB
TypeScript
53 lines
1.6 KiB
TypeScript
import type { Metadata } from 'next'
|
|
import { Inter } from 'next/font/google'
|
|
import './globals.css'
|
|
import { Providers } from './providers'
|
|
|
|
const inter = Inter({ subsets: ['latin'] })
|
|
|
|
export const metadata: Metadata = {
|
|
metadataBase: new URL('https://zoo.fund'),
|
|
alternates: { canonical: '/' },
|
|
title: 'Zoo Fund',
|
|
description: 'Research DAOs raise on-chain for one named question, and publish what they find.',
|
|
// Without these the site shares as a naked URL — no name, no description,
|
|
// no card — which is the state it was in. Next emits og: tags only for what
|
|
// is declared here; a title and description alone do not produce them.
|
|
openGraph: {
|
|
type: 'website',
|
|
siteName: 'Zoo Fund',
|
|
title: 'Zoo Fund',
|
|
description: 'Research DAOs raise on-chain for one named question, and publish what they find.',
|
|
url: 'https://zoo.fund',
|
|
images: [{ url: '/logos/logo-512.png', width: 512, height: 512, alt: 'Zoo' }],
|
|
},
|
|
twitter: {
|
|
card: 'summary',
|
|
site: '@zoo_labs',
|
|
title: 'Zoo Fund',
|
|
description: 'Research DAOs raise on-chain for one named question, and publish what they find.',
|
|
images: ['/logos/logo-512.png'],
|
|
},
|
|
icons: {
|
|
icon: [
|
|
{ url: 'https://zoo.ngo/favicon/favicon-32x32.png', sizes: '32x32' },
|
|
{ url: 'https://zoo.ngo/favicon/favicon-16x16.png', sizes: '16x16' },
|
|
],
|
|
apple: 'https://zoo.ngo/favicon/apple-touch-icon.png',
|
|
},
|
|
}
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode
|
|
}) {
|
|
return (
|
|
<html lang="en" className="dark">
|
|
<body className={inter.className}>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|