|
| 1 | +import AppBar from '@/components/common/AppBar.tsx'; |
1 | 2 | import Calendar from '../components/common/Calendar.tsx';
|
2 | 3 | import CreateEventButton from '@/components/MyCalendar/CreateEventButton.tsx';
|
| 4 | +import HamburgerButton from '@/components/common/SideBar/HamburgerButton.tsx'; |
3 | 5 |
|
4 | 6 | const MyCalendarPage: React.FC = () => {
|
5 | 7 | return (
|
6 |
| - <div> |
7 |
| - <header className="relative z-10"> |
8 |
| - <div className="drawer"> |
9 |
| - <input id="my-drawer-3" type="checkbox" className="drawer-toggle" /> |
10 |
| - <div className="drawer-content flex flex-col"> |
11 |
| - {/* Navbar */} |
12 |
| - <div className="navbar w-full"> |
13 |
| - <div className="flex-none lg:hidden"> |
14 |
| - <label htmlFor="my-drawer-3" aria-label="open sidebar" className="btn btn-square btn-ghost"> |
15 |
| - <svg |
16 |
| - xmlns="http://www.w3.org/2000/svg" |
17 |
| - fill="none" |
18 |
| - viewBox="0 0 24 24" |
19 |
| - className="inline-block h-6 w-6 stroke-current" |
20 |
| - > |
21 |
| - <path |
22 |
| - strokeLinecap="round" |
23 |
| - strokeLinejoin="round" |
24 |
| - strokeWidth="2" |
25 |
| - d="M4 6h16M4 12h16M4 18h16" |
26 |
| - ></path> |
27 |
| - </svg> |
28 |
| - </label> |
29 |
| - </div> |
30 |
| - <div className="flex-1"> |
31 |
| - <h1 className="base-200 min-w-40 p-2 text-center">개인 일정 캘린더</h1> |
32 |
| - </div> |
33 |
| - </div> |
34 |
| - </div> |
35 |
| - <div className="drawer-side"> |
36 |
| - <label htmlFor="my-drawer-3" aria-label="close sidebar" className="drawer-overlay"></label> |
37 |
| - <ul className="menu min-h-full w-80 bg-base-200 p-4"> |
38 |
| - {/* Sidebar content here */} |
39 |
| - <li> |
40 |
| - <a>그룹 일정 캘린더 1</a> |
41 |
| - </li> |
42 |
| - <li> |
43 |
| - <a>그룹 일정 캘린더 2</a> |
44 |
| - </li> |
45 |
| - </ul> |
46 |
| - </div> |
47 |
| - </div> |
48 |
| - </header> |
| 8 | + <div className="lg:ml-80"> |
| 9 | + <AppBar backButton={false} IconButton={<HamburgerButton />} calendarName="내 캘린더" /> |
49 | 10 | <main className="z-1 relative flex-grow">
|
50 | 11 | <div className="mx-auto max-w-7xl px-4 sm:px-6 lg:px-8">
|
51 | 12 | <div className="rounded bg-white p-6 px-4 sm:px-0">
|
|
0 commit comments