Conversation
banner-external-links
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
cmanciero
approved these changes
Oct 29, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces a new dismissible banner component to the application, which highlights the latest Species Protection Index 2025 Report and provides a link to view the story. The banner is styled, animated, and includes localStorage-based dismissal logic. Additionally, some layout and style improvements are made to support the banner and enhance font usage across the app.
New Banner Feature
Bannercomponent (src/components/banner/component.tsx,src/components/banner/index.ts) that displays a promotional message and link, with animated appearance/disappearance and localStorage-based dismissal for 30 days. [1] [2]Bannercomponent into the main app layout (src/app.jsx), ensuring it appears above the main content and can be dismissed by the user. [1] [2]Styling and Layout Enhancements
src/components/banner/styles.module.scss).src/app-styles.module.scssto add a.contentclass for proper stacking and layout of the banner and main content.Font Improvements
$font-family-interin global settings for consistent usage, including banner and button styles (src/styles/base.scss,src/styles/settings.scss). [1] [2]Other minor changes include slight layout tweaks in landing and data globe components to ensure the logo and content remain correctly positioned with the new banner.