From f877929c331c5e271f68353e6f1e91f31cb6177b Mon Sep 17 00:00:00 2001
From: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
Date: Wed, 20 Mar 2024 15:25:55 +0100
Subject: [PATCH] Restructured front page
Signed-off-by: Janos Bonic <86970079+janosdebugs@users.noreply.github.com>
---
docusaurus.config.ts | 8 +++---
download.mdx | 0
src/components/GetStarted/index.tsx | 42 +++++++++++++++++++++++++++++
src/components/Hero/index.tsx | 12 ++++-----
src/components/Home/index.tsx | 8 ++----
5 files changed, 54 insertions(+), 16 deletions(-)
create mode 100644 download.mdx
create mode 100644 src/components/GetStarted/index.tsx
diff --git a/docusaurus.config.ts b/docusaurus.config.ts
index a93b1348..e390c837 100644
--- a/docusaurus.config.ts
+++ b/docusaurus.config.ts
@@ -232,13 +232,13 @@ const config: Config = {
hideOnScroll: true,
items: [
{
- to: "/manifesto",
- label: "Manifesto",
+ to: "/getting-started",
+ label: "Getting started",
position: "left",
},
{
- to: "/supporters",
- label: "Supporters",
+ to: "/download",
+ label: "Download",
position: "left",
},
{
diff --git a/download.mdx b/download.mdx
new file mode 100644
index 00000000..e69de29b
diff --git a/src/components/GetStarted/index.tsx b/src/components/GetStarted/index.tsx
new file mode 100644
index 00000000..67116b00
--- /dev/null
+++ b/src/components/GetStarted/index.tsx
@@ -0,0 +1,42 @@
+import React from "react";
+
+
+
+export default function GetStarted() {
+ return (
+
+ Learn the fundamentals of Infrastructure-as-Code in
+ this high level guide, understand why IaC is so powerful, and how OpenTofu can help.
+
+ For newcomers to infrastructure as code an OpenTofu, this hands-on guide runs you through the
+ basics of creating your first server with OpenTofu.
+
+ If you already have experience with Terraform but want to migrate to OpenTofu, this is for you.
+ Tried and tested migration paths from Terraform to OpenTofu.
+
+ Reference manual for those in need of a quick lookup.
+
+ Which of these best describes you?
+
+ I want a high-level overview
+ I'm new to OpenTofu
+ I'm migrating from Terraform
+ Just give me the docs
+
- Previously named OpenTF, OpenTofu is a fork of Terraform that is - open-source, community-driven, and managed by the Linux Foundation. + OpenTofu is a community-driven infrastructure-as-code tool that lets you + declaratively create and manage your cloud infrastructure.