Skip to content

Commit 5392a4a

Browse files
authored
chore: update link (#154)
1 parent ad3dc9d commit 5392a4a

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

docusaurus.config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const config = {
177177

178178
announcementBar: {
179179
id: "announcementBar-2", // Increment on change
180-
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>`,
180+
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>`,
181181
},
182182
customFields: {
183183
customFooter: "src/theme/Footer/index.tsx",

src/css/custom.scss

+11
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,17 @@ div[class^="announcementBar_"] {
169169
var(--ifm-primary-hue-saturation) 95%
170170
);
171171

172+
.nightly-text {
173+
padding: 2px 6px;
174+
border-radius: 6px;
175+
background: #c44cac;
176+
// -webkit-background-clip: text;
177+
// background-clip: text;
178+
// -webkit-text-fill-color: transparent;
179+
font-weight: bold;
180+
transition: all 0.3s ease;
181+
}
182+
172183
background: linear-gradient(
173184
45deg,
174185
#711a5f,

0 commit comments

Comments
 (0)