diff --git a/website/docusaurus.config.ts b/website/docusaurus.config.ts index 977fd93ef989..3315d1069cd7 100644 --- a/website/docusaurus.config.ts +++ b/website/docusaurus.config.ts @@ -52,7 +52,7 @@ const getUnleashRepoStars = async () => { const formattedStars = unleashRepoStars >= 1000 ? `${(unleashRepoStars / 1000).toFixed(1)}k` - : unleashRepoStars.toString(); + : unleashRepoStars?.toString() || ''; return formattedStars; }; @@ -215,39 +215,39 @@ class="header-github-link" items: [ { label: 'Node.js', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/node', }, { label: 'Java', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/java', }, { label: 'Go', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/go', }, { label: 'Rust', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/rust', }, { label: 'Ruby', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/ruby', }, { label: 'Python', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/python', }, { label: '.NET', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/dotnet', }, { label: 'PHP', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/php', }, { label: 'All SDKs', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks', }, ], }, @@ -256,31 +256,31 @@ class="header-github-link" items: [ { label: 'JavaScript', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/javascript-browser', }, { label: 'React', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/react', }, { label: 'Next.js', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/next-js', }, { label: 'Vue', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/vue', }, { label: 'iOS', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/ios-proxy', }, { label: 'Android', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/android-proxy', }, { label: 'Flutter', - href: 'https://github.com/Unleash/unleash', + to: '/reference/sdks/flutter', }, ], }, @@ -289,39 +289,39 @@ class="header-github-link" items: [ { label: 'Secure, scalable feature flags', - href: 'https://github.com/Unleash/unleash', + to: '/topics/feature-flags/feature-flag-best-practices', }, { label: 'Rollbacks', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/feature-flag-use-cases-rollbacks', }, { label: 'FedRAMP, SOC2, ISO2700 compliance', - href: 'https://github.com/Unleash/unleash', + to: '/using-unleash/compliance/compliance-overview', }, { label: 'Progressive or gradual rollouts', - href: 'https://github.com/Unleash/unleash', + to: '/feature-flag-tutorials/use-cases/gradual-rollout', }, { label: 'Trunk-based development', - href: 'https://github.com/Unleash/unleash', + to: '/feature-flag-tutorials/use-cases/trunk-based-development', }, { label: 'Software kill switches', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/feature-flag-use-cases-software-kill-switches', }, { label: 'A/B testing', - href: 'https://github.com/Unleash/unleash', + to: '/feature-flag-tutorials/use-cases/a-b-testing', }, { label: 'Feature management', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/blog/feature-management', }, { label: 'Canary releases', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/blog/canary-deployment-what-is-it', }, ], }, @@ -330,56 +330,52 @@ class="header-github-link" items: [ { label: 'Quickstart', - href: 'https://github.com/Unleash/unleash', + to: '/quickstart', }, { label: 'Unleash architecture', - href: 'https://github.com/Unleash/unleash', + to: '/understanding-unleash/unleash-overview', }, { label: 'Pricing', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/pricing', }, { label: 'Open live demo', - href: 'https://github.com/Unleash/unleash', + href: 'https://app.unleash-hosted.com/demo/login', }, { label: 'Open source', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/open-source', }, { label: 'Enterprise feature management platform', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/enterprise-feature-management-platform', }, { label: 'Unleash vs LaunchDarkly', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/unleash-vs-launchdarkly', }, ], }, { - title: 'About & Support', + title: 'Support', items: [ - { - label: 'getunleash.io', - href: 'https://github.com/Unleash/unleash', - }, { label: 'Help center', - href: 'https://github.com/Unleash/unleash', + href: 'https://www.getunleash.io/support', }, { label: 'Status', - href: 'https://github.com/Unleash/unleash', + href: 'https://unleash.instatus.com', }, { label: 'Roadmap', - href: 'https://github.com/Unleash/unleash', + href: 'https://github.com/orgs/Unleash/projects/10/views/1', }, { label: 'Changelog', - href: 'https://github.com/Unleash/unleash', + href: 'https://github.com/Unleash/unleash/releases', }, ], }, diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 22964bebbd20..d494e18a2a8a 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -376,6 +376,12 @@ main .theme-doc-breadcrumbs { margin: 0; } +.footer__links { + gap: 16px; + width: 100%; + max-width: 1000px; +} + .footer-separator { height: 1px; background: #d9d9d9; @@ -401,7 +407,7 @@ html[data-theme="dark"] .footer-separator { } .footer-description p { - line-height: 14px; + line-height: 18px; font-weight: 400; margin-bottom: 0; } @@ -423,11 +429,23 @@ html[data-theme="dark"] .footer-separator { fill: var(--unleash-color-footer-icon); } +.footer__col { + padding: 0; +} + .footer__title { font-size: 12px; margin-bottom: 4px; } +.footer__item { + margin-top: 10px; +} + +.footer__link-item { + line-height: 18px; +} + .footer__link-item > svg { display: none; } diff --git a/website/src/theme/Footer/icons/linkedin.svg b/website/src/theme/Footer/icons/linkedin.svg index e9e7d39b17c2..dc277d47d52c 100644 --- a/website/src/theme/Footer/icons/linkedin.svg +++ b/website/src/theme/Footer/icons/linkedin.svg @@ -1,7 +1,10 @@ - - - - - + + + + + + + + diff --git a/website/src/theme/Footer/icons/slack.svg b/website/src/theme/Footer/icons/slack.svg index a13a4c85df24..dea03ac106d4 100644 --- a/website/src/theme/Footer/icons/slack.svg +++ b/website/src/theme/Footer/icons/slack.svg @@ -1,5 +1,10 @@ - - - + + + + + + + + diff --git a/website/src/theme/Footer/icons/stackoverflow.svg b/website/src/theme/Footer/icons/stackoverflow.svg index c86c03148d5f..39ad4370e787 100644 --- a/website/src/theme/Footer/icons/stackoverflow.svg +++ b/website/src/theme/Footer/icons/stackoverflow.svg @@ -1,5 +1,3 @@ - - - - + +