-
Notifications
You must be signed in to change notification settings - Fork 672
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WIP: Nested nav with reporting on usage #9097
base: main
Are you sure you want to change the base?
Conversation
Hi from your friendly robot! 🤖 I've applied Prettier formatting to the following files in fdd46aa:
The full diff is below. Please review the changes. Click to expanddiff --git a/src/templates/doc.js b/src/templates/doc.js
index bf637de5f..7e813d3be 100644
--- a/src/templates/doc.js
+++ b/src/templates/doc.js
@@ -17,7 +17,6 @@ import OmniSidebarNav from '../components/omniSidebarNav';
const containerWidth = 'standard';
class DocTemplate extends React.Component {
-
render() {
const node = this.props.data.doc;
const isoDate = this.props.data.date;
diff --git a/src/templates/guide.js b/src/templates/guide.js
index 5d086dbac..425cdc7d1 100644
--- a/src/templates/guide.js
+++ b/src/templates/guide.js
@@ -11,8 +11,6 @@ import MdxWrapper from '../components/mdxWrapper';
import OmniSidebarNav from '../components/omniSidebarNav';
class GuideTemplate extends React.Component {
-
-
render() {
const node = this.props.data.mdx;
const isoDate = this.props.data.date; |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
…documentation into nested-nav---reporting
Hi from your friendly robot! 🤖 I've applied Prettier formatting to the following files in 3237e73:
The full diff is below. Please review the changes. Click to expanddiff --git a/src/templates/terminusCommand.js b/src/templates/terminusCommand.js
index 8ebbcc646..a2f17aadd 100644
--- a/src/templates/terminusCommand.js
+++ b/src/templates/terminusCommand.js
@@ -11,7 +11,6 @@ import { Container } from '@pantheon-systems/pds-toolkit-react';
let commandsJson = require('../../source/data/commands.json');
-
// @TODO relocate this list
// - To a YAML file and use GraphQL to pull data.
// - To a GraphQL query order by frontmatter weight/order/index field. |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
…documentation into nested-nav---reporting
Hi from your friendly robot! 🤖 I've applied Prettier formatting to the following files in 7406d83:
The full diff is below. Please review the changes. Click to expanddiff --git a/src/components/omniSidebarNav/getOmniItems.js b/src/components/omniSidebarNav/getOmniItems.js
index 8b229798d..62a7185f6 100644
--- a/src/components/omniSidebarNav/getOmniItems.js
+++ b/src/components/omniSidebarNav/getOmniItems.js
@@ -29,8 +29,6 @@ import { simpleLink } from './helpers';
// Todo: Fix video template (missing search bar)
// Todo: add sidebar to landing pages (end goal is to delete them entirely)
-
-
/**
* Retrieves the all the menu items for the sidebar navigation.
* @returns {Array} An array of Omni items.
diff --git a/src/templates/landing.js b/src/templates/landing.js
index e25a0ad31..bd5458607 100644
--- a/src/templates/landing.js
+++ b/src/templates/landing.js
@@ -11,7 +11,6 @@ import SEO from '../layout/seo';
// @todo, implement sidebar on this template
import OmniSidebarNav from '../components/omniSidebarNav';
-
import {
Container,
FlexContainer,
@@ -44,13 +43,10 @@ class LandingTemplate extends Component {
containerWidth={containerWidth}
footerBorder={topic.footer_border}
>
- <SEO title={topic.title}
- slot="seo"
- />
+ <SEO title={topic.title} slot="seo" />
<OmniSidebarNav slot="guide-menu" activePage={topic.path} />
-
- <main id="docs-main" slot="guide-content" tabIndex="-1">
+ <main id="docs-main" slot="guide-content" tabIndex="-1">
<Container width={containerWidth} className="landing-page__header">
<FlexContainer
alignItems="center" |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
⚡ Deployed with Pantheon Decoupled This build was successfully deployed with Pantheon. You can track the build logs here. 👀 Preview: https://pr-9097-documentation.appa.pantheon.site |
No description provided.