summaryrefslogtreecommitdiff
path: root/site/src/components/HomepageFeatures/index.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2022-08-04 16:40:44 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2022-09-13 16:15:59 +0200
commitfdc3200ef4718eb98bd8a713f956222a9bf85ac9 (patch)
tree4fa8e5998bd4ee59397b26222846c554b73abe4e /site/src/components/HomepageFeatures/index.js
parent8a94318aad4b4fa188ac49e887d564867a00111e (diff)
docs: Add initial version of Docusaurus based docs
This change updates the repository with a new Docusaurus-based documentation website. This allows us to create our documentation using Markdown, MDX and React. This will serve as the main entry point for users visiting https://opendc.org. The actual OpenDC application will be moved to https://app.opendc.org.
Diffstat (limited to 'site/src/components/HomepageFeatures/index.js')
-rw-r--r--site/src/components/HomepageFeatures/index.js71
1 files changed, 71 insertions, 0 deletions
diff --git a/site/src/components/HomepageFeatures/index.js b/site/src/components/HomepageFeatures/index.js
new file mode 100644
index 00000000..5beee68d
--- /dev/null
+++ b/site/src/components/HomepageFeatures/index.js
@@ -0,0 +1,71 @@
+import React from 'react'
+import clsx from 'clsx'
+import styles from './styles.module.css'
+
+const FeatureList = [
+ {
+ title: 'Easy to Use',
+ Svg: () => <img src={require('./screenshot-construction.png').default} alt="Building a datacenter in OpenDC" />,
+ description: (
+ <>
+ OpenDC is designed from the ground up to be easily installed and used via its online interface to get
+ your experiments running quickly.
+ </>
+ ),
+ },
+ {
+ title: 'Versatile Models',
+ Svg: () => (
+ <img src={require('./screenshot-explore.png').default} alt="Explore alternative scenarios with OpenDC" />
+ ),
+ description: (
+ <>
+ Explore scenarios around emerging datacenter technologies such as <em>cloud computing</em>,{' '}
+ <em>serverless computing</em>, <em>big data</em>, and <em>machine learning</em>.
+ </>
+ ),
+ },
+ {
+ title: 'Simplified Analysis',
+ Svg: () => (
+ <img
+ src={require('./screenshot-results.png').default}
+ alt="Automated plots and visual summaries generated by OpenDC"
+ />
+ ),
+ description: (
+ <>
+ Investigate datacenter performance using the automated plots and visual summaries provided
+ out-of-the-box by OpenDC.
+ </>
+ ),
+ },
+]
+
+function Feature({ Svg, title, description }) {
+ return (
+ <div className={clsx('col col--4')}>
+ <div className="text--center">
+ <Svg className={styles.featureSvg} role="img" />
+ </div>
+ <div className="text--center padding-horiz--md">
+ <h3>{title}</h3>
+ <p>{description}</p>
+ </div>
+ </div>
+ )
+}
+
+export default function HomepageFeatures() {
+ return (
+ <section className={styles.features}>
+ <div className="container">
+ <div className="row">
+ {FeatureList.map((props, idx) => (
+ <Feature key={idx} {...props} />
+ ))}
+ </div>
+ </div>
+ </section>
+ )
+}