From 3a9c1f396312a01235a2d3969992f56a3f07a58a Mon Sep 17 00:00:00 2001 From: David Harder Date: Sun, 28 Jan 2024 14:28:44 -0600 Subject: [PATCH] Rename "Help Center Home", add Devlog Changes: - index.tsx: Add a "Devlog" entry to match the navbar - navbar and index.tsx: Rename "Help Center Home" to "Users" - navbar: Change the leftmost entry (which points to the index) from "Solus" to "Solus Help Center" - Rework the index grid for 3 entries Rationale: - "Help Center Home" is too generic, "Users" is more specific - The actual "home" (top level page for https://help.getsol.us) is somewhere else Bikeshedding: Suggest a better icon for "devlog" from here https://mui.com/material-ui/material-icons/?query=fe&theme=Outlined --- docusaurus.config.js | 2 +- i18n/en/docusaurus-theme-classic/navbar.json | 8 ++++---- src/pages/index.tsx | 13 ++++++++++--- 3 files changed, 15 insertions(+), 8 deletions(-) diff --git a/docusaurus.config.js b/docusaurus.config.js index 3f06dc49b..ba78e96db 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -100,7 +100,7 @@ const config = { type: "docSidebar", sidebarId: "userSidebar", position: "left", - label: "Help Center Home", + label: "Users", }, { type: "docSidebar", diff --git a/i18n/en/docusaurus-theme-classic/navbar.json b/i18n/en/docusaurus-theme-classic/navbar.json index aeff78335..0900da666 100644 --- a/i18n/en/docusaurus-theme-classic/navbar.json +++ b/i18n/en/docusaurus-theme-classic/navbar.json @@ -1,15 +1,15 @@ { "title": { - "message": "Solus", + "message": "Solus Help Center", "description": "The title in the navbar" }, "logo.alt": { "message": "Solus Logo", "description": "The alt text of navbar logo" }, - "item.label.Help Center Home": { - "message": "Help Center Home", - "description": "Navbar item with label Help Center Home" + "item.label.Users": { + "message": "Users", + "description": "Navbar item with label Users" }, "item.label.Packaging": { "message": "Packaging", diff --git a/src/pages/index.tsx b/src/pages/index.tsx index c0d8a4a05..d0661da70 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -7,12 +7,13 @@ import { DocSection } from "../types"; import PersonOutlineOutlinedIcon from "@mui/icons-material/PersonOutlineOutlined"; import Inventory2OutlinedIcon from "@mui/icons-material/Inventory2Outlined"; +import EngineeringOutlinedIcon from "@mui/icons-material/EngineeringOutlined"; import Doc from "../components/home/Doc"; import Header from "../components/home/Header"; const DocList: DocSection[] = [ { - title: "Help Center Home", + title: "Users", description: <>Installing, software, boot management, troubleshooting and more, link: "docs/user/intro", img: , @@ -23,6 +24,12 @@ const DocList: DocSection[] = [ link: "docs/packaging", img: , }, + { + title: "Dev Log", + description: <>Learn what our developers have been up to, + link: "blog", + img: , + }, ]; const Docs = () => { @@ -33,8 +40,8 @@ const Docs = () => {