48 lines
955 B
TypeScript
48 lines
955 B
TypeScript
import { HeadContent, Scripts, createRootRoute } from '@tanstack/react-router'
|
||
|
||
import appCss from '../styles.css?url'
|
||
|
||
export const Route = createRootRoute({
|
||
head: () => ({
|
||
meta: [
|
||
{
|
||
charSet: 'utf-8',
|
||
},
|
||
{
|
||
name: 'viewport',
|
||
content: 'width=device-width, initial-scale=1',
|
||
},
|
||
{
|
||
title: 'Steakhaus bei Mirko | Meppen',
|
||
},
|
||
{
|
||
name: 'description',
|
||
content:
|
||
'Steakhaus bei Mirko in Meppen – Steaks vom Grill, gemütliche Atmosphäre. Reservieren Sie Ihren Tisch online.',
|
||
},
|
||
],
|
||
links: [
|
||
{
|
||
rel: 'stylesheet',
|
||
href: appCss,
|
||
},
|
||
],
|
||
}),
|
||
shellComponent: RootDocument,
|
||
})
|
||
|
||
function RootDocument({ children }: { children: React.ReactNode }) {
|
||
return (
|
||
<html lang="de">
|
||
<head>
|
||
<HeadContent />
|
||
</head>
|
||
<body>
|
||
{children}
|
||
|
||
<Scripts />
|
||
</body>
|
||
</html>
|
||
)
|
||
}
|