Skip to content

Commit

Permalink
chore: update link (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost authored Nov 5, 2024
1 parent ad3dc9d commit 5392a4a
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ const config = {

announcementBar: {
id: "announcementBar-2", // Increment on change
content: `🎉 Farm will continue to release nightly versions. Please check out for details <a target="_blank" rel="noopener noreferrer" href="https://farm-neightly.netlify.app/">Farm Nightly</a>`,
content: `🎉 Farm will continue to release nightly versions. Please check out for details <a target="_blank" rel="noopener noreferrer" href="https://farm-nightly.netlify.app/" class="nightly-text">Farm Nightly</a>`,
},
customFields: {
customFooter: "src/theme/Footer/index.tsx",
Expand Down
11 changes: 11 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,17 @@ div[class^="announcementBar_"] {
var(--ifm-primary-hue-saturation) 95%
);

.nightly-text {
padding: 2px 6px;
border-radius: 6px;
background: #c44cac;
// -webkit-background-clip: text;
// background-clip: text;
// -webkit-text-fill-color: transparent;
font-weight: bold;
transition: all 0.3s ease;
}

background: linear-gradient(
45deg,
#711a5f,
Expand Down

0 comments on commit 5392a4a

Please sign in to comment.