From ce5df0157701fefb81dafd66539b92fe81722fa4 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Sun, 30 Aug 2026 13:33:58 +0200 Subject: [PATCH 01/16] docs(site): redesign homepage around user journeys --- website/.vitepress/components/HomePage.vue | 534 ++++++++++++++++++++- website/src/index.md | 33 +- 2 files changed, 533 insertions(+), 34 deletions(-) diff --git a/website/.vitepress/components/HomePage.vue b/website/.vitepress/components/HomePage.vue index 3c700ac820..e3952c1a11 100644 --- a/website/.vitepress/components/HomePage.vue +++ b/website/.vitepress/components/HomePage.vue @@ -1,22 +1,532 @@ - + diff --git a/website/src/index.md b/website/src/index.md index e051f286d1..fc37776421 100644 --- a/website/src/index.md +++ b/website/src/index.md @@ -4,6 +4,7 @@ description: Task is a fast, cross-platform task runner and build tool that uses a simple YAML Taskfile. layout: home +titleTemplate: false hero: name: Task text: The Modern Task Runner @@ -15,38 +16,26 @@ hero: alt: Task logo actions: - theme: brand - text: Install - link: /docs/installation - - theme: alt text: Get Started link: /docs/getting-started - theme: alt - text: Guide - link: /docs/guide + text: Browse the Reference + link: /docs/reference/schema features: - - title: 30-Second Setup + - title: Readable by design details: - Single binary download, zero dependencies. Works with Homebrew, Snapcraft, - Scoop and more. - icon: πŸš€ + Describe commands, dependencies, and inputs in YAML that the whole team + can understand. + icon: πŸ“– - - title: Truly cross-platform + - title: One workflow everywhere icon: πŸ–₯️ details: - Run the same Taskfile on Linux, macOS and Windows. No extra setup. Task - handles platform quirks so you don’t have to. + Run the same Taskfile on Linux, macOS, Windows, locally, and in CI. - - title: Smart Caching + - title: Only run what changed icon: 🎯 details: - Skip unnecessary rebuilds by tracking file changes (timestamp or - content-based). - - - title: Ideal for code generation & scaffolding - icon: ⚑ - details: - Use Task to wire up codegen tools, formatters, linters, or anything - repetitive. Chain commands, set dependencies, and keep your workflow - clean. + Track sources and generated files to skip work that is already up to date. --- From e209766d52b94b283e6643a54c59e672f77d4d31 Mon Sep 17 00:00:00 2001 From: Valentin Maerten Date: Sun, 30 Aug 2026 13:34:11 +0200 Subject: [PATCH 02/16] docs(site): make homepage responsive and accessible --- website/.vitepress/components/HomePage.vue | 8 ++++- website/.vitepress/theme/custom.css | 39 ++++++++++++++++++++-- 2 files changed, 44 insertions(+), 3 deletions(-) diff --git a/website/.vitepress/components/HomePage.vue b/website/.vitepress/components/HomePage.vue index e3952c1a11..0339bcdac4 100644 --- a/website/.vitepress/components/HomePage.vue +++ b/website/.vitepress/components/HomePage.vue @@ -25,6 +25,12 @@ const copyAnnouncement = computed(() => { return ''; }); +const copyAriaLabel = computed(() => { + if (copyState.value === 'copied') return 'Install command copied'; + if (copyState.value === 'failed') return 'Copy install command again'; + return 'Copy install command'; +}); + function resetCopyState() { window.clearTimeout(copyResetTimer); copyResetTimer = window.setTimeout(() => { @@ -68,7 +74,7 @@ function track(event: string) { {{ installCommand }}