docs: add docs nav links (#3594)

This commit is contained in:
Jeff Merrick 2021-11-17 18:51:56 -06:00 committed by GitHub
parent a9754ebe83
commit ad340be327
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 47 additions and 8 deletions

View File

@ -57,6 +57,21 @@ module.exports = {
label: "Demo", label: "Demo",
position: "right", position: "right",
}, },
{
href: "https://blog.datahubproject.io/",
label: "Blog",
position: "right",
},
{
href: "https://feature-requests.datahubproject.io/",
label: "Feature Requests",
position: "right",
},
{
href: "https://feature-requests.datahubproject.io/roadmap",
label: "Roadmap",
position: "right",
},
{ {
href: "https://slack.datahubproject.io", href: "https://slack.datahubproject.io",
"aria-label": "Slack", "aria-label": "Slack",
@ -69,12 +84,7 @@ module.exports = {
position: "right", position: "right",
className: "item__icon item__github", className: "item__icon item__github",
}, },
{
href: "https://medium.com/datahub-project",
"aria-label": "Blog",
position: "right",
className: "item__icon item__medium",
},
{ {
href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w", href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w",
"aria-label": "YouTube", "aria-label": "YouTube",
@ -118,6 +128,10 @@ module.exports = {
label: "YouTube", label: "YouTube",
href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w", href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w",
}, },
{
label: "Blog",
href: "https://blog.datahubproject.io/",
},
{ {
label: "Town Halls", label: "Town Halls",
to: "docs/townhalls", to: "docs/townhalls",
@ -137,7 +151,7 @@ module.exports = {
}, },
{ {
label: "Roadmap", label: "Roadmap",
to: "docs/roadmap", href: "https://feature-requests.datahubproject.io/roadmap",
}, },
{ {
label: "Contributing", label: "Contributing",
@ -147,6 +161,10 @@ module.exports = {
label: "GitHub", label: "GitHub",
href: "https://github.com/linkedin/datahub", href: "https://github.com/linkedin/datahub",
}, },
{
label: "Feature Requests",
href: "https://feature-requests.datahubproject.io/",
},
], ],
}, },
], ],

View File

@ -11,10 +11,18 @@ function Managed() {
style={{ padding: "5vh 2rem", justifyContent: "center" }} style={{ padding: "5vh 2rem", justifyContent: "center" }}
> >
<div className="col col--6"> <div className="col col--6">
<div
style={{
background: "white",
padding: "2rem",
borderRadius: "10px",
}}
>
<HubspotForm formId="ae8c7cd1-1db3-4483-b1db-b169813b9129" /> <HubspotForm formId="ae8c7cd1-1db3-4483-b1db-b169813b9129" />
</div> </div>
</div> </div>
</div> </div>
</div>
</Layout> </Layout>
); );
} }

View File

@ -28,6 +28,7 @@
/* Navbar */ /* Navbar */
--ifm-navbar-height: 70px; --ifm-navbar-height: 70px;
--ifm-navbar-item-padding-horizontal: 1rem;
/* Announcement Bar */ /* Announcement Bar */
--docusaurus-announcement-bar-height: 60px !important; --docusaurus-announcement-bar-height: 60px !important;
@ -94,11 +95,23 @@ div[class^="announcementBarContent"] {
} }
} }
@media only screen and (max-width: 1050px) {
.navbar__toggle {
display: inherit;
}
.navbar__item {
display: none;
}
}
.navbar { .navbar {
.navbar__logo { .navbar__logo {
height: 3rem; height: 3rem;
} }
.navbar__item { .navbar__item {
svg[class*="iconExternalLink"] {
display: none;
}
&.item__icon { &.item__icon {
height: 34px; height: 34px;
width: 46px; width: 46px;