Files
AnimeTV-Frontend/app/(main)/layout.tsx
Rafi Arrafif 34b4ec6232 🚚 mv: change layout folder structure
Separate the navbar from the root layout, keeping the root layout clean. Create two child layout folders:
1. main: for basic layouts such as the navbar
2. clean: for clean layouts without any extra elements.
2026-01-08 15:03:07 +07:00

14 lines
334 B
TypeScript

import Navbar from "@/shared/widgets/navbar/components/Navbar";
import React from "react";
const layout = ({ children }: Readonly<{ children: React.ReactNode }>) => {
return (
<div className="max-w-400 mx-auto relative">
<Navbar />
<div className="pt-16">{children}</div>
</div>
);
};
export default layout;