chore: initialize project
Some checks failed
Deploy monie-landing (kaniko) / build-and-deploy (push) Failing after 20m45s

This commit is contained in:
2026-04-03 16:32:58 +03:00
commit 282eb87e63
79 changed files with 12499 additions and 0 deletions

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

@@ -0,0 +1,75 @@
import { TanStackDevtools } from "@tanstack/react-devtools";
import { createRootRoute, HeadContent, Scripts } from "@tanstack/react-router";
import { TanStackRouterDevtoolsPanel } from "@tanstack/react-router-devtools";
import { FooterSimpleRow } from "denjs-ui";
import { LocaleProvider, PostHogProvider } from "#/app/providers";
import appCss from "#/app/styles/index.css?url";
import { m } from "#/paraglide/messages";
import { getLocale } from "#/paraglide/runtime";
import { Header } from "#/widgets/layout";
export const Route = createRootRoute({
head: () => ({
meta: [
{
charSet: "utf-8",
},
{
name: "viewport",
content: "width=device-width, initial-scale=1",
},
{
title: m.seo_home_title(),
},
{
name: "description",
content: m.seo_home_description(),
},
],
links: [
{
rel: "icon",
type: "image/svg+xml",
href: "/favicon-light.svg",
id: "app-favicon",
},
{
rel: "stylesheet",
href: appCss,
},
],
}),
shellComponent: RootDocument,
});
function RootDocument({ children }: { children: React.ReactNode }) {
return (
<html lang={getLocale()} suppressHydrationWarning>
<head>
<script src="/theme-init.js" />
<HeadContent />
</head>
<body className="font-sans antialiased wrap-anywhere">
<PostHogProvider>
<LocaleProvider>
<Header />
{children}
<FooterSimpleRow />
<TanStackDevtools
config={{
position: "bottom-right",
}}
plugins={[
{
name: "Tanstack Router",
render: <TanStackRouterDevtoolsPanel />,
},
]}
/>
</LocaleProvider>
</PostHogProvider>
<Scripts />
</body>
</html>
);
}