|
1 | | -import React from 'react'; |
2 | | -import clsx from 'clsx'; |
3 | | -import Link from '@docusaurus/Link'; |
4 | | -import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; |
5 | | -import Layout from '@theme/Layout'; |
6 | | -import HomepageFeatures from '@site/src/components/HomepageFeatures'; |
| 1 | +import React from 'react' |
| 2 | +import clsx from 'clsx' |
| 3 | +import Link from '@docusaurus/Link' |
| 4 | +import useDocusaurusContext from '@docusaurus/useDocusaurusContext' |
| 5 | +import Layout from '@theme/Layout' |
7 | 6 |
|
8 | | -import styles from './index.module.css'; |
| 7 | +import styles from './index.module.css' |
| 8 | +import ContentCard from '../components/ContentCard' |
| 9 | + |
| 10 | +const featureContentData = [ |
| 11 | + { |
| 12 | + title: 'Introduction to SCS', |
| 13 | + body: 'Get to know SCS better and learn about the background.', |
| 14 | + url: '/docs', |
| 15 | + buttonText: 'Get Started' |
| 16 | + }, |
| 17 | + { |
| 18 | + title: 'Releases', |
| 19 | + body: 'SCS is currently in Release 5. Check out the latest Release Notes.', |
| 20 | + url: '/docs/releases/Release5', |
| 21 | + buttonText: 'Learn More' |
| 22 | + }, |
| 23 | + { |
| 24 | + title: 'Frequently Asked Questions', |
| 25 | + body: 'You are curious what SCS is all about, what it can do and what it cant?', |
| 26 | + url: '/docs/faq', |
| 27 | + buttonText: 'Get Answers' |
| 28 | + }, |
| 29 | + { |
| 30 | + title: 'Existing Public Clouds', |
| 31 | + body: 'There are public SCS compliant clouds in production.', |
| 32 | + url: '/standards/certification/overview#compliant-cloud-environments', |
| 33 | + buttonText: 'Test Them' |
| 34 | + } |
| 35 | +] |
| 36 | + |
| 37 | +const AdditionalResourcesData = [ |
| 38 | + { |
| 39 | + title: 'Get in touch', |
| 40 | + body: 'Come into our Matrix Chat in the SCS | Tech Room.', |
| 41 | + url: 'https://matrix.to/#/#scs-tech:matrix.org', |
| 42 | + buttonText: 'Join Now' |
| 43 | + }, |
| 44 | + { |
| 45 | + title: 'Come to our Meet-Ups', |
| 46 | + body: 'Our working groups and special interest groups meet weekly or biweekly. When? Find out within our public community calendar.', |
| 47 | + url: '/community/calendar', |
| 48 | + buttonText: 'Learn More' |
| 49 | + }, |
| 50 | + { |
| 51 | + title: 'Standardization in progress', |
| 52 | + body: 'Get to know our current Decision Records and Standards.', |
| 53 | + url: '/standards', |
| 54 | + buttonText: 'Start Now' |
| 55 | + }, |
| 56 | + { |
| 57 | + title: 'Deployment Examples', |
| 58 | + body: 'Get to know different ways to deploy SCS with cloud resources or on bare metal.', |
| 59 | + url: '/docs/category/deployment-examples', |
| 60 | + buttonText: 'Explore Cases' |
| 61 | + } |
| 62 | +] |
9 | 63 |
|
10 | 64 | function HomepageHeader() { |
11 | | - const {siteConfig} = useDocusaurusContext(); |
| 65 | + const { siteConfig } = useDocusaurusContext() |
12 | 66 | return ( |
13 | 67 | <header className={clsx('hero hero--primary', styles.heroBanner)}> |
14 | 68 | <div className="container"> |
15 | 69 | <h1 className="hero__title">{siteConfig.title}</h1> |
16 | 70 | <p className="hero__subtitle">{siteConfig.tagline}</p> |
17 | 71 | <div className={styles.buttons}> |
18 | | - <Link |
19 | | - className="button button--secondary button--lg" |
20 | | - to="/docs"> |
| 72 | + <Link className="button button--secondary button--lg" to="/docs"> |
21 | 73 | Get Started |
22 | 74 | </Link> |
23 | 75 | </div> |
24 | 76 | </div> |
25 | 77 | </header> |
26 | | - ); |
| 78 | + ) |
27 | 79 | } |
28 | 80 |
|
29 | 81 | export default function Home(): JSX.Element { |
30 | 82 | return ( |
31 | | - <Layout description='Documentation and Community Platform for the Sovereign Cloud Stack'> |
32 | | - <HomepageHeader /> |
| 83 | + <Layout description="Documentation and Community Platform for the Sovereign Cloud Stack"> |
33 | 84 | <main> |
34 | | - <HomepageFeatures /> |
| 85 | + <div className="container"> |
| 86 | + <div className="row" style={{ marginTop: '2rem' }}> |
| 87 | + <div className="col col--12"> |
| 88 | + <h1>Welcome to the SCS Documentation</h1> |
| 89 | + <p> |
| 90 | + Find user guides, code samples, deployment examples, reference, |
| 91 | + community pages and more. |
| 92 | + </p> |
| 93 | + </div> |
| 94 | + </div> |
| 95 | + <div className="row"> |
| 96 | + {featureContentData.map((card, index) => ( |
| 97 | + <div className="col col--3" key={index}> |
| 98 | + <ContentCard |
| 99 | + maxHeight |
| 100 | + title={card.title} |
| 101 | + body={card.body} |
| 102 | + url={card.url} |
| 103 | + buttonText={card.buttonText} |
| 104 | + /> |
| 105 | + </div> |
| 106 | + ))} |
| 107 | + </div> |
| 108 | + <div className="row" style={{ marginTop: '3rem' }}> |
| 109 | + <div className="col col--12"> |
| 110 | + <h1>Architectural Layers</h1> |
| 111 | + </div> |
| 112 | + <div className={`${styles.gradient} row`}> |
| 113 | + <div className="col col--3"> |
| 114 | + <ContentCard |
| 115 | + maxHeight |
| 116 | + title="Ops Layer" |
| 117 | + body="Tooling and infrastructure design for easy, efficient and transparent ways to operate an SCS Cloud." |
| 118 | + buttonText="Learn More" |
| 119 | + url="/docs/category/operating-scs" |
| 120 | + /> |
| 121 | + </div> |
| 122 | + <div className="col col--6"> |
| 123 | + <div style={{ marginBottom: '3rem' }}> |
| 124 | + <ContentCard |
| 125 | + title="Container Layer" |
| 126 | + body="SCS offers a robust solution for managing container workloads on a Kubernetes infrastructure." |
| 127 | + buttonText="Learn More" |
| 128 | + url="/docs/container" |
| 129 | + maxHeight |
| 130 | + /> |
| 131 | + </div> |
| 132 | + <ContentCard |
| 133 | + title="IaaS Layer" |
| 134 | + body="SCS offers OpenStack infrastructure solutions based on KVM virutalization to deploy VM workloads and enabling the container layer optionally." |
| 135 | + buttonText="Learn More" |
| 136 | + url="/docs/category/iaas-layer" |
| 137 | + /> |
| 138 | + </div> |
| 139 | + <div className="col col--3"> |
| 140 | + <ContentCard |
| 141 | + maxHeight |
| 142 | + title="IAM Layer" |
| 143 | + body="Working on Keycloak federated identity provider within our Team IAM." |
| 144 | + buttonText="Learn More" |
| 145 | + url="/docs/category/identity-and-access-management-iam" |
| 146 | + /> |
| 147 | + </div> |
| 148 | + </div> |
| 149 | + </div> |
| 150 | + <div className="row" style={{ marginTop: '3rem' }}> |
| 151 | + <div className="col col--12"> |
| 152 | + <h1>Additional Resources</h1> |
| 153 | + </div> |
| 154 | + </div> |
| 155 | + <div className="row" style={{ marginBottom: '5rem' }}> |
| 156 | + {AdditionalResourcesData.map((card, index) => ( |
| 157 | + <div className="col col--3" key={index}> |
| 158 | + <ContentCard |
| 159 | + maxHeight |
| 160 | + title={card.title} |
| 161 | + body={card.body} |
| 162 | + url={card.url} |
| 163 | + buttonText={card.buttonText} |
| 164 | + /> |
| 165 | + </div> |
| 166 | + ))} |
| 167 | + </div> |
| 168 | + </div> |
35 | 169 | </main> |
36 | 170 | </Layout> |
37 | | - ); |
| 171 | + ) |
38 | 172 | } |
0 commit comments