|
1 | | -import type { Metadata } from 'next'; |
| 1 | +import type { Metadata, Viewport } from 'next'; |
2 | 2 | import './globals.css'; |
3 | 3 |
|
| 4 | +const siteUrl = 'https://hyper3labs.github.io'; |
| 5 | +const siteName = 'hyper³labs'; |
| 6 | +const title = 'hyper³labs Docs — HyperView'; |
| 7 | +const description = |
| 8 | + 'Documentation and explorable Spaces for HyperView, the agent-native multimodal data workbench from hyper³labs.'; |
| 9 | + |
4 | 10 | export const metadata: Metadata = { |
5 | | - title: 'hyper³labs — Non-Euclidean Tools for Embeddings', |
6 | | - description: |
7 | | - 'Open-source tools for non-Euclidean embeddings and dataset curation.', |
| 11 | + metadataBase: new URL(siteUrl), |
| 12 | + title: { |
| 13 | + default: title, |
| 14 | + template: '%s — hyper³labs', |
| 15 | + }, |
| 16 | + description, |
| 17 | + applicationName: siteName, |
| 18 | + manifest: '/manifest.webmanifest', |
| 19 | + authors: [{ name: 'hyper³labs', url: siteUrl }], |
| 20 | + creator: 'hyper³labs', |
| 21 | + publisher: 'hyper³labs', |
| 22 | + keywords: [ |
| 23 | + 'HyperView', |
| 24 | + 'multimodal data workbench', |
| 25 | + 'dataset visualization', |
| 26 | + 'embedding visualization', |
| 27 | + 'agent-native tools', |
| 28 | + 'developer documentation', |
| 29 | + 'open source', |
| 30 | + 'hyper3labs', |
| 31 | + ], |
| 32 | + alternates: { |
| 33 | + canonical: '/', |
| 34 | + }, |
| 35 | + robots: { |
| 36 | + index: true, |
| 37 | + follow: true, |
| 38 | + googleBot: { |
| 39 | + index: true, |
| 40 | + follow: true, |
| 41 | + 'max-image-preview': 'large', |
| 42 | + 'max-snippet': -1, |
| 43 | + 'max-video-preview': -1, |
| 44 | + }, |
| 45 | + }, |
8 | 46 | openGraph: { |
9 | | - title: 'hyper³labs — Non-Euclidean Tools for Embeddings', |
10 | | - description: |
11 | | - 'Open-source tools for non-Euclidean embeddings and dataset curation.', |
12 | 47 | type: 'website', |
| 48 | + url: siteUrl, |
| 49 | + siteName, |
| 50 | + title, |
| 51 | + description, |
| 52 | + locale: 'en_US', |
| 53 | + images: [ |
| 54 | + { |
| 55 | + url: '/og/default.png', |
| 56 | + width: 1200, |
| 57 | + height: 630, |
| 58 | + alt: title, |
| 59 | + }, |
| 60 | + ], |
13 | 61 | }, |
| 62 | + twitter: { |
| 63 | + card: 'summary_large_image', |
| 64 | + title, |
| 65 | + description, |
| 66 | + images: ['/og/default.png'], |
| 67 | + }, |
| 68 | + icons: { |
| 69 | + icon: [ |
| 70 | + { url: '/brand-assets/favicon-32.png', sizes: '32x32', type: 'image/png' }, |
| 71 | + { url: '/brand-assets/hyper3labs-logo-primary.svg', type: 'image/svg+xml' }, |
| 72 | + { url: '/brand-assets/hyper3labs-logo-primary-192.png', sizes: '192x192', type: 'image/png' }, |
| 73 | + ], |
| 74 | + apple: '/brand-assets/apple-touch-icon.png', |
| 75 | + }, |
| 76 | +}; |
| 77 | + |
| 78 | +export const viewport: Viewport = { |
| 79 | + themeColor: '#0a0a0a', |
| 80 | + colorScheme: 'dark', |
14 | 81 | }; |
15 | 82 |
|
16 | 83 | export default function RootLayout({ |
|
0 commit comments