diff --git a/README.md b/README.md index e85c35a..d7c2492 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ### Prerequisities -a. Download `stackql` locally (see [downloads](https://stackql.io/downloads)). +a. Download `stackql` locally (see [downloads](https://stackql.io/install)). b. Create a least priveleged role for your `stackql` service account. c. Create a [Snowflake PAT](https://docs.snowflake.com/developer-guide/snowflake-rest-api/authentication#using-a-programmatic-access-token-pat) for the role created in (b). d. Export the following environment variable: diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index 3ae73c6..3a5f383 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -72,15 +72,15 @@ const config = { navbar: { logo: { alt: 'StackQL Registry', - href: 'https://stackql.io/', + href: '/providers', src: 'img/stackql-registry-logo.svg', srcDark: 'img/stackql-registry-logo-white.svg', }, items: [ { - to: '/stackqldocs', + to: '/install', position: 'left', - label: 'StackQL Docs', + label: 'Install', }, { to: '/deploy', @@ -88,53 +88,67 @@ const config = { label: 'stackql-deploy', }, { - to: '/registry', + to: '/providers', type: 'dropdown', label: 'StackQL Providers', position: 'left', items: [ { label: 'AWS', - to: '/registry/aws', + to: '/providers/aws', }, { label: 'Azure', - to: '/registry/azure', + to: '/providers/azure', }, { label: 'Google', - to: '/registry/google', + to: '/providers/google', }, { label: 'GitHub', - to: '/registry/github', + to: '/providers/github', }, { label: 'Kubernetes', - to: '/registry/k8s', + to: '/providers/k8s', }, { label: 'Okta', - to: '/registry/okta', + to: '/providers/okta', }, { label: 'DigitalOcean', - to: '/registry/digitalocean', + to: '/providers/digitalocean', }, { label: 'Linode', - to: '/registry/linode', + to: '/providers/linode', }, { label: '... More', - to: '/registry', - }, + to: '/providers', + }, ] }, { - to: '/downloads', + type: 'dropdown', + label: 'More', position: 'left', - label: 'Downloads', + items: [ + { + to: '/stackqldocs', + label: 'StackQL Docs', + }, + { + to: '/blog', + label: 'Blog', + }, + { + to: '/tutorials', + label: 'Tutorials', + }, + ], }, { href: 'https://github.com/stackql/stackql', @@ -148,7 +162,7 @@ const config = { style: 'dark', logo: { alt: 'StackQL', - href: 'https://stackql.io/', + href: 'https://stackql.io/providers', src: 'img/stackql-registry-logo.svg', srcDark: 'img/stackql-registry-logo-white.svg', }, @@ -157,16 +171,12 @@ const config = { title: 'StackQL', items: [ { - label: 'Home', - to: '/home', - }, - { - label: 'Features', - to: '/features', + label: 'Documentation', + to: '/stackqldocs', }, { - label: 'Downloads', - to: '/downloads', + label: 'Install', + to: '/install', }, { label: 'Contact us', @@ -178,17 +188,21 @@ const config = { title: 'More', items: [ { - label: 'StackQL Docs', - to: '/stackqldocs', + label: 'Providers', + to: '/providers', }, { - label: 'Providers', - to: '/registry', + label: 'StackQL Deploy', + to: '/deploy', }, { label: 'Blog', to: '/blog', }, + { + label: 'Tutorials', + to: '/tutorials', + }, ], }, ], diff --git a/website/sidebars.js b/website/sidebars.js index a296e03..8163755 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -24,7 +24,7 @@ const providerTitle = config.title.replace(/^StackQL /, '').replace(/ Provider$/ { type: 'link', label: 'All Providers', - href: '/registry', + href: '/providers', }, { type: 'category', diff --git a/website/src/pages/downloads.js b/website/src/pages/install.js similarity index 73% rename from website/src/pages/downloads.js rename to website/src/pages/install.js index 19499d1..341a4bb 100644 --- a/website/src/pages/downloads.js +++ b/website/src/pages/install.js @@ -1,10 +1,10 @@ -import React from 'react'; -import Head from '@docusaurus/Head'; - -export default function Downloads() { - return ( -
- - - ); +import React from 'react'; +import Head from '@docusaurus/Head'; + +export default function Install() { + return ( + + + + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/aws.js b/website/src/pages/providers/aws.js similarity index 60% rename from website/src/pages/registry/aws.js rename to website/src/pages/providers/aws.js index 3bdb1d8..780099a 100644 --- a/website/src/pages/registry/aws.js +++ b/website/src/pages/providers/aws.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/azure.js b/website/src/pages/providers/azure.js similarity index 59% rename from website/src/pages/registry/azure.js rename to website/src/pages/providers/azure.js index a7c28ee..467f77a 100644 --- a/website/src/pages/registry/azure.js +++ b/website/src/pages/providers/azure.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/digitalocean.js b/website/src/pages/providers/digitalocean.js similarity index 58% rename from website/src/pages/registry/digitalocean.js rename to website/src/pages/providers/digitalocean.js index fb60913..b6427ec 100644 --- a/website/src/pages/registry/digitalocean.js +++ b/website/src/pages/providers/digitalocean.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/github.js b/website/src/pages/providers/github.js similarity index 59% rename from website/src/pages/registry/github.js rename to website/src/pages/providers/github.js index 8825c68..b425c6c 100644 --- a/website/src/pages/registry/github.js +++ b/website/src/pages/providers/github.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/google.js b/website/src/pages/providers/google.js similarity index 59% rename from website/src/pages/registry/google.js rename to website/src/pages/providers/google.js index 697ad66..01fe8b7 100644 --- a/website/src/pages/registry/google.js +++ b/website/src/pages/providers/google.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/features.js b/website/src/pages/providers/index.js similarity index 72% rename from website/src/pages/features.js rename to website/src/pages/providers/index.js index 8887bd1..9afaa02 100644 --- a/website/src/pages/features.js +++ b/website/src/pages/providers/index.js @@ -1,10 +1,10 @@ -import React from 'react'; -import Head from '@docusaurus/Head'; - -export default function Features() { - return ( - - - - ); +import React from 'react'; +import Head from '@docusaurus/Head'; + +export default function Providers() { + return ( + + + + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/k8s.js b/website/src/pages/providers/k8s.js similarity index 60% rename from website/src/pages/registry/k8s.js rename to website/src/pages/providers/k8s.js index 8e2e32d..ef13e26 100644 --- a/website/src/pages/registry/k8s.js +++ b/website/src/pages/providers/k8s.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/linode.js b/website/src/pages/providers/linode.js similarity index 59% rename from website/src/pages/registry/linode.js rename to website/src/pages/providers/linode.js index 4a63caa..5b97384 100644 --- a/website/src/pages/registry/linode.js +++ b/website/src/pages/providers/linode.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/okta.js b/website/src/pages/providers/okta.js similarity index 60% rename from website/src/pages/registry/okta.js rename to website/src/pages/providers/okta.js index 0ce2390..cdddc72 100644 --- a/website/src/pages/registry/okta.js +++ b/website/src/pages/providers/okta.js @@ -4,7 +4,7 @@ import Head from '@docusaurus/Head'; export default function Registry() { return ( - + ); }; \ No newline at end of file diff --git a/website/src/pages/registry/awscc.js b/website/src/pages/registry/awscc.js deleted file mode 100644 index 3bdb1d8..0000000 --- a/website/src/pages/registry/awscc.js +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import Head from '@docusaurus/Head'; - -export default function Registry() { - return ( - - - - ); -}; \ No newline at end of file diff --git a/website/src/pages/registry/index.js b/website/src/pages/registry/index.js deleted file mode 100644 index a985c4f..0000000 --- a/website/src/pages/registry/index.js +++ /dev/null @@ -1,10 +0,0 @@ -import React from 'react'; -import Head from '@docusaurus/Head'; - -export default function Registry() { - return ( - - - - ); -}; \ No newline at end of file diff --git a/website/src/pages/home.js b/website/src/pages/tutorials.js similarity index 72% rename from website/src/pages/home.js rename to website/src/pages/tutorials.js index 18bef7c..2bb5f07 100644 --- a/website/src/pages/home.js +++ b/website/src/pages/tutorials.js @@ -1,10 +1,10 @@ -import React from 'react'; -import Head from '@docusaurus/Head'; - -export default function Home() { - return ( - - - - ); +import React from 'react'; +import Head from '@docusaurus/Head'; + +export default function Tutorials() { + return ( + + + + ); }; \ No newline at end of file