fix styling move navbar from root & fix bugs

This commit is contained in:
fgrreloaded
2025-02-17 22:47:45 +05:30
parent 3edd3def2c
commit 6d03d6b97e
6 changed files with 13 additions and 19 deletions

View File

@@ -2,6 +2,7 @@ import { baseOptions } from "@/app/layout.config";
import { HomeLayout } from "fumadocs-ui/layouts/home";
import type { Metadata } from "next";
import type { ReactNode } from "react";
import Navbar from "./_components/Navbar";
export const metadata: Metadata = {
title: "Better-T-Stack",
@@ -9,5 +10,10 @@ export const metadata: Metadata = {
};
export default function Layout({ children }: { children: ReactNode }) {
return <HomeLayout {...baseOptions}>{children}</HomeLayout>;
return (
<HomeLayout {...baseOptions}>
<Navbar />
{children}
</HomeLayout>
);
}