Closed gkoscky closed 1 year ago
@gkoscky is attempting to deploy a commit to the Flashbots Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
flashbots-writings-website | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Sep 15, 2023 5:46pm |
What
This PR adds a banner to the top of the homepage to promote the MEV Day event coming up in November. It makes use of Docusaurus'
announcementBar
component, which isn't ideal but sure is quick. Swizzling wasn't really working because we, ideally, would like the banner to be an entirely new component outside of the topbar navigation and there's nothing really we could "swizzle" to do that.The banner should be identical to the one scheduled to go live on the Flashbots homepage and Docs once we have an approved design. Instructions below on how to make the necessary changes once that happens.
How to make changes
The banner markup lives in
docusaurus.config.js
, within theannouncementBar.content
parameter:Make changes here to change the content, copy, etc.
The CSS for the banner is styled by new rules in
custom.scss
:You should hopefully only need to change things in the rules under this comment, but any other changes can be made to the rules already there.