feedback list 기능추가. 상단바 추가. 테마 적용 안됨.
This commit is contained in:
@@ -1,16 +1,12 @@
|
||||
// src/components/MainLayout.tsx
|
||||
import { Link, Outlet, useParams } from "react-router-dom";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import { Header } from "./Header";
|
||||
|
||||
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>
|
||||
<div className="flex flex-col min-h-screen">
|
||||
<Header />
|
||||
<main className="flex-1 p-6">
|
||||
<Outlet />
|
||||
</main>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user