add layout links

This commit is contained in:
andrzej 2024-06-19 23:21:56 +02:00
parent fdf05f2b4c
commit 6ceb035b19
1 changed files with 8 additions and 5 deletions

View File

@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Inter } from "next/font/google"; import { Inter } from "next/font/google";
import { Toaster } from "@/components/ui/toaster"; import { Toaster } from "@/components/ui/toaster";
import "./tailwind.css"; import "./tailwind.css";
import Link from "next/link";
const inter = Inter({ subsets: ["latin"] }); const inter = Inter({ subsets: ["latin"] });
@ -18,13 +19,15 @@ export default function RootLayout({
return ( return (
<html lang="en"> <html lang="en">
<body className={inter.className}> <body className={inter.className}>
<div id="sidebar"> <div id="layout-container" className="flex">
SIDEBAR <div id="sidebar" >
<Link href="/story/create"><h1>Create Story</h1></Link>
<Link href="/publication/create"><h1>Create Publication</h1></Link>
</div> </div>
{children} {children}
</div>
<Toaster /> <Toaster />
</body> </body>
</html> </html >
); );
} }