피드백 등록 및 리스트업.
This commit is contained in:
18
viewer/src/components/MainLayout.tsx
Normal file
18
viewer/src/components/MainLayout.tsx
Normal file
@@ -0,0 +1,18 @@
|
||||
// src/components/MainLayout.tsx
|
||||
import { Link, Outlet, useParams } from "react-router-dom";
|
||||
import { Button } from "@/components/ui/button";
|
||||
|
||||
export function MainLayout() {
|
||||
const { projectId, channelId } = useParams();
|
||||
|
||||
return (
|
||||
<div className="container mx-auto p-4 md:p-8">
|
||||
<header className="mb-8 flex justify-between items-center">
|
||||
<h1 className="text-3xl font-bold tracking-tight">피드백 뷰어</h1>
|
||||
</header>
|
||||
<main>
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user