add layout links
This commit is contained in:
parent
4a5e2e4445
commit
408fbad5fd
|
@ -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>
|
||||||
|
{children}
|
||||||
</div>
|
</div>
|
||||||
{children}
|
|
||||||
|
|
||||||
<Toaster />
|
<Toaster />
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html >
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue