import type { Viewport } from 'next'; import { Inter } from 'next/font/google'; import './globals.css'; import { cn } from '@/lib/utils'; import { Toaster } from '@/components/ui/sonner'; import React from 'react'; import { ThemeProvider } from 'next-themes'; import { SidebarProvider, SidebarTrigger } from '@/components/ui/sidebar'; import { AppSidebar } from '@/components/app-sidebar'; const inter = Inter({ subsets: ['latin'] }); const APP_NAME = 'Next Ory'; const APP_DEFAULT_TITLE = 'Next Ory'; const APP_TITLE_TEMPLATE = `%s | ${APP_DEFAULT_TITLE}`; const APP_DESCRIPTION = 'Get started with ORY authentication quickly and easily.'; export const metadata = { applicationName: APP_NAME, title: { default: APP_DEFAULT_TITLE, template: APP_TITLE_TEMPLATE, }, description: APP_DESCRIPTION, appleWebApp: { capable: true, statusBarStyle: 'default', title: APP_DEFAULT_TITLE, }, formatDetection: { telephone: false, }, }; export const viewport: Viewport = { themeColor: '#0B0908', width: 'device-width', }; export default function RootLayout({ children }: Readonly<{ children: React.ReactNode }>) { return (
{children}
); }