Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

pwizla
Copy link
Collaborator

@pwizla pwizla commented Oct 14, 2025

This PR is a variation of #2748 and adds a news ticker that sits at the top of the homepage, just below the top navigation bar.

The code consists in a new <NewsTicker /> component that can display several pieces of information. Each piece of information, configured in the newsTicker array of the _home.content.js file, includes an icon, a text, and a link.

The NewsTicker component display this information with the following characteristics:

  • The ticker changes every 5 seconds (configurable through the interval property) and display another information with a sliding animation
  • On hover, the information is highlighted using the main link color for the current mode (strapi-primary-600 for light mode and strapi-secondary-500 for dark mode)
  • The ticker is paused while an item is hovered
  • The ticker is responsive and should display nicely on mobile devices (breaking point: 996px)

While the default announcementBar from Docusaurus (purple banner above the top navigation bar) is disabled in the code of the present PR, we can still display it, as shown at the beginning of the following video demo:

news-ticker-demo.mov

Direct preview link 👉 here

@pwizla pwizla self-assigned this Oct 14, 2025
@pwizla pwizla added source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo pr: new content PRs for new product features or new documentation sections gemini PR generated with the help of Google Gemini labels Oct 14, 2025
Copy link

vercel bot commented Oct 14, 2025

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

Project Deployment Preview Comments Updated (UTC)
documentation Ready Ready Preview Comment Oct 14, 2025 2:33pm

@pwizla pwizla added this to the 6.10.0 milestone Oct 14, 2025
@github-actions github-actions bot added the internal PRs created by the Strapi core team label Oct 14, 2025
@pwizla pwizla added the flag: don't merge This PR should not be merged at the moment label Oct 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

flag: don't merge This PR should not be merged at the moment gemini PR generated with the help of Google Gemini internal PRs created by the Strapi core team pr: new content PRs for new product features or new documentation sections source: repo PRs/issues not targeting a specific documentation but rather affecting the whole repo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Morty Proxy This is a proxified and sanitized view of the page, visit original site.