add layout links
This commit is contained in:
parent
fdf05f2b4c
commit
6ceb035b19
|
@ -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 >
|
||||
|
|
Loading…
Reference in New Issue