feat(app): add rename notice banner

This commit is contained in:
rektdeckard
2025-05-17 16:50:25 -06:00
committed by Tobias Fried
parent ef83bdfb37
commit e90584e282
2 changed files with 10 additions and 9 deletions

View File

@@ -33,13 +33,13 @@
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
gap: 20px; gap: 20px;
max-width: 600px; max-width: 800px;
margin: auto; margin: auto;
padding: 12px 12px 12px 16px; padding: 12px 12px 12px 16px;
color: var(--moss); color: var(--moss);
background-color: var(--acid); background-color: var(--acid);
border: 1px solid var(--moss); border: 1px solid var(--moss);
border-radius: 32px; border-radius: 16px;
filter: drop-shadow(2px 2px 0 var(--moss-shadow)); filter: drop-shadow(2px 2px 0 var(--moss-shadow));
font-family: "IBM Plex Mono"; font-family: "IBM Plex Mono";
font-size: 14px; font-size: 14px;

View File

@@ -40,16 +40,15 @@ const Header = (_: HeaderProps) => {
return ( return (
<header> <header>
<Banner.Container> <Banner.Container>
<Banner id={"2.1.0"}> <Banner id={"rename-notice"}>
<div className="message"> <div className="message">
<MegaphoneSimpleIcon size={32} mirrored /> <MegaphoneSimpleIcon size={32} mirrored />
<small> <small>
Phosphor v2.1 is out, adding 268 new icons and some general Some packages may be renaming icons in coming versions, and deprecating older names. Existing names will continue to work, but we recommend upgrading at your convenience. See{" "}
revisions. Check our{" "} <a href="https://github.com/phosphor-icons/react/releases/tag/v2.1.8">
<a href="https://github.com/phosphor-icons/homepage/releases">
release notes release notes
</a>{" "} </a>{" "}
to see what's changed! for details.
</small> </small>
</div> </div>
</Banner> </Banner>
@@ -60,10 +59,12 @@ const Header = (_: HeaderProps) => {
We are now processing donations via{" "} We are now processing donations via{" "}
<a href="https://www.buymeacoffee.com/phosphoricons"> <a href="https://www.buymeacoffee.com/phosphoricons">
Buy Me a Coffee Buy Me a Coffee
</a>{" "} </a>{", "}
and{" "}
<a href="https://ko-fi.com/phosphoricons"> <a href="https://ko-fi.com/phosphoricons">
Ko-fi Ko-fi
</a>{", and "}
<a href="https://opencollective.com/phosphoricons">
Open Collective
</a> </a>
! Your one-time or recurring contribution does a lot to keep us ! Your one-time or recurring contribution does a lot to keep us
going. Please show us some support if you can! going. Please show us some support if you can!