Skip to content

Commit adebf08

Browse files
get started button
1 parent 0f06fa5 commit adebf08

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

docusaurus.config.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,10 @@ const config = {
7575
},
7676
{ to: '/blog', label: 'Blog', position: 'left' },
7777
{
78-
href: 'https://github.com/DefangLabs/',
79-
label: 'GitHub',
78+
href: '/docs/getting-started',
79+
label: 'Get Started',
8080
position: 'right',
81+
className: "navbar__item-get_started"
8182
},
8283
],
8384
},

src/css/custom.css

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
.docs-doc-id-ask h1 {
4242
display: none;
43-
}
43+
}
4444

4545
.docs-doc-id-ask .breadcrumbs {
4646
display: none;
@@ -80,8 +80,20 @@ a.MuiButtonBase-root:hover {
8080
}
8181

8282
/* Tentative change to address dark mode text on Samples page.
83-
To go further, consider looking at implementing MUI custom themes.
83+
To go further, consider looking at implementing MUI custom themes.
8484
*/
8585
.MuiTypography-root, .MuiFormLabel-root, .MuiInputBase-input {
8686
color: var(--ifm-font-color-base) !important;
87-
}
87+
}
88+
89+
.navbar__item-get_started {
90+
color: white;
91+
border-radius: 1rem;
92+
background-size: 200% 200%;
93+
background: linear-gradient(311deg,rgba(63,178,175,.67),rgba(80,54,163,.67) 53%);
94+
margin-right: 1rem;
95+
}
96+
97+
.navbar__item-get_started:hover {
98+
color: white;
99+
}

0 commit comments

Comments
 (0)