2024-11-13 08:33:48 +01:00
|
|
|
import type { ReactNode, JSX } from 'react'
|
2024-12-04 00:05:25 +05:30
|
|
|
import { Head } from 'tuono'
|
2024-05-26 19:05:19 +02:00
|
|
|
|
|
|
|
|
interface RootRouteProps {
|
|
|
|
|
children: ReactNode
|
|
|
|
|
}
|
2024-06-06 19:15:07 +02:00
|
|
|
|
2024-05-26 19:05:19 +02:00
|
|
|
export default function RootRoute({ children }: RootRouteProps): JSX.Element {
|
2024-12-04 00:05:25 +05:30
|
|
|
return (
|
|
|
|
|
<>
|
|
|
|
|
<Head>
|
|
|
|
|
<link
|
|
|
|
|
rel="icon"
|
|
|
|
|
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>⚡</text></svg>"
|
|
|
|
|
/>
|
|
|
|
|
<title>Tuono tutorial</title>
|
|
|
|
|
</Head>
|
|
|
|
|
<main className="main">{children}</main>
|
|
|
|
|
</>
|
|
|
|
|
)
|
2024-05-26 19:05:19 +02:00
|
|
|
}
|