Skip to content

merge develop -> main#754

Merged
mluena merged 3 commits into
mainfrom
develop
Oct 29, 2025
Merged

merge develop -> main#754
mluena merged 3 commits into
mainfrom
develop

Conversation

@mluena

@mluena mluena commented Oct 29, 2025

Copy link
Copy Markdown
Collaborator

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

  • Added a new Banner component (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]
  • Integrated the Banner component 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

  • Created dedicated styles for the banner, including positioning, colors, typography, and action buttons (src/components/banner/styles.module.scss).
  • Updated src/app-styles.module.scss to add a .content class for proper stacking and layout of the banner and main content.

Font Improvements

  • Added the Inter font to the app and defined $font-family-inter in 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.

@vercel

vercel Bot commented Oct 29, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
half-earth Ready Ready Preview Comment Oct 29, 2025 5:29am

@mluena mluena merged commit 950303c into main Oct 29, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants