mirror of
https://github.com/supabase/supabase.git
synced 2026-10-13 05:09:12 +03:00
* Regenerate the registry. * Fix the paths of the ai editor rules. * Fix headings on clients and auth blocks. * Fix realtime chat and avatar demos. * Setup mdx-lint for the ui-library. Fix some obvious wordings. * Fix the tooltips for the examples. Reorder the example pages.
20 lines
548 B
TypeScript
20 lines
548 B
TypeScript
import { Metadata } from 'next'
|
|
import { BaseInjector } from './../base-injector'
|
|
|
|
export const metadata: Metadata = {
|
|
title: 'Realtime Avatar Stack Example',
|
|
}
|
|
|
|
export default function RootLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<>
|
|
<BaseInjector />
|
|
<div className="flex w-full items-center justify-center p-6 md:p-10 preview bg-surface-100 h-screen">
|
|
<div className="w-full max-w-sm flex flex-col gap-4 justify-center items-center">
|
|
{children}
|
|
</div>
|
|
</div>
|
|
</>
|
|
)
|
|
}
|