Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: overhaul navbar titles & add slack logo and button #11067

Draft
wants to merge 46 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
fed9261
feat: overhaul navbar titles & add slack logo and button
yoonhyejin Aug 1, 2024
fd5eab8
fix: [wip] create second navbar
yoonhyejin Aug 2, 2024
4028788
fix: Remove light/dark mode
yoonhyejin Aug 7, 2024
c9f9cf4
feat: add core/cloud switch
yoonhyejin Aug 7, 2024
7c89433
feat: add searchbar & colortheme switch on the second navbar
yoonhyejin Aug 7, 2024
d253d24
fix: add version dropdown
yoonhyejin Aug 7, 2024
b12d5d3
feat: hide global searchbar
yoonhyejin Aug 7, 2024
c61c0b7
fix: make the second navbar search visible
yoonhyejin Aug 7, 2024
c82bda9
fix: fix css
yoonhyejin Aug 7, 2024
5c7d71a
fix: fix design
yoonhyejin Aug 7, 2024
db55bd6
fix: fix positions
yoonhyejin Aug 7, 2024
f11fe79
Merge branch 'master' into docs/navbar-overhaul
yoonhyejin Aug 7, 2024
f39933a
feat: split sidebar
yoonhyejin Aug 7, 2024
bb47195
fix: hide product tab
yoonhyejin Aug 7, 2024
dea7318
fix: [wip] switch sidebar based on the sidebar id
yoonhyejin Aug 7, 2024
3748196
fix: use docssidebarprovider
yoonhyejin Aug 8, 2024
1becf9b
fix: duplicate shared contents in managed-datahub
yoonhyejin Aug 13, 2024
0f6da74
fix: Remove imports
yoonhyejin Aug 15, 2024
5d82a4c
Merge branch 'master' into docs/navbar-overhaul
yoonhyejin Aug 16, 2024
e2a480f
fix: remove everything except title
yoonhyejin Aug 16, 2024
80945d4
fix: revert back temp changes
yoonhyejin Aug 16, 2024
933ceab
fix: revert temp changes
yoonhyejin Aug 16, 2024
a56e636
fix: revert docgen changes
yoonhyejin Aug 16, 2024
44fe432
fix: revert changes
yoonhyejin Aug 16, 2024
9f6d6fa
fix: fix import path
yoonhyejin Aug 16, 2024
84e49cb
fix: change path for managed-datahub/
yoonhyejin Aug 16, 2024
832af28
feat: updating community section
yoonhyejin Aug 16, 2024
508db03
fix: update feature & admin section
yoonhyejin Aug 16, 2024
4515528
feat: update develoers section
yoonhyejin Aug 16, 2024
ca5a9e9
fix: update integration section
yoonhyejin Aug 19, 2024
772ffee
feat: updatae api section
yoonhyejin Aug 19, 2024
1941940
fix: fix typo
yoonhyejin Aug 19, 2024
18ca52e
fix: fix linting on sidebar
yoonhyejin Aug 19, 2024
0d04acf
fix: update sink_docs
yoonhyejin Aug 19, 2024
fc191c9
fix: Fix typo
yoonhyejin Aug 19, 2024
3a276eb
fix: [wip] generate manage-datahub gendocs
yoonhyejin Aug 22, 2024
7734820
feat: [wip] generate managed-datahub gendoc
yoonhyejin Aug 22, 2024
b5a050e
fix: handle generated dir
yoonhyejin Aug 30, 2024
a30c2cc
fix: modify generation logic
yoonhyejin Sep 3, 2024
9d51729
fix: fix indentation
yoonhyejin Sep 3, 2024
a0aae70
fix: fix lint
yoonhyejin Sep 3, 2024
31f9782
fix: revert relative links
yoonhyejin Sep 4, 2024
6c20224
fix: fix broken links
yoonhyejin Sep 5, 2024
d0e3e0d
fix broken links
yoonhyejin Sep 5, 2024
44825bd
revert temp changes
yoonhyejin Sep 5, 2024
acf8abc
fix broken links
yoonhyejin Sep 5, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
166 changes: 61 additions & 105 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,10 @@ module.exports = {
},

themeConfig: {
...(!isSaas && {
announcementBar: {
id: "announcement",
content:
'<div><img src="/img/acryl-logo-white-mark.svg" /><p><strong>DataHub Cloud</strong><span> &nbsp;Acryl Data delivers an easy to consume DataHub platform for the enterprise</span></p></div> <a href="https://www.acryldata.io/datahub-sign-up?utm_source=datahub&utm_medium=referral&utm_campaign=acryl_signup" target="_blank" class="button button--primary">Sign Up for DataHub Cloud&nbsp;→</a>',
backgroundColor: "#070707",
textColor: "#ffffff",
isCloseable: false,
},
}),
colorMode: {
disableSwitch: true,
defaultMode: 'light',
},
navbar: {
title: null,
logo: {
Expand All @@ -70,28 +64,54 @@ module.exports = {
srcDark: `img/${isSaas ? "acryl" : "datahub"}-logo-color-dark-horizontal.svg`,
},
items: [
// {
// type: "dropdown",
// label: "Product",
// position: "right",
// items: [
// {
// href: "/",
// label: "DataHub Core",
// },
// {
// to: "/cloud",
// label: "DataHub Cloud",
// },
// ],
// },
{
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "right",
},
{
to: "/cloud",
activeBasePath: "cloud",
label: "Cloud",
to: "/integrations",
activeBasePath: "integrations",
label: "Integrations",
position: "right",
},
{
to: "/learn",
activeBasePath: "learn",
type: "dropdown",
label: "Learn",
position: "right",
items: [
{
to: "/learn",
label: "Use Cases",
},
{
to: "/adoption-stories",
label: "Adoption Stories",
},
{
href: "https://blog.datahubproject.io/",
label: "Blog",
},
{
href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w",
label: "YouTube",
},
]
},
{
to: "/integrations",
activeBasePath: "integrations",
label: "Integrations",
to: "docs/",
activeBasePath: "docs",
label: "Docs",
position: "right",
},
{
Expand All @@ -101,19 +121,19 @@ module.exports = {
items: [
{
to: "/slack",
label: "Join Slack",
label: "DataHub Slack",
},
{
href: "https://forum.datahubproject.io/",
label: "Community Forum",
label: "DataHub Discourse",
},
{
to: "/events",
label: "Events",
label: "Upcoming Events",
},
{
to: "/champions",
label: "Champions",
label: "DataHub Champions",
},
{
label: "Share Your Journey",
Expand All @@ -122,86 +142,21 @@ module.exports = {
],
},
{
type: "dropdown",
label: "Resources",
href: "/slack",
html: `
<style>
.slack-logo:hover {
opacity: 0.8;
}
</style>
<img class='slack-logo' src='https://upload.wikimedia.org/wikipedia/commons/d/d5/Slack_icon_2019.svg', alt='slack', height='20px' style='margin: 10px 0 0 0;'/>
`,
position: "right",
items: [
{
href: "https://demo.datahubproject.io/",
label: "Demo",
},
{
href: "https://blog.datahubproject.io/",
label: "Blog",
},
{
href: "https://feature-requests.datahubproject.io/roadmap",
label: "Roadmap",
},
{
href: "https://github.com/datahub-project/datahub",
label: "GitHub",
},
{
href: "https://www.youtube.com/channel/UC3qFQC5IiwR5fvWEqi_tJ5w",
label: "YouTube",
},
{
href: "/adoption-stories",
label: "Adoption Stories",
},
{
href: "https://www.youtube.com/playlist?list=PLdCtLs64vZvErAXMiqUYH9e63wyDaMBgg",
label: "DataHub Basics",
},
],
},
{
type: "docsVersionDropdown",
position: "left",
dropdownActiveClassDisabled: true,
dropdownItemsAfter: [
{
type: 'html',
value: '<hr class="dropdown-separator" style="margin: 0.4rem;">',
},
{
type: 'html',
value: '<div class="dropdown__link"><b>Archived versions</b></div>',
},
{
value: `
<a class="dropdown__link" href="https://docs-website-lzxh86531-acryldata.vercel.app/docs/features">0.13.0
<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>
</a>
`,
type: "html",
},
{
value: `
<a class="dropdown__link" href="https://docs-website-2uuxmgza2-acryldata.vercel.app/docs/features">0.12.1
<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>
</a>
`,
type: "html",
},
{
value: `
<a class="dropdown__link" href="https://docs-website-irpoe2osc-acryldata.vercel.app/docs/features">0.11.0
<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>
</a>
`,
type: "html",
},
{
value: `
<a class="dropdown__link" href="https://docs-website-1gv2yzn9d-acryldata.vercel.app/docs/features">0.10.5
<svg width="12" height="12" aria-hidden="true" viewBox="0 0 24 24"><path fill="currentColor" d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"></path></svg>
</a>
`,
type: "html",
},
],
href: "/cloud",
html: "<div class='button button--primary button--md'>Try DataHub Cloud Free</div>",
position: "right",
},
],
},
Expand Down Expand Up @@ -326,6 +281,7 @@ module.exports = {
require.resolve("./src/styles/global.scss"),
require.resolve("./src/styles/sphinx.scss"),
require.resolve("./src/styles/config-table.scss"),
require.resolve("./src/components/SecondNavbar/styles.module.scss"),
],
},
pages: {
Expand Down
Loading
Loading