Skip to content

Commit

Permalink
Remove redundant links from footer
Browse files Browse the repository at this point in the history
  • Loading branch information
satya164 committed Aug 8, 2024
1 parent 5be51ce commit 7dbaa57
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 78 deletions.
84 changes: 7 additions & 77 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default {
},
{
to: 'docs/getting-started',
activeBasePath: 'docs',
label: 'Docs',
position: 'right',
},
Expand Down Expand Up @@ -75,100 +76,29 @@ export default {
label: 'Troubleshooting',
to: 'docs/troubleshooting',
},
{
label: 'Contributing',
to: 'docs/contributing',
},
],
position: 'right',
},
{
href: 'https://x.com/reactnavigation',
position: 'right',
className: 'navbar-social-link navbar-social-link-x',
'aria-label': 'X',
position: 'right',
},
{
href: 'https://github.com/react-navigation',
position: 'right',
href: 'https://github.com/react-navigation/react-navigation',
className: 'navbar-social-link navbar-social-link-github',
'aria-label': 'GitHub',
position: 'right',
},
],
},
footer: {
links: [
{
title: 'Docs',
items: [
{
label: 'Getting Started',
to: 'docs/getting-started',
},
{
label: 'Building your own Navigator',
to: 'docs/custom-navigators',
},
{
label: 'Contributing',
to: 'docs/contributing',
},
],
},
{
title: 'Support',
items: [
{
label: 'Chat in our Discord channel',
href: 'https://discord.gg/reactiflux',
},
{
label: 'Get help on Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/react-navigation',
},
{
label: 'Request a feature on Canny',
href: 'https://react-navigation.canny.io/feature-requests',
},
{
label: 'Report a bug on GitHub',
href: 'https://github.com/react-navigation/react-navigation/issues/new/choose',
},
],
},
{
title: 'Social',
items: [
{
label: 'Blog',
to: 'blog',
},
{
label: 'GitHub',
href: 'https://github.com/react-navigation/react-navigation',
},
{
label: 'Twitter',
href: 'https://twitter.com/reactnavigation',
},
],
},
{
title: 'Built with',
items: [
{
label: 'Docusaurus',
to: 'https://docusaurus.io/',
},
{
label: 'GitHub Pages',
href: 'https://pages.github.com/',
},
{
label: 'Netlify',
href: 'https://www.netlify.com/',
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} React Navigation. Built with <a href="https://docusaurus.io/">Docusaurus</a>, <a href="https://pages.github.com/">GitHub Pages</a>, and <a href="https://www.netlify.com/">Netlify</a>.`,
},
},
plugins: [
Expand Down
4 changes: 3 additions & 1 deletion src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
);

--ifm-hero-background-color: var(--ifm-color-primary);
--ifm-footer-background-color: #f7f7ff;
--ifm-footer-background-color: var(--ifm-background-surface-color);
--ifm-home-color-text: #414360;
--ifm-home-color-background: #f7f7ff;
--ifm-home-color-background-secondary: #d5d6f5;
Expand All @@ -79,6 +79,8 @@
--ifm-menu-color-background-active: rgba(107, 82, 174, 0.1);
--docusaurus-highlighted-code-line-bg: rgba(107, 82, 174, 0.1);

--ifm-footer-padding-horizontal: var(--ifm-spacing-horizontal);
--ifm-footer-padding-vertical: var(--ifm-spacing-vertical);
--ifm-tabs-padding-vertical: 0.5rem;
--ifm-alert-border-left-width: 0;
}
Expand Down

0 comments on commit 7dbaa57

Please sign in to comment.