From 8479fdfdfd10e8c43b73adea4fcb23b59f680879 Mon Sep 17 00:00:00 2001 From: Carlos Granados Date: Tue, 25 Aug 2026 15:45:19 +0200 Subject: [PATCH] update home page hero and feature strip --- src/components/HomeFeatureStrip/index.js | 18 +++++++++--------- src/components/HomeHero/index.js | 14 +++++++++----- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/components/HomeFeatureStrip/index.js b/src/components/HomeFeatureStrip/index.js index 5f7bd77..e023f05 100644 --- a/src/components/HomeFeatureStrip/index.js +++ b/src/components/HomeFeatureStrip/index.js @@ -22,13 +22,13 @@ const features = [ ), }, { - title: 'Powerful Features', - text: 'Breakpoints, watches, step debugging, and more.', + title: 'Fully Compatible', + text: 'Your existing settings and IDE setup keep working.', icon: ( - - - + + + ), }, @@ -43,12 +43,12 @@ const features = [ ), }, { - title: 'Zero Dependencies', - text: 'A single Zend extension. Nothing else to install.', + title: 'Always Available', + text: 'Leave it on. It costs almost nothing until you debug.', icon: ( - - + + ), }, diff --git a/src/components/HomeHero/index.js b/src/components/HomeHero/index.js index c5e5a13..c5a78dc 100644 --- a/src/components/HomeHero/index.js +++ b/src/components/HomeHero/index.js @@ -1,14 +1,19 @@ import Link from '@docusaurus/Link'; import ThemedImage from '@theme/ThemedImage'; import useBaseUrl from '@docusaurus/useBaseUrl'; +import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; import styles from './styles.module.css'; export default function HomeHero() { + /* Resolved from the latest GitHub release at build time -- see + docusaurus.config.js. Hardcoding it here meant the badge drifted. */ + const {siteConfig} = useDocusaurusContext(); return (
- {'{•}'} v1.3.0 + {'{•}'}{' '} + {`v${siteConfig.customFields.debuggerVersion}`}

Zero-overhead debugging for PHP @@ -17,7 +22,7 @@ export default function HomeHero() { A lightweight, powerful debugger that doesn't slow you down.

- + >_ Quick Start
- ⭐ 1.4k+ stars - ⚖️ MIT License - 🐘 PHP 7.4+ + 💚 Free and Open Source + 🐘 PHP 8.2+