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