From 4426c733e731dbc10d963274048ba8de262a6ff0 Mon Sep 17 00:00:00 2001 From: SnapOtter Date: Sat, 11 Jul 2026 11:43:08 +0800 Subject: [PATCH] docs: declutter the docs home hero and fix the enterprise door CTA (#483) The repositioning in #469 pushed the full marketing pitch into the docs home hero: eyebrow badge, marketing h1, a bolded two-sentence value prop, and a second paragraph, all before the install command. The hero now states what the page is and gets out of the way: "SnapOtter Documentation" plus one line that keeps the self-hosted file-processing positioning, then the one-command install and quick links. The Enterprise door CTA said "Evaluate for your org" but linked to /guide/architecture, already the first link in that same card. It now says "See enterprise features" and points at https://snapotter.com/enterprise, where the evaluation journey (features, pricing, demo booking) actually lives. Also repairs the docs homepage e2e spec, which still asserted pre-2.0 copy and has been failing nightly since the hero changed, and adds coverage for both door CTAs. --- apps/docs/.vitepress/theme/DocsHome.vue | 16 +++++----------- tests/e2e-docs/homepage.spec.ts | 16 +++++++++++++--- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/apps/docs/.vitepress/theme/DocsHome.vue b/apps/docs/.vitepress/theme/DocsHome.vue index 516f2e0e..2c3d9e20 100644 --- a/apps/docs/.vitepress/theme/DocsHome.vue +++ b/apps/docs/.vitepress/theme/DocsHome.vue @@ -42,15 +42,10 @@ function copyCommand() {