From e7bf0be33f7a03766cc6c3e2c73f57d52c34346a Mon Sep 17 00:00:00 2001 From: Hugues <hugues@lydra.fr> Date: Thu, 8 Jul 2021 09:53:12 +0000 Subject: [PATCH] add footer's links, tagline with year generated dynamically, remove a too heavy npm icones package --- docusaurus.config.js | 82 +++++++++++++++++++++++++++++++++++--------- 1 file changed, 65 insertions(+), 17 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 886356a..3969033 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -38,46 +38,94 @@ module.exports = { style: "dark", links: [ { - title: "Docs", + title: "Suivez-nous", items: [ { - label: "Tutorial", - to: "/docs/intro", + label: "Youtube", + href: "https://www.youtube.com/channel/UCauIDghddUNu6Fto1nR9Bmg/?sub_confirmation=1", + }, + { + label: "Linkedin", + href: "https://www.linkedin.com/company/froggit", + }, + { + label: "Froggit", + href: "https://lab.frogg.it/froggit", + }, + { + label: "GitLab", + href: "https://gitlab.com/froggit", + }, + { + label: "Twitter", + href: "https://twitter.com/art_devops", }, ], }, + { - title: "Community", + title: "Pourquoi Froggit ?", items: [ { - label: "Stack Overflow", - href: "https://stackoverflow.com/questions/tagged/docusaurus", + label: "Ton code source est-il en sécurité?", + href: "https://lydra.fr/es-2-ton-code-source-est-il-vraiment-en-securite/", }, { - label: "Discord", - href: "https://discordapp.com/invite/docusaurus", + label: "La souveraineté numérique", + href: "https://lydra.fr/category/souverainete-numerique/", }, + ], + }, + { + title: "Communauté", + items: [ { - label: "Twitter", - href: "https://twitter.com/docusaurus", + label: "Forum", + to: "/forum", + }, + { + label: "Wiki", + to: "/wiki", }, ], - }, + }, { - title: "More", + title: "Société", items: [ { - label: "Blog", - to: "/blog", + label: "À propos", + to: "/a_propos", + }, + { + label: "Contact", + to: "/contact", + }, + { + label: "Équipe", + to: "/equipe", + }, + { + label: "Mentions légales", + to: "/mentions_legales", + }, + { + label: "CGV", + href: "https://oxalis-scop.fr/conditions-generales-de-vente", + }, + { + label: "CPV", + to: "/cpv", }, { - label: "GitHub", - href: "https://github.com/facebook/docusaurus", + label: "CGU", + to: "/cgu", }, ], }, ], - copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`, + + // eslint-disable-next-line quotes + copyright: `Lydra © ${new Date().getFullYear()}` +"<br>"+ `Froggit est fièrement fabriqué avec â¤ï¸ par [Lydra](http://lydra.fr/) avec des Logiciels Libres et hébergé en 🇫🇷 chez [Scaleway](https://www.scaleway.fr/) | [âœ”ï¸ Status du service](https://status.froggit.fr)`, }, prism: { theme: lightCodeTheme, -- GitLab