From ae1b69735986bce204d47443da0e7aa4e02be86d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Espi=C3=B1a?= Date: Sat, 17 Oct 2026 15:10:55 +0200 Subject: [PATCH] feat: one call to action for the hero and the end, and a copyright in the footer The closing section repeated the hero's links under other names and added a note on 1.0 and a link to npm that nobody follows. Both now render the same block, with the links centred under the install command. The closing line no longer lists databases, which the page does not do anywhere else. --- src/components/actions.astro | 41 +++++++++++++++++++++++++++++++ src/components/footer.astro | 13 +++++++++- src/components/landing/cta.astro | 31 +++-------------------- src/components/landing/hero.astro | 27 ++------------------ 4 files changed, 58 insertions(+), 54 deletions(-) create mode 100644 src/components/actions.astro diff --git a/src/components/actions.astro b/src/components/actions.astro new file mode 100644 index 0000000..279598d --- /dev/null +++ b/src/components/actions.astro @@ -0,0 +1,41 @@ +--- +import Install from "./install.astro"; + +// The page's one call to action, the same where the hero ends and where the page does. +const attributes = Astro.props; +--- + +
+ + +
+ + diff --git a/src/components/footer.astro b/src/components/footer.astro index 6977f4b..5ef6912 100644 --- a/src/components/footer.astro +++ b/src/components/footer.astro @@ -1,10 +1,15 @@ --- import Lockup from "./lockup.astro"; + +const year = new Date().getFullYear(); ---