Skip to content

Commit

Permalink
Rename "Help Center Home", add Devlog
Browse files Browse the repository at this point in the history
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
  • Loading branch information
davidjharder committed Jan 28, 2024
1 parent bdc90a1 commit 3a9c1f3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const config = {
type: "docSidebar",
sidebarId: "userSidebar",
position: "left",
label: "Help Center Home",
label: "Users",
},
{
type: "docSidebar",
Expand Down
8 changes: 4 additions & 4 deletions i18n/en/docusaurus-theme-classic/navbar.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
13 changes: 10 additions & 3 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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: <PersonOutlineOutlinedIcon sx={{ fontSize: 96 }} />,
Expand All @@ -23,6 +24,12 @@ const DocList: DocSection[] = [
link: "docs/packaging",
img: <Inventory2OutlinedIcon sx={{ fontSize: 96 }} />,
},
{
title: "Dev Log",
description: <>Learn what our developers have been up to</>,
link: "blog",
img: <EngineeringOutlinedIcon sx={{ fontSize: 96 }} />,
},
];

const Docs = () => {
Expand All @@ -33,8 +40,8 @@ const Docs = () => {
<Grid2
columns={{
xs: 6,
sm: 6,
md: 12,
sm: 18,
md: 18,
}}
container
margin={0}
Expand Down

0 comments on commit 3a9c1f3

Please sign in to comment.