flashbots / flashbots-docs

Home Page:https://docs.flashbots.net

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fancy Banners Project - Docs

gkoscky opened this issue · comments

Create a new Banner component for the Documentation page to allow for promotional banners to be created and enabled by just setting a few parameters, rather than requiring dev work.

These are the available parameters expected for an MVP:

  • Markup: HTML for the banner content, containing the copy, basic formatting, and links.
  • Background Color: Solid, single color for the background
  • Text Color: Single color for all the copy
  • Start date: Date and time (UTC) for when the banner should go live
  • End date: Date and time (UTC) for when the banner should be disabled
  • Custom CSS: Special flag to indicate the basic colors should not apply and the styling will be achieved through banner-specific CSS; This should allow for more complex banners while still cutting down on development time