adds about and privacy pages

This commit is contained in:
Sara
2023-09-25 18:15:40 +02:00
parent 902bc6c7cc
commit e94c0b5da1
8 changed files with 251 additions and 44 deletions

View File

@@ -7,6 +7,8 @@ import { ErrorProvider } from "./(errors)/errorContext";
import ErrorMessage from "./(errors)/errorMessage";
import Image from "next/image";
import Link from "next/link";
import About from "./about";
import Privacy from "./privacy";
const poppins = Poppins({ subsets: ["latin"], weight: ["200", "400", "600"] });
@@ -59,7 +61,7 @@ export const metadata: Metadata = {
export default function RootLayout({ children }) {
return (
<html lang="en">
<body className={poppins.className + " h-screen"}>
<body className={poppins.className + " h-screen relative"}>
<FiefWrapper>
<ErrorProvider>
<ErrorMessage />
@@ -87,8 +89,12 @@ export default function RootLayout({ children }) {
</p>
</div>
</Link>
{/* Text link on the right */}
<UserInfo />
<div>
{/* Text link on the right */}
<About buttonText="About" />
&nbsp;·&nbsp;
<Privacy buttonText="Privacy" />
</div>
</header>
{children}