-
Notifications
You must be signed in to change notification settings - Fork 4
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
6 changed files
with
100 additions
and
46 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
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,7 +1,13 @@ | ||
import { SseAlarm } from '@typings/types'; | ||
import { AiFillNotification } from 'react-icons/ai'; | ||
|
||
const NotiContainer = ({ message }: { message: SseAlarm }) => { | ||
return <div className='h-[50px] w-custom bg-primary'>{message.content}</div>; | ||
return ( | ||
<div className='fixed top-8 z-[2000] flex h-[70px] w-custom items-center justify-start gap-3 rounded-lg bg-white px-4 py-2 text-base text-black shadow-custom'> | ||
<AiFillNotification className='size-5 text-primary' /> | ||
{message.content} | ||
</div> | ||
); | ||
}; | ||
|
||
export default NotiContainer; |
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,7 +1,13 @@ | ||
import { SseAlarm } from '@typings/types'; | ||
import { AiFillNotification } from 'react-icons/ai'; | ||
|
||
const NotiContainer = ({ message }: { message: SseAlarm }) => { | ||
return <div className='h-[50px] w-custom bg-primary'>{message.content}</div>; | ||
return ( | ||
<div className='fixed top-8 z-[2000] flex h-[70px] w-custom items-center justify-start gap-3 rounded-lg bg-white px-4 py-2 text-base text-black shadow-custom'> | ||
<AiFillNotification className='size-5 text-primary' /> | ||
{message.content} | ||
</div> | ||
); | ||
}; | ||
|
||
export default NotiContainer; |
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