From efc2ad7da42d0ea2cd0bebf23b64c8efcf868883 Mon Sep 17 00:00:00 2001 From: Felix Klement Date: Sun, 4 Oct 2026 20:38:57 +0200 Subject: [PATCH] asdf --- src/components/home/Insights.astro | 11 +----- src/components/home/Proof.astro | 62 +++++++----------------------- src/i18n/ui.ts | 10 ++--- src/pages/_InsightsIndex.astro | 6 +-- src/pages/_Team.astro | 17 +++++++- src/styles/base.css | 13 +++++++ src/styles/tokens.css | 3 ++ 7 files changed, 54 insertions(+), 68 deletions(-) diff --git a/src/components/home/Insights.astro b/src/components/home/Insights.astro index 7298440..8c2efe1 100644 --- a/src/components/home/Insights.astro +++ b/src/components/home/Insights.astro @@ -6,7 +6,7 @@ import { localePath, t, type Lang } from '../../i18n/ui'; interface Props { lang: Lang } const { lang } = Astro.props; const ui = t(lang); -const feed = (await getFeed()).slice(0, 2); +const feed = (await getFeed()).slice(0, 3); const m = ui.insights.mention; ---
@@ -44,13 +44,6 @@ const m = ui.insights.mention; )} ))} -
  • - - {ui.insights.event.when} -

    {ui.insights.event.category}

    -

    {ui.insights.event.text}

    -
    -
  • @@ -78,7 +71,7 @@ const m = ui.insights.mention; .insights__card:hover h3 { text-decoration: underline; text-decoration-thickness: var(--hairline); text-underline-offset: 0.12em; } .insights__img, :global(.insights__img) { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin-bottom: var(--space-2); } .insights__card h3 { max-width: 18em; } - /* No picture: a colour field carries the source (or the event date) in large type. */ + /* No picture: a colour field carries the source in large type. */ :global(.insights__panel) { aspect-ratio: 3 / 2; margin-bottom: var(--space-2); diff --git a/src/components/home/Proof.astro b/src/components/home/Proof.astro index 6427dcf..df25d5d 100644 --- a/src/components/home/Proof.astro +++ b/src/components/home/Proof.astro @@ -31,27 +31,14 @@ const logos = await Promise.all([
    -

    {ui.proof.partners}

    +

    {ui.proof.partners}

    -
    - - {/* Variant B, for comparison: one column per partner across the full width, with its role. - Keep one of the two and delete the other. */} -
    -

    {ui.proof.partners}

    -