Skip to content

Commit

Permalink
more menu tweaks with Rachel and Chris
Browse files Browse the repository at this point in the history
  • Loading branch information
stevector committed Oct 16, 2024
1 parent 17b2370 commit d8548aa
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 57 deletions.
21 changes: 0 additions & 21 deletions source/content/guides/domains/configure-dns.md

This file was deleted.

18 changes: 9 additions & 9 deletions src/components/omniSidebarNav/getOmniItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@ const getOmniItems = () => {
pagesToDelete(),
unassignedPages(),
getStarted(), // assigned to Chris ✅
wordpress(), // assigned to Chris
// Assigned to Steve
drupal(),
dnsProviders(),
wordpress(), // assigned to Chris

drupal(), // Assigned to Steve
dnsProviders(), // ?? do we need this at all?
migrateAndUpgrade(),
webInfrastructure(),
accountManagement(),
integrations(),
frontEndSites(),
frontEndSites(), // ✅
terminus(),
// assigned to Rachel
about(),
about(), // assigned to Rachel ✅
workflows(),

// @todo, should we have a separate tutorials section?
{
link: '/certification',
title: 'WebOps Certification',
children: CertificationItems,
children: CertificationItems, // ✅
},
];

// console.log('OmniItems: ', OmniItems);
console.log('OmniItems: ', OmniItems);
return OmniItems;
};

Expand Down
39 changes: 19 additions & 20 deletions src/components/omniSidebarNav/submenus/dnsProviders.js
Original file line number Diff line number Diff line change
@@ -1,31 +1,30 @@
import { getGuideDirectory, simpleLink } from './../helpers';

// @todo, rename this function and file to something like "goingLive" or "golive"
const dnsProviders = () => {

return {
link: '/dns-providers',
title: 'DNS Updates',
link: '/go-live',
title: 'Going Live',
children: [
// Should these be the parent, and DNS the child?
simpleLink('/go-live', 'Going live'),
getGuideDirectory('guides/domains', 'Domains'),
simpleLink('/dns-providers', 'DNS Providers', [
simpleLink('/1-and-1', '1 & 1'),
simpleLink('/route53', 'Amazon Route 53'),
simpleLink('/cloudflare', 'Cloudflare'),
simpleLink('/dreamhost', 'DreamHost'),
simpleLink('/dns-made-easy', 'DNS Made Easy'),
simpleLink('/dyn', 'Dyn'),
simpleLink('/enom', 'eNom'),
simpleLink('/gandi', 'Gandi'),
simpleLink('/godaddy', 'GoDaddy'),
simpleLink('/namecheap', 'Namecheap'),
simpleLink('/network-solutions', 'Network Solutions'),
]),
getGuideDirectory('guides/launch', 'Launch'),
simpleLink('/relaunch', 'Relaunch an existing site'),
// This page doesn't have a title???
simpleLink('/configure-dns', 'Configure DNS'),
simpleLink('/1-and-1', '1 & 1'),
simpleLink('/route53', 'Amazon Route 53'),
simpleLink('/cloudflare', 'Cloudflare'),
simpleLink('/dns-made-easy', 'DNS Made Easy'),
simpleLink('/dreamhost', 'DreamHost'),
simpleLink('/dyn', 'Dyn'),
simpleLink('/enom', 'eNom'),
simpleLink('/gandi', 'Gandi'),
simpleLink('/godaddy', 'GoDaddy'),
simpleLink('/namecheap', 'Namecheap'),
simpleLink('/network-solutions', 'Network Solutions'),
// Does this still exist?
simpleLink('/google', 'Google Cloud DNS'),
],
}

};

export default dnsProviders;
1 change: 0 additions & 1 deletion src/components/omniSidebarNav/submenus/getStarted.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ const getStarted = () => {
simpleLink('/personal-settings', "Personal Settings"),
simpleLink('/add-site-custom-upstream', "Adding a Site with a Custom Upstream"),
]),
getGuideDirectory('guides/launch', 'Launch'),
],
}
};
Expand Down
4 changes: 4 additions & 0 deletions src/components/omniSidebarNav/submenus/pagesToDelete.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,11 @@ const dnsProviders = () => {
simpleLink('/add-site', "Adding a Site"),
// Non-dupe content on this page should be moved to /guides/getstarted/addsite
simpleLink('/add-site-dashboard', "Add a site"),
// This should be added as a sub-page of guides/mariadb-mysql
simpleLink('/optimize-wp-options-table-autoloaded-data', 'Optimize wp_options Table and Autoloaded Data'),

// This is actually for google domains and that's no longer a service
simpleLink('/google', 'Google Cloud DNS'),
// Has unsupported "product" upstreams Panopoly and OpenAtrium
simpleLink('/start-state'),

Expand Down
9 changes: 3 additions & 6 deletions src/components/omniSidebarNav/submenus/wordpress.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ const wordpress = () => {
simpleLink('/symlinks-assumed-write-access', 'Symlinks and plugins that assume write access'),
getGuideDirectory('guides/multisite', "WordPress Multisite"),
getGuideDirectory('guides/woocommerce', "WooCommerce"),
simpleLink('/wordpress-known-issues', 'WordPress Known Issues', [
// @todo: add installing from third party sources doc here
simpleLink('/plugins-known-issues', 'Plugins and Themes with Known Issues'),
simpleLink('/optimize-wp-options-table-autoloaded-data', 'Optimize wp_options Table and Autoloaded Data'),
]),
// @todo: add installing from third party sources doc here
simpleLink('/wordpress-known-issues', 'WordPress Known Issues'),
simpleLink('/plugins-known-issues', 'Plugins and Themes with Known Issues'),
]
}

};

export default wordpress;

0 comments on commit d8548aa

Please sign in to comment.