Skip to content

Commit

Permalink
Footer styles and content
Browse files Browse the repository at this point in the history
  • Loading branch information
ebeneliason committed Nov 24, 2021
1 parent 9520ebf commit 29d7a5d
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 15 deletions.
71 changes: 56 additions & 15 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,42 +110,83 @@ const config = {
style: "dark",
links: [
{
title: "Docs",
title: "Company",
items: [
{
label: "Tutorial",
to: "/docs/intro",
label: "About Gruntwork",
href: "https://gruntwork.io"
},
],
{
label: "Blog",
href: "https://blog.gruntwork.io/"
},
{
label: "Newsletter",
href: "https://gruntwork.io/newsletter/"
},
{
label: "Gruntwork Store",
href: "https://store.gruntwork.io/"
},
]
},
{
title: "Community",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/docusaurus",
label: "Community Slack",
href: "https://gruntwork-community.slack.com/archives/CHH9Y3Z62"
},
{
label: "Discord",
href: "https://discordapp.com/invite/docusaurus",
label: "GitHub Discussions",
href: "https://github.com/gruntwork-io"
},
{
label: "Twitter",
href: "https://twitter.com/docusaurus",
href: "https://twitter.com/gruntwork_io"
},
],
]
},
{
title: "More",
title: "Resources",
items: [
{
label: "GitHub",
href: "https://github.com/facebook/docusaurus",
label: "Developer Portal",
href: "https://app.gruntwork.io"
},
],
{
label: "IaC Library on GitHub",
href: "https://github.com/gruntwork-io"
},
{
label: "DevOps Checklist",
href: "https://gruntwork.io/devops-checklist/"
},
{
label: "Learning Resources",
href: "https://gruntwork.io/devops-resources/"
},
]
},
{
title: "Legal",
items: [
{
label: "Privacy Policy",
href: "https://gruntwork.io/legal/privacy-policy/"
},
{
label: "Cookie Policy",
href: "https://gruntwork.io/legal/cookie-policy/"
},
{
label: "Terms of Service",
href: "https://gruntwork.io/terms/"
},
]
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `© 2020 – ${new Date().getFullYear()} Gruntwork, Inc.`,
},
colorMode: {
defaultMode: 'dark',
Expand Down
25 changes: 25 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,31 @@ html[data-theme='dark'] .menu__link--sublist {
}


/* FOOTER */

/* --ifm-footer-background-color doesn't appear to work */
.footer {
background-color: #252746;
}

.footer__links {
margin-bottom: 2rem;
}

.footer__title {
text-transform: uppercase;
letter-spacing: 0.05rem;
font-size: 0.8rem;
color: var(--ifm-color-primary-lightest);
}

.footer__copyright {
text-transform: uppercase;
letter-spacing: 0.05rem;
font-size: .7rem;
color: var(--ifm-color-primary-lightest);
}

/* remove external link icons on header/footer links */
.footer__link-item svg, .navbar__items--right .navbar__link svg {
display: none;
Expand Down

0 comments on commit 29d7a5d

Please sign in to comment.