initial layout

This commit is contained in:
Daniil
2026-01-19 23:19:58 +03:00
parent 749fda017c
commit 4688f65c5a
81 changed files with 4343 additions and 16 deletions
+5 -1
View File
@@ -4,6 +4,8 @@ import type { ReactNode } from "react"
import "@shared/styles/global.scss"
import "bootstrap/dist/css/bootstrap.min.css"
import { QueryClientProvider } from "@shared/context/QueryClientProvider"
export const metadata: Metadata = {
title: "Coffee Project",
description: "Standalone Next.js app using FSD structure",
@@ -16,7 +18,9 @@ export default function RootLayout({
}>) {
return (
<html lang="en">
<body>{children}</body>
<QueryClientProvider>
<body>{children}</body>
</QueryClientProvider>
</html>
)
}
+9
View File
@@ -0,0 +1,9 @@
import { LoginPage } from "@pages/LoginPage"
export default function Home() {
return (
<main>
<LoginPage />
</main>
)
}
+11
View File
@@ -0,0 +1,11 @@
import type { JSX } from "react"
import { RegisterPage } from "@pages/RegisterPage"
export default function Register(): JSX.Element {
return (
<main>
<RegisterPage />
</main>
)
}
+7
View File
@@ -0,0 +1,7 @@
export default function EssentialTemplate({
children,
}: {
children: React.ReactNode
}) {
return children
}