mirror of
https://github.com/supabase/supabase.git
synced 2026-10-11 20:35:07 +03:00
* draft new page * nits * adding description in file events * event list * nits in grid size * filters * fetch descriptions from luma * fetching right data * upd * responsive * reponsive skeleton * more nits
54 lines
1.2 KiB
TypeScript
54 lines
1.2 KiB
TypeScript
import '@code-hike/mdx/styles'
|
|
import 'config/code-hike.scss'
|
|
import '../styles/index.css'
|
|
|
|
import { Metadata } from 'next'
|
|
import { APP_NAME, DEFAULT_META_DESCRIPTION } from '~/lib/constants'
|
|
import Providers from './providers'
|
|
import type { Viewport } from 'next'
|
|
|
|
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>
|
|
<body>
|
|
<Providers>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
)
|
|
}
|