chore: initial commit

This commit is contained in:
2026-03-04 13:21:16 -06:00
commit 449d8f96c7
17 changed files with 1086 additions and 0 deletions

48
src/routes/__root.tsx Normal file
View File

@@ -0,0 +1,48 @@
/// <reference types="vite/client" />
import {
createRootRoute,
HeadContent,
Outlet,
Scripts
} from '@tanstack/react-router'
import type { ReactNode } from 'react'
export const Route = createRootRoute({
head: () => ({
meta: [
{
charSet: 'utf-8'
},
{
name: 'viewport',
content: 'width=device-width, initial-scale=1'
},
{
title: 'Juggernaut Plays Blog'
}
]
}),
component: RootComponent
})
function RootComponent() {
return (
<RootDocument>
<Outlet />
</RootDocument>
)
}
function RootDocument({ children }: Readonly<{ children: ReactNode }>) {
return (
<html lang="es">
<head>
<HeadContent />
</head>
<body>
{children}
<Scripts />
</body>
</html>
)
}