mirror of
https://github.com/supabase/supabase.git
synced 2026-10-09 19:35:06 +03:00
Update marketing website and docs with new sans-serif fonts: - `Inter` - sans-serif for all body text - `Manrope` - sans-serif for headings PR breakdown of #43455 Related: #47226 #47228 #47236
60 lines
1.4 KiB
TypeScript
60 lines
1.4 KiB
TypeScript
import '@code-hike/mdx/styles.css'
|
|
import 'config/code-hike.css'
|
|
import '../styles/globals.css'
|
|
import '../pages/launch-week/launchWeek.css'
|
|
|
|
import { inter, manrope, sourceCodePro } from '~/lib/fonts'
|
|
import type { Metadata, Viewport } from 'next'
|
|
|
|
import Providers from './providers'
|
|
import { APP_NAME, DEFAULT_META_DESCRIPTION } from '@/lib/constants'
|
|
|
|
const site_title = `${APP_NAME} | The Open Source Firebase Alternative`
|
|
|
|
export const metadata: Metadata = {
|
|
title: site_title,
|
|
description: DEFAULT_META_DESCRIPTION,
|
|
openGraph: {
|
|
type: 'website',
|
|
url: 'https://supabase.com/',
|
|
siteName: 'Supabase',
|
|
images: [
|
|
{
|
|
url: 'https://supabase.com/images/og/supabase-og.png',
|
|
width: 800,
|
|
height: 600,
|
|
alt: 'Supabase Og Image',
|
|
},
|
|
],
|
|
},
|
|
twitter: {
|
|
creator: '@supabase',
|
|
site: '@supabase',
|
|
card: 'summary_large_image',
|
|
},
|
|
icons: {
|
|
icon: '/favicon/favicon.ico',
|
|
shortcut: '/favicon/favicon.ico',
|
|
apple: '/favicon/favicon.ico',
|
|
},
|
|
}
|
|
|
|
export const viewport: Viewport = {
|
|
initialScale: 1,
|
|
width: 'device-width',
|
|
}
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<html
|
|
lang="en"
|
|
suppressHydrationWarning
|
|
className={`${manrope.variable} ${inter.variable} ${sourceCodePro.variable}`}
|
|
>
|
|
<body>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|