Posts

This commit is contained in:
2024-02-02 23:42:42 +08:00
parent 19e1775476
commit 89521c15af
20 changed files with 426 additions and 62 deletions

View File

@@ -40,7 +40,7 @@ export default function RootLayout(props: any) {
</div>
}>
<Navbar />
<main class="h-[calc(100vh-68px)] mt-[68px]">{props.children}</main>
<main class="h-[calc(100vh-64px)] mt-[64px]">{props.children}</main>
</Show>
);
}

View File

@@ -11,13 +11,7 @@ interface MenuItem {
export default function Navbar() {
const nav: MenuItem[] = [
{
label: "You", children: [
{ label: "Dashboard", href: "/" },
{ label: "Security", href: "/security" },
{ label: "Personalise", href: "/personalise" }
]
}
{ label: "Feed", href: "/" }
];
const wellKnown = useWellKnown();