-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
111 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,24 @@ | ||
import { UserContextProvider } from '@/app/_components/providers/UserProvider' | ||
|
||
import BackButton from './_components/BackButton' | ||
import RequestAlarm from './_components/requestAlarm' | ||
|
||
export default function AlarmPage() { | ||
return ( | ||
<main className='flex flex-col gap-3'> | ||
<header className='flex items-center justify-between px-3 py-1'> | ||
<BackButton /> | ||
<h1 className='text-2xl'>알림</h1> | ||
<div className='w-9' /> | ||
</header> | ||
<UserContextProvider> | ||
<main className='flex flex-col gap-3'> | ||
<header className='flex items-center justify-between px-3 py-1'> | ||
<BackButton /> | ||
<h1 className='text-2xl'>알림</h1> | ||
<div className='w-9' /> | ||
</header> | ||
|
||
<div className='flex flex-col gap-3 px-4 pb-6'> | ||
<RequestAlarm /> | ||
<RequestAlarm /> | ||
<RequestAlarm /> | ||
</div> | ||
</main> | ||
<div className='flex flex-col gap-3 px-4 pb-6'> | ||
<RequestAlarm /> | ||
<RequestAlarm /> | ||
<RequestAlarm /> | ||
</div> | ||
</main> | ||
</UserContextProvider> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,23 @@ | ||
'use client' | ||
|
||
import { UserContextProvider } from '@/app/_components/providers/UserProvider' | ||
import Header from '@/app/_components/shared/header' | ||
|
||
export default function layout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<main className='h-full pt-20'> | ||
<Header className='bg-dodal-main'> | ||
<div className='w-9' /> | ||
<Header.Title>초대장 도착</Header.Title> | ||
<Header.Close | ||
onClick={() => { | ||
window.close() | ||
}} | ||
/> | ||
</Header> | ||
{children} | ||
</main> | ||
<UserContextProvider> | ||
<main className='h-full pt-20'> | ||
<Header className='bg-dodal-main'> | ||
<div className='w-9' /> | ||
<Header.Title>초대장 도착</Header.Title> | ||
<Header.Close | ||
onClick={() => { | ||
window.close() | ||
}} | ||
/> | ||
</Header> | ||
{children} | ||
</main> | ||
</UserContextProvider> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
import { UserContextProvider } from '@/app/_components/providers/UserProvider' | ||
import BottomNavigation from '@/app/_components/shared/bottom-navigation' | ||
import Header from '@/app/_components/shared/header' | ||
|
||
export default function Layout({ children }: { children: React.ReactNode }) { | ||
return ( | ||
<main className='h-full'> | ||
<Header> | ||
<div /> | ||
<Header.Title>MY</Header.Title> | ||
<div /> | ||
</Header> | ||
{children} | ||
<BottomNavigation selected='me' /> | ||
</main> | ||
<UserContextProvider> | ||
<main className='h-full'> | ||
<Header> | ||
<div /> | ||
<Header.Title>MY</Header.Title> | ||
<div /> | ||
</Header> | ||
{children} | ||
<BottomNavigation selected='me' /> | ||
</main> | ||
</UserContextProvider> | ||
) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters