forked from Team-inglo/Giggle-Web
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨feat: 고용주 메인 페이지 구현하기 및 메인 페이지에서 페이지 이동들 연결하기 Team-inglo#61
- Loading branch information
Showing
26 changed files
with
472 additions
and
41 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 |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { api } from '.'; | ||
|
||
// 10.1 (유학생/고용주) 알림 조회 | ||
export const getAlarms = async (page: number, size: number) => { | ||
const response = await api.get( | ||
`/notifications/overviews?page=${page}&size=${size}`, | ||
); | ||
return response.data; | ||
}; |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
import PlusIcon from '@/assets/icons/PlusIcon.svg?react'; | ||
import { useNavigate } from 'react-router-dom'; | ||
|
||
const HomeEmployerBanner = () => { | ||
const navigate = useNavigate(); | ||
return ( | ||
<section className="w-full px-[1.5rem] pb-[2.75rem] bg-[#FEF387]"> | ||
<div className="flex flex-col justify-center items-center gap-[0.5rem] p-[1.5rem] rounded-[1.5rem] bg-cover bg-center bg-[url('/src/assets/images/yellowGradient.png')]"> | ||
<h3 className="head-3 text-[#1E1926] text-center"> | ||
Register your | ||
<br /> | ||
new announcement | ||
</h3> | ||
{/* TODO: 공고 작성 페이지로 이동 필요 */} | ||
<button | ||
className="px-[1.5rem] py-[0.5rem] rounded-[1.313rem] bg-[#1B1B1B]" | ||
onClick={() => navigate(`/employer/post`)} | ||
> | ||
<PlusIcon /> | ||
</button> | ||
</div> | ||
</section> | ||
); | ||
}; | ||
|
||
export default HomeEmployerBanner; |
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
Oops, something went wrong.