Skip to content

Commit

Permalink
fixup terminus template and submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
rachelwhitton committed Oct 17, 2024
1 parent d8548aa commit 2b3a918
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 27 deletions.
46 changes: 26 additions & 20 deletions src/components/omniSidebarNav/submenus/terminus.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,32 @@ const terminus = () => {
title: 'Terminus',
children: [
// @todo, copy the order from the terminus template
simpleLink('/terminus'),
simpleLink('/terminus-demo'),
simpleLink('/terminus-drupal-site-management'),
simpleLink('/terminus-overview'),
simpleLink('/terminus/ci/bitbucket'),
simpleLink('/terminus/ci/circleci'),
simpleLink('/terminus/ci/github-actions'),
simpleLink('/terminus/ci/gitlab'),
simpleLink('/terminus/commands'),
simpleLink('/terminus/configuration'),
simpleLink('/terminus/create'),
simpleLink('/terminus/directory'),
simpleLink('/terminus/examples'),
simpleLink('/terminus/install'),
simpleLink('/terminus/plugins'),
simpleLink('/terminus/scripting'),
simpleLink('/terminus/supported-terminus'),
simpleLink('/terminus/terminus-3-0'),
simpleLink('/terminus/updates'),
simpleLink('/machine-tokens'),

simpleLink('/terminus', "Terminus User Manual",
[
simpleLink('/terminus', "Introduction"),
simpleLink('/terminus/install', "Install and Update Terminus"),
simpleLink('/terminus/examples', "Get Started"),
simpleLink('/terminus/commands', "Command Directory"),
simpleLink('/terminus/scripting', "Scripting with Terminus"),
simpleLink('/terminus/plugins', "Install Plugins"),
simpleLink('/terminus/directory', "Plugin Directory"),
simpleLink('/terminus/create', "Create Terminus Plugins"),
simpleLink('/terminus/configuration', "Terminus Configuration File"),
simpleLink('/terminus/supported-terminus', "Supported Terminus and PHP Versions"),
simpleLink('/terminus/updates', "Current Terminus Release, Changelog, and Updates"),
simpleLink('/terminus/terminus-3-0', "Terminus 3"),
]

),
simpleLink('/terminus-demo', "Introduction to Terminus"),
simpleLink('/terminus-drupal-site-management', "Using Terminus to Create and Update Drupal Sites on Pantheon"),
simpleLink('/terminus-overview', "Terminus Overview"),
simpleLink('/terminus/ci/bitbucket', "Authenticate Terminus in a Bitbucket CI Pipeline"),
simpleLink('/terminus/ci/circleci', "Authenticate Terminus in a CircleCI Pipeline"),
simpleLink('/terminus/ci/github-actions', "Authenticate Terminus in a GitHub Actions Pipeline"),
simpleLink('/terminus/ci/gitlab', "Authenticate Terminus in a GitLab Pipeline"),
simpleLink('/machine-tokens', "Creating and Revoking Machine Tokens"),
]
}

Expand Down
9 changes: 2 additions & 7 deletions src/templates/terminuspage.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,10 @@ class TerminusTemplate extends React.Component {
reviewed={ifCommandsISO}
type={node.frontmatter.type}
/>
<Navbar
<OmniSidebarNav
slot="guide-menu"
title={node.frontmatter.title}
items={items}
activePage={node.fields.slug}
submenuPathToUse="/terminus"
/>
<ContentLayoutType slot="guide-content">
<SearchBar slot="content" page="default" />
Expand All @@ -156,10 +155,6 @@ class TerminusTemplate extends React.Component {
<article className="doc guide-doc-body pds-spacing-pad-block-end-xl">


<OmniSidebarNav
activePage={node.fields.slug}
/>




Expand Down

0 comments on commit 2b3a918

Please sign in to comment.