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/pages/index.js | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 site/src/pages/index.js (limited to 'site/src/pages/index.js') diff --git a/site/src/pages/index.js b/site/src/pages/index.js new file mode 100644 index 00000000..9dd7457c --- /dev/null +++ b/site/src/pages/index.js @@ -0,0 +1,44 @@ +import React from 'react' +import clsx from 'clsx' +import Link from '@docusaurus/Link' +import useDocusaurusContext from '@docusaurus/useDocusaurusContext' +import Layout from '@theme/Layout' +import HomepageInto from '@site/src/components/HomepageIntro' +import HomepageFeatures from '@site/src/components/HomepageFeatures' + +import styles from './index.module.css' +import Logo from '@site/static/img/logo.svg' + +function HomepageHeader() { + const { siteConfig } = useDocusaurusContext() + return ( +
+
+

{siteConfig.title}

+

{siteConfig.tagline}

+ +
+ + Getting Started with OpenDC - 10min ⏱️ + +
+
+
+ ) +} + +export default function Home() { + const { siteConfig } = useDocusaurusContext() + return ( + + +
+ + +
+
+ ) +} -- cgit v1.2.3