Skip to content

Commit

Permalink
Hide homepage and redirect to introduction (#69)
Browse files Browse the repository at this point in the history
Co-authored-by: Mihail Iftodi <mihail@spectrocloud.com>
  • Loading branch information
iftodimihail and Mihail Iftodi committed Jun 22, 2020
1 parent 9e763fe commit cc10d7f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 28 deletions.
30 changes: 3 additions & 27 deletions packages/docs/content/00-index.mdx
Original file line number Diff line number Diff line change
@@ -1,36 +1,12 @@
---
title: "Home"
metaTitle: "This is the title tag of this page"
metaDescription: "This is the meta description"
metaTitle: "Spectro Cloud"
metaDescription: "Spectro Cloud provides scalable, policy-based cluster management of Kubernetes for enterprises that need a high degree of control over their infrastructure, whether it is in public cloud, private cloud, bare metal or any combination. Enterprises can define the enterprise Kubernetes stack they need while still gaining the efficiencies of automation at scale."
icon: "folder"
hideToC: true
fullWidth: true
hiddenFromNav: false
hiddenFromNav: true
isIntegration: false
category: []
hideToCSidebar: true
---
import {Intro, IntroButtons} from "@librarium/shared/src/components"
import {Layout} from "@librarium/shared"


<Intro>

# Documentation

## Interactive tutorial

Your enterprise is unique, so use exactly the components you need, not what a vendor forces on you.

Have different groups with different needs? Give everyone the infrastructure stack that suits them without giving up the tools you need to operate at scale.

<IntroButtons />
</Intro>
<Layout.ContentWrap>

## Other content

Have different groups with different needs? Give everyone the infrastructure stack that suits them without giving up the tools you need to operate at scale.
Your enterprise is unique, so use exactly the components you need, not what a vendor forces on you.

</Layout.ContentWrap>
1 change: 1 addition & 0 deletions packages/docs/content/01-introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ metaDescription: "A brief introduction to Spectro Cloud"
icon: "graph"
hideToC: true
fullWidth: false
hideToCSidebar: true
---

import WarningBox from '@librarium/shared/src/components/WarningBox';
Expand Down
9 changes: 8 additions & 1 deletion packages/website/gatsby-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,14 @@ const startCase = require('lodash.startcase');
const config = require('./config');

exports.createPages = ({ graphql, actions }) => {
const { createPage } = actions;
const { createPage, createRedirect } = actions;

createRedirect({
fromPath: `/`,
toPath: `/introduction`,
redirectInBrowser: true,
isPermanent: true,
})

return new Promise((resolve, reject) => {
resolve(
Expand Down

0 comments on commit cc10d7f

Please sign in to comment.