-
Notifications
You must be signed in to change notification settings - Fork 0
/
layout.tsx
122 lines (119 loc) · 3.32 KB
/
layout.tsx
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
import { Metadata, Viewport } from 'next';
import RootLayout from '@/app/root-layout';
import { GeistSans } from 'geist/font/sans';
import { Analytics } from '@vercel/analytics/react';
import Footer from '@/app/components/Footer';
export const metadata: Metadata = {
metadataBase: new URL('https://solanatokenfactory.com'),
title: {
default: 'Solana Token Factory - Create SPL Tokens Easily',
template: '%s | Solana Token Factory'
},
description: 'Create and manage Solana SPL tokens with ease. Mint new tokens, manage authorities, and customize your token settings all in one place.',
keywords: [
'Solana',
'SPL Token',
'Token Creation',
'Crypto Token',
'Blockchain',
'Web3',
'Token Factory',
'Mint Token',
'DeFi',
'Cryptocurrency'
],
authors: [{ name: 'Solana Token Factory' }],
creator: 'Solana Token Factory',
publisher: 'Solana Token Factory',
robots: {
index: true,
follow: true,
googleBot: {
index: true,
follow: true,
'max-video-preview': -1,
'max-image-preview': 'large',
'max-snippet': -1,
},
},
icons: {
icon: [
{ url: '/favicon.ico' }, // Simplified this
],
shortcut: '/favicon.ico', // Added this
apple: '/apple-touch-icon.png', // Simplified this
},
manifest: '/site.webmanifest',
openGraph: {
type: 'website',
locale: 'en_US',
url: 'https://solanatokenfactory.com',
siteName: 'Solana Token Factory',
title: 'Create Solana SPL Tokens Easily',
description: 'The easiest way to create and manage Solana SPL tokens. No coding required.',
images: [
{
url: '/og-image.png',
width: 1200,
height: 630,
alt: 'Solana Token Factory',
},
],
},
twitter: {
card: 'summary_large_image',
title: 'Solana Token Factory - Create SPL Tokens Easily',
description: 'Create and manage Solana SPL tokens with ease. No coding required.',
images: ['/twitter-image.png'],
creator: '@SolanaTokenFactory',
},
alternates: {
canonical: 'https://solanatokenfactory.com',
languages: {
'en-US': 'https://solanatokenfactory.com',
},
},
verification: {
google: 'your-google-verification-code',
yandex: 'your-yandex-verification-code',
},
};
export const viewport: Viewport = {
width: 'device-width',
initialScale: 1,
maximumScale: 1,
themeColor: [
{ media: '(prefers-color-scheme: light)', color: '#ffffff' },
{ media: '(prefers-color-scheme: dark)', color: '#0B0B1E' },
],
colorScheme: 'dark',
};
export default function Layout({ children }: { children: React.ReactNode }) {
return (
<html
lang="en"
suppressHydrationWarning
className={`${GeistSans.variable} antialiased`}
>
<head>
<link
rel="preconnect"
href={process.env.NEXT_PUBLIC_RPC_ENDPOINT}
crossOrigin="anonymous"
/>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
</head>
<body
suppressHydrationWarning
className="min-h-screen bg-[#0B0B1E] text-white selection:bg-[#9945FF]/30"
>
<RootLayout>
{children}
</RootLayout>
<Footer />
<Analytics />
</body>
</html>
);
}