Conversation
isstuev
approved these changes
Dec 17, 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.
Description and Related Issue(s)
Resolves #3157
This PR implements a highlights banners section on the home page that allows showcasing key Blockscout features and products. The feature supports displaying up to 3 banners at a time, with support for banner rotation and pinned banners that always remain visible.
Proposed Changes
Highlightscomponent that displays configurable banners on the home pageEnvironment Variables:
NEXT_PUBLIC_HOMEPAGE_HIGHLIGHTS_CONFIGto configure highlights banners via a JSON file URL. The config supports customizable banners with title, description, colors, backgrounds, side images, and link options. At least 2 banners are required in the config, with up to 3 visible at a time. Additional banners enable random rotation on page load.Breaking or Incompatible Changes
None. This is a new feature that is opt-in via the environment variable.
Additional Information
The highlights section is only displayed on desktop viewports. On mobile, the section is hidden to maintain a clean layout. The banners support both light and dark color modes with separate styling options for each mode.
Checklist for PR author