From 5ae0e0ada5a190113f7fb58fba2f6d62ba7d4796 Mon Sep 17 00:00:00 2001
From: Max Elkins
Date: Wed, 1 Apr 2026 20:18:55 +0100
Subject: [PATCH 1/5] feat: add install component
---
website/src/components/Install.astro | 276 +++++++++++++++++++++++++++
website/src/pages/index.astro | 130 +------------
2 files changed, 282 insertions(+), 124 deletions(-)
create mode 100644 website/src/components/Install.astro
diff --git a/website/src/components/Install.astro b/website/src/components/Install.astro
new file mode 100644
index 0000000..80a769f
--- /dev/null
+++ b/website/src/components/Install.astro
@@ -0,0 +1,276 @@
+
+
+
+
+
+
+
+
+
brew install grega/tap/hdi
+
+
+
+
+
+
curl -fsSL https://raw.githubusercontent.com/grega/hdi/main/hdi \
+ -o ~/.local/bin/hdi && chmod +x ~/.local/bin/hdi
+
+
+
+
+
+
+
+
+
+
diff --git a/website/src/pages/index.astro b/website/src/pages/index.astro
index 119b438..dce7a74 100644
--- a/website/src/pages/index.astro
+++ b/website/src/pages/index.astro
@@ -1,5 +1,6 @@
---
import Layout from "../layouts/Layout.astro";
+import Install from "../components/Install.astro";
import DemoLatte from "../assets/demo-latte.gif";
import DemoMocha from "../assets/demo-mocha.gif";
import { VERSION } from "../data/data";
@@ -51,37 +52,9 @@ import { VERSION } from "../data/data";
-
+
Install
-
-
-
Homebrew
-
-
brew install grega/tap/hdi
-
-
-
-
-
Manual
-
-
curl -fsSL https://raw.githubusercontent.com/grega/hdi/main/hdi \
- -o ~/.local/bin/hdi && chmod +x ~/.local/bin/hdi
-
-
-
-
+
No dependencies, just Bash. Works on macOS and Linux.
@@ -146,26 +119,6 @@ $ hdi
-
-