Skip to content

Commit e8abc65

Browse files
authored
Rename "Help Center Home", add Devlog (#475)
* 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 - Make a "News" category - Complete the "Docs" category - Change (main) "Blog" to "Solus Homepage" under "More" - Add dropdown to header 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
1 parent 8ec5bbd commit e8abc65

File tree

4 files changed

+92
-17
lines changed

4 files changed

+92
-17
lines changed

docusaurus.config.js

Lines changed: 56 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ const config = {
100100
type: "docSidebar",
101101
sidebarId: "userSidebar",
102102
position: "left",
103-
label: "Help Center Home",
103+
label: "Users",
104104
},
105105
{
106106
type: "docSidebar",
@@ -113,6 +113,41 @@ const config = {
113113
label: "Dev Log",
114114
position: "left",
115115
},
116+
{
117+
label: "More",
118+
items: [
119+
{
120+
href: "https://getsol.us",
121+
label: "Solus Homepage",
122+
},
123+
{
124+
label: "Forums",
125+
href: "https://discuss.getsol.us/",
126+
},
127+
{
128+
href: "https://matrix.to/#/#solus:matrix.org",
129+
label: "Matrix",
130+
},
131+
{
132+
label: "Mastodon",
133+
href: "https://fosstodon.org/@Solus",
134+
},
135+
{
136+
label: "Github",
137+
href: "https://github.com/getsolus",
138+
},
139+
{
140+
label: "Packages",
141+
href: "https://dev.getsol.us/",
142+
},
143+
{
144+
label: "Issue Tracker",
145+
href: "https://issues.getsol.us/",
146+
},
147+
],
148+
type: "dropdown",
149+
position: "left",
150+
},
116151
],
117152
},
118153
footer: {
@@ -122,9 +157,26 @@ const config = {
122157
title: "Docs",
123158
items: [
124159
{
125-
label: "Welcome",
160+
label: "Users",
126161
to: "/docs/user/intro",
127162
},
163+
{
164+
label: "Packaging",
165+
to: "/docs/packaging",
166+
},
167+
],
168+
},
169+
{
170+
title: "News",
171+
items: [
172+
{
173+
label: "Solus Blog",
174+
to: "https://getsol.us/blog",
175+
},
176+
{
177+
label: "Solus Devlog",
178+
to: "blog",
179+
},
128180
],
129181
},
130182
{
@@ -149,8 +201,8 @@ const config = {
149201
title: "More",
150202
items: [
151203
{
152-
label: "Blog",
153-
to: "https://getsol.us/blog",
204+
label: "Solus Homepage",
205+
to: "https://getsol.us/",
154206
},
155207
{
156208
label: "GitHub",

i18n/en/docusaurus-theme-classic/footer.json

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"message": "Docs",
44
"description": "The title of the footer links column with title=Docs in the footer"
55
},
6+
"link.title.News": {
7+
"message": "News",
8+
"description": "The title of the footer links column with title=News in the footer"
9+
},
610
"link.title.Community": {
711
"message": "Community",
812
"description": "The title of the footer links column with title=Community in the footer"
@@ -11,9 +15,21 @@
1115
"message": "More",
1216
"description": "The title of the footer links column with title=More in the footer"
1317
},
14-
"link.item.label.Welcome": {
15-
"message": "Welcome",
16-
"description": "The label of footer link with label=Welcome linking to /docs/user/intro"
18+
"link.item.label.Users": {
19+
"message": "Users",
20+
"description": "The label of footer link with label=Users linking to /docs/user/intro"
21+
},
22+
"link.item.label.Packaging": {
23+
"message": "Packaging",
24+
"description": "The label of footer link with label=Packaging linking to /docs/user/packaging"
25+
},
26+
"link.item.label.SolusBlog": {
27+
"message": "SolusBlog",
28+
"description": "The label of footer link with label=SolusBlog linking to https://getsol.us/blog"
29+
},
30+
"link.item.label.SolusDevlog": {
31+
"message": "Solus Devlog",
32+
"description": "The label of footer link with label=Users linking to /blog"
1733
},
1834
"link.item.label.Forums": {
1935
"message": "Forums",
@@ -27,9 +43,9 @@
2743
"message": "Mastodon",
2844
"description": "The label of footer link with label=Mastodon linking to https://fosstodon.org/@Solus"
2945
},
30-
"link.item.label.Blog": {
31-
"message": "Blog",
32-
"description": "The label of footer link with label=Blog linking to https://getsol.us/blog"
46+
"link.item.label.SolusHomepage": {
47+
"message": "Solus Homepage",
48+
"description": "The label of footer link with label=SolusHomepage linking to https://getsol.us/"
3349
},
3450
"link.item.label.GitHub": {
3551
"message": "GitHub",

i18n/en/docusaurus-theme-classic/navbar.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
{
22
"title": {
3-
"message": "Solus",
3+
"message": "Solus Help Center",
44
"description": "The title in the navbar"
55
},
66
"logo.alt": {
77
"message": "Solus Logo",
88
"description": "The alt text of navbar logo"
99
},
10-
"item.label.Help Center Home": {
11-
"message": "Help Center Home",
12-
"description": "Navbar item with label Help Center Home"
10+
"item.label.Users": {
11+
"message": "Users",
12+
"description": "Navbar item with label Users"
1313
},
1414
"item.label.Packaging": {
1515
"message": "Packaging",

src/pages/index.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,13 @@ import { DocSection } from "../types";
77

88
import PersonOutlineOutlinedIcon from "@mui/icons-material/PersonOutlineOutlined";
99
import Inventory2OutlinedIcon from "@mui/icons-material/Inventory2Outlined";
10+
import EngineeringOutlinedIcon from "@mui/icons-material/EngineeringOutlined";
1011
import Doc from "../components/home/Doc";
1112
import Header from "../components/home/Header";
1213

1314
const DocList: DocSection[] = [
1415
{
15-
title: "Help Center Home",
16+
title: "Users",
1617
description: <>Installing, software, boot management, troubleshooting and more</>,
1718
link: "docs/user/intro",
1819
img: <PersonOutlineOutlinedIcon sx={{ fontSize: 96 }} />,
@@ -23,6 +24,12 @@ const DocList: DocSection[] = [
2324
link: "docs/packaging",
2425
img: <Inventory2OutlinedIcon sx={{ fontSize: 96 }} />,
2526
},
27+
{
28+
title: "Dev Log",
29+
description: <>Learn what our developers have been up to</>,
30+
link: "blog",
31+
img: <EngineeringOutlinedIcon sx={{ fontSize: 96 }} />,
32+
},
2633
];
2734

2835
const Docs = () => {
@@ -33,8 +40,8 @@ const Docs = () => {
3340
<Grid2
3441
columns={{
3542
xs: 6,
36-
sm: 6,
37-
md: 12,
43+
sm: 18,
44+
md: 18,
3845
}}
3946
container
4047
margin={0}

0 commit comments

Comments
 (0)