mirror of
https://github.com/mleem97/gregWiki.git
synced 2026-04-11 03:29:19 +02:00
fix(docusaurus): update tagline for clarity and streamline navigation items
- Revised the tagline in `docusaurus.config.js` to better reflect the documentation's focus on Data Center Simulator mods. - Consolidated navigation items for Mods, Discord, Support, and GitHub into a more concise format for improved readability. This commit enhances the clarity of the documentation's purpose and improves the user interface of the navigation.
This commit is contained in:
@@ -2,8 +2,7 @@
|
||||
|
||||
const config = {
|
||||
title: 'gregFramework',
|
||||
tagline:
|
||||
'Player-first help for Data Center mods; full technical docs for authors under Developers.',
|
||||
tagline: 'Documentation for Data Center Simulator mods: player guides, catalog, and author references.',
|
||||
favicon: 'img/logo.svg',
|
||||
url: 'https://frikadellental.de',
|
||||
baseUrl: '/',
|
||||
@@ -81,12 +80,7 @@ const config = {
|
||||
return redirectsToHere[existingPath];
|
||||
}
|
||||
|
||||
if (
|
||||
existingPath.startsWith('/wiki/mods/') &&
|
||||
existingPath.match(
|
||||
/fmf-(console-input-guard|gregify-employees|hex-label-mod|lang-compat-bridge|ui-replacement-mod)\/?$/,
|
||||
)
|
||||
) {
|
||||
if (existingPath.startsWith('/wiki/mods/') && existingPath.match(/fmf-(console-input-guard|gregify-employees|hex-label-mod|lang-compat-bridge|ui-replacement-mod)\/?$/)) {
|
||||
const slug = existingPath.replace('/wiki/mods/', '').replace(/\/$/, '');
|
||||
return [`/wiki/mods/extensions/${slug}`, `/wiki/mods/mods/${slug}`];
|
||||
}
|
||||
@@ -218,34 +212,10 @@ const config = {
|
||||
{to: '/mods', label: 'Mod catalog'},
|
||||
],
|
||||
},
|
||||
{
|
||||
to: '/mods',
|
||||
label: 'Mods',
|
||||
position: 'right',
|
||||
className: 'nav-right-icon nav-icon-only nav-link-mods',
|
||||
'aria-label': 'Mods',
|
||||
},
|
||||
{
|
||||
href: 'https://discord.gg/greg',
|
||||
label: 'Discord',
|
||||
position: 'right',
|
||||
className: 'nav-right-icon nav-icon-only nav-link-discord',
|
||||
'aria-label': 'Discord',
|
||||
},
|
||||
{
|
||||
href: 'https://github.com/mleem97/gregFramework/issues',
|
||||
label: 'Support',
|
||||
position: 'right',
|
||||
className: 'nav-right-icon nav-icon-only nav-link-support',
|
||||
'aria-label': 'Support',
|
||||
},
|
||||
{
|
||||
href: 'https://github.com/mleem97/gregFramework',
|
||||
label: 'GitHub',
|
||||
position: 'right',
|
||||
className: 'nav-right-icon nav-icon-only nav-link-github',
|
||||
'aria-label': 'GitHub',
|
||||
},
|
||||
{to: '/mods', label: 'Mods', position: 'right', className: 'nav-right-icon nav-icon-only nav-link-mods', 'aria-label': 'Mods'},
|
||||
{href: 'https://discord.gg/greg', label: 'Discord', position: 'right', className: 'nav-right-icon nav-icon-only nav-link-discord', 'aria-label': 'Discord'},
|
||||
{href: 'https://github.com/mleem97/gregFramework/issues', label: 'Support', position: 'right', className: 'nav-right-icon nav-icon-only nav-link-support', 'aria-label': 'Support'},
|
||||
{href: 'https://github.com/mleem97/gregFramework', label: 'GitHub', position: 'right', className: 'nav-right-icon nav-icon-only nav-link-github', 'aria-label': 'GitHub'},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
@@ -286,3 +256,4 @@ const config = {
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user