Files
supabase/apps/www/app/layout.tsx
Francesco Sansalvadore 20cb05230b fix site_title (#47884)
Update www `site_title`.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Documentation**
* Updated the site title and browser metadata to describe the product as
“The Postgres Development Platform.”

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2026-07-13 13:41:26 +00:00

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 Postgres Development Platform`
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>
)
}