Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
63 changes: 46 additions & 17 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ const darkCodeTheme = require("prism-react-renderer").themes.dracula;
options: {
disableSearch: true,
requiredPropsFirst: true,
noAutoAuth: true
noAutoAuth: true,
},
},
},
Expand Down Expand Up @@ -140,46 +140,75 @@ const darkCodeTheme = require("prism-react-renderer").themes.dracula;
style: "dark",
links: [
{
title: "Docs",
title: "Facturapi",
items: [
{
label: "Tutorial",
to: "/docs/quickstart",
label: "Main site",
href: "https://www.facturapi.io",
},
{
label: "Dashboard",
href: "https://dashboard.facturapi.io",
},
{
label: "Contact",
href: "https://www.facturapi.io/contact",
},
],
},
{
title: "Community",
title: "Developers",
items: [
{
label: "Stack Overflow",
href: "https://stackoverflow.com/questions/tagged/facturapi",
label: "API reference",
to: "/api",
},
{
label: "Twitter",
href: "https://twitter.com/facturapi",
label: "Tutorials",
to: "/docs/intro",
},
{
label: "Facebook",
href: "https://facebook.com/facturapi",
label: "Stripe app",
to: "/stripe-app",
},
{
label: "Instagram",
href: "https://instagram.com/facturapi",
label: "GitHub",
href: "https://github.com/facturapi",
},
],
},
{
title: "More",
title: "Resources",
items: [
{
label: "GitHub",
href: "https://github.com/facturapi",
label: "Pricing",
href: "https://www.facturapi.io/pricing",
},
{
label: "Blog",
href: "https://www.facturapi.io/blog",
},
{
label: "Service status",
href: "https://status.facturapi.io",
},
],
},
{
title: "Legal",
items: [
{
label: "Terms",
href: "https://www.facturapi.io/terms",
},
{
label: "Privacy",
href: "https://www.facturapi.io/privacy",
},
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} Facturación Espacial, SAPI de CV`,
copyright: `© ${new Date().getFullYear()} Facturapi. All rights reserved.`,
},
prism: {
theme: lightCodeTheme,
Expand Down
42 changes: 0 additions & 42 deletions website/i18n/en/docusaurus-theme-classic/footer.json

This file was deleted.

79 changes: 79 additions & 0 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,62 @@ body[data-scrolled='true'] .navbar {
color: var(--facturapi-selected-text);
}

.footer {
background: #1e3756;
border-top: 1px solid rgba(255, 255, 255, 0.06);
color: rgba(255, 255, 255, 0.82);
padding: 2.75rem 0 1.25rem;
}

.footer__links {
column-gap: 2rem;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
row-gap: 2rem;
margin-bottom: 2rem;
}

.footer__col {
min-width: 0;
}

.footer__title {
border-left: 1px solid #54e0b9;
color: #f0f4f9;
font-size: 0.95rem;
font-weight: 500;
margin-bottom: 1rem;
padding-left: 0.55rem;
}

.footer__item {
color: rgba(255, 255, 255, 0.84);
line-height: 1.45;
margin-top: 0.7rem;
}

.footer__link-item {
color: rgba(255, 255, 255, 0.84);
font-size: 0.95rem;
transition: color var(--ifm-transition-fast) var(--ifm-transition-timing-default);
}

.footer__link-item:hover {
color: #a7c7ff;
text-decoration: none;
}

.footer__bottom {
border-top: 1px solid rgba(255, 255, 255, 0.08);
margin-top: 0;
padding-top: 1rem;
}

.footer__copyright {
color: rgba(255, 255, 255, 0.68);
font-size: 0.95rem;
}

.menu__list-item-collapsible:hover,
.menu__list-item-collapsible--active {
background: var(--blue-l4) !important;
Expand Down Expand Up @@ -330,6 +386,10 @@ body[data-scrolled='true'] .navbar {
background-color: var(--facturapi-scroll-thumb) !important;
}

.redocusaurus .menu-content a[href='https://redocly.com/redoc/'] {
display: none !important;
}

html[data-theme='dark'] .redocusaurus button[aria-expanded='true'] {
border-color: transparent !important;
}
Expand All @@ -348,6 +408,15 @@ html[data-theme='dark'] .redocusaurus div[aria-hidden='false'] [tabindex='0'] {
border-radius: 8px;
padding: 1.35rem;
}

.footer {
padding-top: 2.25rem;
}

.footer__links {
grid-template-columns: repeat(2, minmax(0, 1fr));
row-gap: 1.5rem;
}
}

@media (max-width: 75rem) {
Expand All @@ -361,3 +430,13 @@ html[data-theme='dark'] .redocusaurus div[aria-hidden='false'] [tabindex='0'] {
border-radius: 12px;
}
}

@media (max-width: 576px) {
.footer__links {
grid-template-columns: 1fr;
}

.footer__title {
margin-bottom: 0.75rem;
}
}