-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathlayout.tsx
More file actions
101 lines (99 loc) · 3.5 KB
/
Copy pathlayout.tsx
File metadata and controls
101 lines (99 loc) · 3.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
import type { Metadata } from 'next';
import { instrumentSans, jetbrainsMono } from '@/lib/fonts';
import { Navbar } from '@/components/layout/Navbar';
import { Footer } from '@/components/layout/Footer';
import { ServiceWorkerRegister } from '@/components/ServiceWorkerRegister';
import { Analytics } from '@vercel/analytics/next';
import { SpeedInsights } from '@vercel/speed-insights/next';
import './globals.css';
export const metadata: Metadata = {
title: {
default: 'GoSQLX - Production-Ready SQL Parsing SDK for Go',
template: 'GoSQLX - %s',
},
description:
'High-performance, zero-copy SQL parsing SDK for Go. Thread-safe with multi-dialect support for PostgreSQL, MySQL, SQLite, SQL Server, Oracle, Snowflake, and ClickHouse.',
metadataBase: new URL('https://gosqlx.dev'),
alternates: {
canonical: '/',
},
openGraph: {
type: 'website',
locale: 'en_US',
url: 'https://gosqlx.dev',
siteName: 'GoSQLX',
title: 'GoSQLX - Production-Ready SQL Parsing SDK for Go',
description:
'High-performance, zero-copy SQL parsing SDK for Go. Thread-safe with multi-dialect support.',
images: [{ url: '/images/og-image.png', width: 1200, height: 630, alt: 'GoSQLX' }],
},
twitter: {
card: 'summary_large_image',
title: 'GoSQLX - Production-Ready SQL Parsing SDK for Go',
description:
'High-performance, zero-copy SQL parsing SDK for Go. Thread-safe with multi-dialect support.',
images: ['/images/og-image.png'],
},
icons: {
icon: '/favicon.png',
apple: '/apple-touch-icon.png',
},
robots: {
index: true,
follow: true,
googleBot: { index: true, follow: true },
},
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en" className={`${instrumentSans.variable} ${jetbrainsMono.variable}`}>
<body className="font-sans overflow-x-hidden">
<a
href="#main-content"
className="sr-only focus:not-sr-only focus:absolute focus:top-4 focus:left-4 focus:z-50 focus:rounded-md focus:bg-white focus:px-4 focus:py-2 focus:text-sm focus:font-medium focus:text-black focus:shadow-lg focus:outline-none"
>
Skip to main content
</a>
<script
type="application/ld+json"
suppressHydrationWarning
dangerouslySetInnerHTML={{
__html: JSON.stringify({
'@context': 'https://schema.org',
'@type': 'SoftwareApplication',
name: 'GoSQLX',
applicationCategory: 'DeveloperApplication',
operatingSystem: 'Any',
url: 'https://gosqlx.dev',
downloadUrl: 'https://github.com/ajitpratap0/GoSQLX/releases',
codeRepository: 'https://github.com/ajitpratap0/GoSQLX',
programmingLanguage: 'Go',
description: 'High-performance, zero-copy SQL parsing SDK for Go',
offers: {
'@type': 'Offer',
price: '0',
priceCurrency: 'USD',
},
publisher: {
'@type': 'Organization',
name: 'GoSQLX',
url: 'https://gosqlx.dev',
sameAs: ['https://github.com/ajitpratap0/GoSQLX'],
},
}),
}}
/>
<Navbar />
<main id="main-content" className="pt-16">{children}</main>
<Footer />
<ServiceWorkerRegister />
<Analytics />
<SpeedInsights />
</body>
</html>
);
}