From cb18f36448ab1c134f767121b257f281f2ccfd16 Mon Sep 17 00:00:00 2001 From: David Harder Date: Mon, 29 Jan 2024 18:01:38 -0600 Subject: [PATCH] Fix footer - Make a "News" category - Complete the "Docs" category - Change (main) "Blog" to "Solus Homepage" under "More" --- docusaurus.config.js | 23 +++++++++++++--- i18n/en/docusaurus-theme-classic/footer.json | 28 +++++++++++++++----- 2 files changed, 42 insertions(+), 9 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index ba78e96db..a2c016b8f 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -122,9 +122,26 @@ const config = { title: "Docs", items: [ { - label: "Welcome", + label: "Users", to: "/docs/user/intro", }, + { + label: "Packaging", + to: "/docs/packaging", + }, + ], + }, + { + title: "News", + items: [ + { + label: "Solus Blog", + to: "https://getsol.us/blog", + }, + { + label: "Solus Devlog", + to: "blog", + }, ], }, { @@ -149,8 +166,8 @@ const config = { title: "More", items: [ { - label: "Blog", - to: "https://getsol.us/blog", + label: "Solus Homepage", + to: "https://getsol.us/", }, { label: "GitHub", diff --git a/i18n/en/docusaurus-theme-classic/footer.json b/i18n/en/docusaurus-theme-classic/footer.json index 1478f4525..1e3778f57 100644 --- a/i18n/en/docusaurus-theme-classic/footer.json +++ b/i18n/en/docusaurus-theme-classic/footer.json @@ -3,6 +3,10 @@ "message": "Docs", "description": "The title of the footer links column with title=Docs in the footer" }, + "link.title.News": { + "message": "News", + "description": "The title of the footer links column with title=News in the footer" + }, "link.title.Community": { "message": "Community", "description": "The title of the footer links column with title=Community in the footer" @@ -11,9 +15,21 @@ "message": "More", "description": "The title of the footer links column with title=More in the footer" }, - "link.item.label.Welcome": { - "message": "Welcome", - "description": "The label of footer link with label=Welcome linking to /docs/user/intro" + "link.item.label.Users": { + "message": "Users", + "description": "The label of footer link with label=Users linking to /docs/user/intro" + }, + "link.item.label.Packaging": { + "message": "Packaging", + "description": "The label of footer link with label=Packaging linking to /docs/user/packaging" + }, + "link.item.label.SolusBlog": { + "message": "SolusBlog", + "description": "The label of footer link with label=SolusBlog linking to https://getsol.us/blog" + }, + "link.item.label.SolusDevlog": { + "message": "Solus Devlog", + "description": "The label of footer link with label=Users linking to /blog" }, "link.item.label.Forums": { "message": "Forums", @@ -27,9 +43,9 @@ "message": "Mastodon", "description": "The label of footer link with label=Mastodon linking to https://fosstodon.org/@Solus" }, - "link.item.label.Blog": { - "message": "Blog", - "description": "The label of footer link with label=Blog linking to https://getsol.us/blog" + "link.item.label.SolusHomepage": { + "message": "Solus Homepage", + "description": "The label of footer link with label=SolusHomepage linking to https://getsol.us/" }, "link.item.label.GitHub": { "message": "GitHub",