-
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(homepage-legacy): deprecation banner
- Loading branch information
1 parent
0a6a8bd
commit 156b3b0
Showing
6 changed files
with
107 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
41 changes: 41 additions & 0 deletions
41
apps/homepage-legacy/src/components/DeprecationBanner.module.css
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,41 @@ | ||
.banner__wrapper { | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.banner { | ||
background-color: #E36F2C; | ||
border-radius: 28px; | ||
font-size: 28px; | ||
padding: 8px; | ||
position: relative; | ||
margin-bottom: 20px; | ||
} | ||
|
||
.banner h3 { | ||
margin: 0; | ||
} | ||
|
||
.banner a { | ||
white-space: nowrap; | ||
} | ||
|
||
.banner a:after { | ||
position: absolute; | ||
content: ''; | ||
inset: 0; | ||
} | ||
|
||
.banner__inner { | ||
border-radius: 24px; | ||
border: 8px solid black; | ||
padding: 8px 16px 16px; | ||
text-align: center; | ||
} | ||
|
||
.icon_container { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
gap: 20px; | ||
} |
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,36 @@ | ||
import style from "./DeprecationBanner.module.css"; | ||
|
||
export function DeprecationBanner() { | ||
return ( | ||
<div className={style.banner__wrapper}> | ||
<section className={style.banner}> | ||
<div className={style.banner__inner}> | ||
<div className={style.icon_container}> | ||
<img alt="bicycle" src="/bicycle.svg" height="80px" width="80px" /> | ||
<img | ||
alt="walking person" | ||
src="/walk.svg" | ||
height="60px" | ||
width="60px" | ||
/> | ||
</div> | ||
<h3>DETOUR</h3> | ||
<div> | ||
<img | ||
alt="detour-arrow" | ||
src="/detour-arrow.svg" | ||
height="40px" | ||
width="40px" | ||
/> | ||
</div> | ||
The site is deprecated. Please visit our new site at | ||
<div> | ||
<a href="https://simple-pie.netlify.app"> | ||
https://simple-pie.netlify.app | ||
</a> | ||
</div> | ||
</div> | ||
</section> | ||
</div> | ||
); | ||
} |