From 45739ce070c603b72ce1488cdb569afc6eedb826 Mon Sep 17 00:00:00 2001 From: Damian Stasik <920747+damianstasik@users.noreply.github.com> Date: Tue, 14 May 2024 12:47:50 +0200 Subject: [PATCH] Make cards clickable Signed-off-by: Damian Stasik <920747+damianstasik@users.noreply.github.com> --- src/components/GetStarted/index.tsx | 86 ++++++++++++++++------------- 1 file changed, 49 insertions(+), 37 deletions(-) diff --git a/src/components/GetStarted/index.tsx b/src/components/GetStarted/index.tsx index 67116b00..0a5e2d09 100644 --- a/src/components/GetStarted/index.tsx +++ b/src/components/GetStarted/index.tsx @@ -1,42 +1,54 @@ +import Link from "@docusaurus/Link"; import React from "react"; - +function LinkCard({ + title, + description, + path, +}: { + title: string; + description: string; + path: string; +}) { + return ( +
+ + + {title} + +

{description}

+
+ ); +} export default function GetStarted() { - return ( -
-

- Which of these best describes you? -

-
-
-

I want a high-level overview

-

- Learn the fundamentals of Infrastructure-as-Code in - this high level guide, understand why IaC is so powerful, and how OpenTofu can help. -

-
-
-

I'm new to OpenTofu

-

- For newcomers to infrastructure as code an OpenTofu, this hands-on guide runs you through the - basics of creating your first server with OpenTofu. -

-
-
-

I'm migrating from Terraform

-

- 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. -

-
-
-

Just give me the docs

-

- Reference manual for those in need of a quick lookup. -

-
-
-
- ); + return ( +
+

+ Which of these best describes you? +

+
+ + + + +
+
+ ); }