14 lines
382 B
TypeScript
14 lines
382 B
TypeScript
// app/main/layout.tsx
|
|
import "../reuse.module.css";
|
|
import TopNav from "@/components/TopNav";
|
|
import { StoreProvider } from "../store";
|
|
|
|
export default function ReuseLandingLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<StoreProvider>
|
|
<TopNav />
|
|
<div className="pt-[83px]">{children}</div> {/* TopNav 높이만큼 */}
|
|
</StoreProvider>
|
|
);
|
|
}
|