From fdc3200ef4718eb98bd8a713f956222a9bf85ac9 Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Thu, 4 Aug 2022 16:40:44 +0200 Subject: 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. --- site/src/components/HomepageIntro/index.js | 57 ++++++++++++++++++++++ .../src/components/HomepageIntro/styles.module.css | 34 +++++++++++++ 2 files changed, 91 insertions(+) create mode 100644 site/src/components/HomepageIntro/index.js create mode 100644 site/src/components/HomepageIntro/styles.module.css (limited to 'site/src/components/HomepageIntro') diff --git a/site/src/components/HomepageIntro/index.js b/site/src/components/HomepageIntro/index.js new file mode 100644 index 00000000..33df7256 --- /dev/null +++ b/site/src/components/HomepageIntro/index.js @@ -0,0 +1,57 @@ +/* + * Copyright (c) 2022 AtLarge Research + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +import clsx from 'clsx' +import React from 'react' + +import styles from './styles.module.css' +import DatacenterImage from '@site/static/img/datacenter-drawing.png' + +export default function HomepageInto() { + return ( +
+
+
+
+

The datacenter (DC) industry...

+
    +
  • Is worth over $200 bn, and growing
  • +
  • Has many hard-to-grasp concepts
  • +
  • Needs to become accessible to many
  • +
+
+
+ Schematic top-down view of a datacenter +
+
+

OpenDC provides...

+
    +
  • Online cloud DC modeling
  • +
  • Diverse and effective DC simulation
  • +
  • Rapid exploratory DC feedback
  • +
+
+
+
+
+ ) +} diff --git a/site/src/components/HomepageIntro/styles.module.css b/site/src/components/HomepageIntro/styles.module.css new file mode 100644 index 00000000..53c6f1bb --- /dev/null +++ b/site/src/components/HomepageIntro/styles.module.css @@ -0,0 +1,34 @@ +/* + * Copyright (c) 2022 AtLarge Research + * + * Permission is hereby granted, free of charge, to any person obtaining a copy + * of this software and associated documentation files (the "Software"), to deal + * in the Software without restriction, including without limitation the rights + * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell + * copies of the Software, and to permit persons to whom the Software is + * furnished to do so, subject to the following conditions: + * + * The above copyright notice and this permission notice shall be included in all + * copies or substantial portions of the Software. + * + * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR + * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, + * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE + * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER + * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, + * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE + * SOFTWARE. + */ + +.intro { + background: var(--ifm-color-emphasis-100); +} + +.intro > :global(.container) > :global(.row) { + justify-content: center; +} + +.textCol { + align-self: center; + max-width: 350px; +} -- cgit v1.2.3