Skip to content

Commit

Permalink
chore: fix color of server-side download button
Browse files Browse the repository at this point in the history
The download button on the front page of the website is generated
client-side, and has a fallback in case we can't detect the user's
browser.

Before any of this happens, docusaurus generates the button on the
server-side, which is essentially a fallback that should never be
seen. This button is the last thing in our codebase using indigo
(blue) and is missing the mt-6 mb-1 spacing from the client-side
version.

This change just fixes the color and mt/mb so that the button is
identical to the client-side one on line 72. (matches current
style)

Signed-off-by: Tim deBoer <[email protected]>
  • Loading branch information
deboer-tim committed Feb 1, 2024
1 parent 47f6799 commit 4772075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function DownloadGenericLinks() {
return (
<div className="flex justify-center">
<Link
className="no-underline hover:no-underline inline-flex text-white hover:text-white bg-indigo-500 border-0 py-2 px-6 focus:outline-none hover:bg-indigo-600 rounded text-lg"
className="no-underline hover:no-underline inline-flex text-white hover:text-white bg-purple-500 border-0 py-2 px-6 mt-6 mb-1 focus:outline-none hover:bg-purple-600 rounded text-lg"
to="/downloads">
Download Page
</Link>
Expand Down

0 comments on commit 4772075

Please sign in to comment.