initial layout
This commit is contained in:
+5
-1
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
import { LoginPage } from "@pages/LoginPage"
|
||||
|
||||
export default function Home() {
|
||||
return (
|
||||
<main>
|
||||
<LoginPage />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { JSX } from "react"
|
||||
|
||||
import { RegisterPage } from "@pages/RegisterPage"
|
||||
|
||||
export default function Register(): JSX.Element {
|
||||
return (
|
||||
<main>
|
||||
<RegisterPage />
|
||||
</main>
|
||||
)
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
export default function EssentialTemplate({
|
||||
children,
|
||||
}: {
|
||||
children: React.ReactNode
|
||||
}) {
|
||||
return children
|
||||
}
|
||||
Reference in New Issue
Block a user