From a4b73673df1845111498432e19ded2f4763f7cc9 Mon Sep 17 00:00:00 2001 From: Pantheon Bot Date: Mon, 2 Dec 2024 19:01:09 +0000 Subject: [PATCH] Apply Prettier formatting --- src/components/omniSidebarNav/getOmniItems.js | 2 +- .../omniSidebarNav/submenus/accountManagement.js | 1 - src/components/omniSidebarNav/submenus/certification.js | 1 - src/components/omniSidebarNav/submenus/getStarted.js | 2 +- src/components/omniSidebarNav/submenus/pagesToDelete.js | 2 -- src/components/omniSidebarNav/submenus/security.js | 9 ++++----- src/components/omniSidebarNav/submenus/support.js | 6 ++++-- 7 files changed, 10 insertions(+), 13 deletions(-) diff --git a/src/components/omniSidebarNav/getOmniItems.js b/src/components/omniSidebarNav/getOmniItems.js index e0029cd556..c027d1ead4 100644 --- a/src/components/omniSidebarNav/getOmniItems.js +++ b/src/components/omniSidebarNav/getOmniItems.js @@ -46,7 +46,7 @@ const getOmniItems = () => { security(), // ✅ // @todo, should we have a separate tutorials section? - CertificationItems(), // ✅ + CertificationItems(), // ✅ about(), // assigned to Rachel ✅ // Release notes simpleLink('/release-notes', 'Release Notes'), diff --git a/src/components/omniSidebarNav/submenus/accountManagement.js b/src/components/omniSidebarNav/submenus/accountManagement.js index a1b7926fb6..c1bad42883 100644 --- a/src/components/omniSidebarNav/submenus/accountManagement.js +++ b/src/components/omniSidebarNav/submenus/accountManagement.js @@ -5,7 +5,6 @@ const accountManagement = () => { link: '/guides/account-mgmt', title: 'Manage Accounts and Workspaces', children: [ - simpleLink('/guides/account-mgmt', 'Overview', [ getGuideDirectory('guides/account-mgmt/account'), getGuideDirectory('guides/account-mgmt/billing'), diff --git a/src/components/omniSidebarNav/submenus/certification.js b/src/components/omniSidebarNav/submenus/certification.js index 357f245094..d80f57a3d5 100644 --- a/src/components/omniSidebarNav/submenus/certification.js +++ b/src/components/omniSidebarNav/submenus/certification.js @@ -85,7 +85,6 @@ const CertificationItems = () => { simpleLink('/pivotal-tracker', 'Pivotal Tracker'), simpleLink('/pingdom-uptime-check', 'Pingdom Uptime Check'), - simpleLink('/drupal-advanced-page-cache', 'Drupal Advanced Page Cache'), simpleLink('/partial-composer', 'Partial Composer Usage'), // This page should be rewritten to focus on WordPress. diff --git a/src/components/omniSidebarNav/submenus/getStarted.js b/src/components/omniSidebarNav/submenus/getStarted.js index 64018710a6..d87a0c72b0 100644 --- a/src/components/omniSidebarNav/submenus/getStarted.js +++ b/src/components/omniSidebarNav/submenus/getStarted.js @@ -8,7 +8,7 @@ const getStarted = () => { children: [ getGuideDirectory('guides/getstarted'), // This page is kind of a landing page? Should it be in this menu? - simpleLink('/products', "Products & Features"), + simpleLink('/products', 'Products & Features'), simpleLink('/required-reading', 'Required Reading'), getGuideDirectory('guides/platform-considerations'), simpleLink('/guides/guided', 'Migrating Sites to Pantheon', [ diff --git a/src/components/omniSidebarNav/submenus/pagesToDelete.js b/src/components/omniSidebarNav/submenus/pagesToDelete.js index ff625f5c5b..e041d91773 100644 --- a/src/components/omniSidebarNav/submenus/pagesToDelete.js +++ b/src/components/omniSidebarNav/submenus/pagesToDelete.js @@ -43,8 +43,6 @@ const pagesToDeleteorReconsider = () => { simpleLink('/guides', 'landing pages', [ simpleLink('/guides'), - - // This landing page could go elsewhere simpleLink('/performance', 'Performance Consideration'), // minimal landing page that should be kept or rebuilt as prose. diff --git a/src/components/omniSidebarNav/submenus/security.js b/src/components/omniSidebarNav/submenus/security.js index 75933c38ef..f46595d175 100644 --- a/src/components/omniSidebarNav/submenus/security.js +++ b/src/components/omniSidebarNav/submenus/security.js @@ -5,15 +5,14 @@ const security = () => { link: '/guides/security', title: 'Security', children: [ - simpleLink('/guides/security', "Security Overview"), + simpleLink('/guides/security', 'Security Overview'), getGuideDirectory('guides/secure-development'), - getGuideDirectory('guides/secrets', "Managing API Keys and Secrets"), + getGuideDirectory('guides/secrets', 'Managing API Keys and Secrets'), simpleLink('/custom-certificates', 'Custom Certificates'), - simpleLink('/certificate-bundles', "Certificate Bundles"), + simpleLink('/certificate-bundles', 'Certificate Bundles'), simpleLink('/clamav', 'ClamAV'), - simpleLink('/drupal-security-patches', "Drupal Security Patches"), - + simpleLink('/drupal-security-patches', 'Drupal Security Patches'), ], }; }; diff --git a/src/components/omniSidebarNav/submenus/support.js b/src/components/omniSidebarNav/submenus/support.js index 3fc2d01979..fa63b4cdd5 100644 --- a/src/components/omniSidebarNav/submenus/support.js +++ b/src/components/omniSidebarNav/submenus/support.js @@ -5,7 +5,6 @@ const support = () => { link: '/support', title: 'Support and Troubleshooting', children: [ - simpleLink('/support', 'Overview'), getGuideDirectory('guides/support', 'Support'), simpleLink('/oss-support-levels', 'Open Source Support Levels'), @@ -52,7 +51,10 @@ const support = () => { ), // Should could move to the education menu. - getGuideDirectory('guides/frontend-performance', "Front End Performance"), + getGuideDirectory( + 'guides/frontend-performance', + 'Front End Performance', + ), simpleLink( '/load-and-performance-testing', 'Load and Performance Testing',