Skip to content

Commit

Permalink
feat: add deprecation banner
Browse files Browse the repository at this point in the history
  • Loading branch information
3bobchen committed Feb 15, 2025
1 parent 76402ab commit 4935556
Showing 1 changed file with 27 additions and 4 deletions.
31 changes: 27 additions & 4 deletions frontend/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,30 @@ const HomePage = () => {

return (
<div className="text-center">
<RecruitmentModal open={openModal} onClose={() => setOpenModal(false)} />
<RecruitmentModal open={openModal} onClose={() => setOpenModal(false)}/>
<div
style={{
position: 'absolute',
top: 0,
width: '100%',
display: 'flex',
justifyContent: 'center',
padding: '1rem 2rem',
background: '#F76B15',
zIndex: 101
}}
>
<span>
⚠ Jobsboard has been retired and is no longer being maintained. Advertisers can{' '}
<a
style={{fontWeight: '600', textDecoration: 'underline'}}
href="https://devsoc.app/about-us"
>
contact DevSoc ⎋
</a>{' '}
for alternative ways to reach students.
</span>
</div>
<Header
style={{
background: 'transparent',
Expand Down Expand Up @@ -98,7 +121,7 @@ const HomePage = () => {
</Link>
</div>
</div>
<Image alt="Jobsboard" width={200} src={JobsboardLogo} className="sm:hidden" />
<Image alt="Jobsboard" width={200} src={JobsboardLogo} className="sm:hidden"/>
</div>
</div>
<div className={container.pageContainer}>
Expand All @@ -111,7 +134,7 @@ const HomePage = () => {
We aim to give you a pleasant student working experience by partnering up with only the
best.
</p>
<SponsorCarousel />
<SponsorCarousel/>
<h3 className="font-bold text-3xl mb-0 text-jb-headings dark:text-jb-dark-headings">
Discover Featured Student Jobs and Internships
</h3>
Expand Down Expand Up @@ -168,7 +191,7 @@ const HomePage = () => {
))}
</Swiper>
) : (
<div className="mb-28" />
<div className="mb-28"/>
)}
<h3 className="font-bold text-3xl mb-0 text-jb-headings dark:text-jb-dark-headings">
Want to Post a Job?
Expand Down

0 comments on commit 4935556

Please sign in to comment.