From fc531f951b2d6894223483032ae911468d098264 Mon Sep 17 00:00:00 2001 From: Steve Persch Date: Mon, 2 Dec 2024 16:43:10 -0600 Subject: [PATCH] prettier --- src/components/omniSidebarNav/submenus/getStarted.js | 4 +--- src/components/omniSidebarNav/submenus/pagesToDelete.js | 3 --- src/components/omniSidebarNav/submenus/support.js | 2 +- src/components/omniSidebarNav/submenus/webInfrastructure.js | 5 +---- src/components/omniSidebarNav/submenus/workflows.js | 1 - 5 files changed, 3 insertions(+), 12 deletions(-) diff --git a/src/components/omniSidebarNav/submenus/getStarted.js b/src/components/omniSidebarNav/submenus/getStarted.js index 080f17419d..4569eda9a8 100644 --- a/src/components/omniSidebarNav/submenus/getStarted.js +++ b/src/components/omniSidebarNav/submenus/getStarted.js @@ -6,10 +6,8 @@ const getStarted = () => { link: '/get-started', title: 'Get Started', children: [ - - simpleLink('/get-started', 'Overview'), - getGuideDirectory('guides/getstarted', "Getting Started Guide"), + getGuideDirectory('guides/getstarted', 'Getting Started Guide'), // This page is kind of a landing page? Should it be in this menu? simpleLink('/products', 'Products & Features'), simpleLink('/required-reading', 'Required Reading'), diff --git a/src/components/omniSidebarNav/submenus/pagesToDelete.js b/src/components/omniSidebarNav/submenus/pagesToDelete.js index 61a0d35829..46c4d8ee13 100644 --- a/src/components/omniSidebarNav/submenus/pagesToDelete.js +++ b/src/components/omniSidebarNav/submenus/pagesToDelete.js @@ -41,12 +41,9 @@ const pagesToDeleteorReconsider = () => { simpleLink('/drupal-updates', 'Drupal Updates'), ]), - - // We should probably delete/redirect this. simpleLink('/manage'), - // Pages that should be redirected simpleLink('/overview', 'pages that should be redirected', [ simpleLink('/overview'), // --> "/" diff --git a/src/components/omniSidebarNav/submenus/support.js b/src/components/omniSidebarNav/submenus/support.js index 6be67db5cb..92e81983d0 100644 --- a/src/components/omniSidebarNav/submenus/support.js +++ b/src/components/omniSidebarNav/submenus/support.js @@ -44,7 +44,7 @@ const support = () => { ]), simpleLink('/performance', 'Performance Troubleshooting', [ simpleLink('/performance', 'Overview'), - //simpleLink('/debug-slow-performance', 'Performance Troubleshooting', [ + //simpleLink('/debug-slow-performance', 'Performance Troubleshooting', [ simpleLink('/debug-slow-performance', 'Debugging Slow Performance'), simpleLink('/debug-cache', 'Debugging Caching'), getGuideDirectory( diff --git a/src/components/omniSidebarNav/submenus/webInfrastructure.js b/src/components/omniSidebarNav/submenus/webInfrastructure.js index 75b7c4c537..4234e02970 100644 --- a/src/components/omniSidebarNav/submenus/webInfrastructure.js +++ b/src/components/omniSidebarNav/submenus/webInfrastructure.js @@ -126,10 +126,7 @@ const webInfrastructure = () => { ), ]), simpleLink('/develop-wordpress', 'WordPress', [ - simpleLink( - '/develop-wordpress', - 'Overview', - ), + simpleLink('/develop-wordpress', 'Overview'), // Todo: reconcile these 2: getGuideDirectory('guides/wordpress-pantheon', 'WordPress on Pantheon'), // Todo: relocate the aws s3 page to webinfra filesystem submenu diff --git a/src/components/omniSidebarNav/submenus/workflows.js b/src/components/omniSidebarNav/submenus/workflows.js index 7f9a47b108..5e3fb9c891 100644 --- a/src/components/omniSidebarNav/submenus/workflows.js +++ b/src/components/omniSidebarNav/submenus/workflows.js @@ -22,7 +22,6 @@ const workflows = () => { simpleLink('/content-staging', 'Content Staging'), ]), - simpleLink('/guides/integrated-composer', 'Integrated Composer', [ getGuideDirectory( 'guides/integrated-composer',