From 16b47e143924348c9cd18d131a8bb52e9af56027 Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Fri, 10 Apr 2026 01:20:42 +0100 Subject: [PATCH 1/5] refactor: remove featured label from posts and talks --- src/components/PostCard.astro | 14 ++------------ src/pages/index.astro | 2 -- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/components/PostCard.astro b/src/components/PostCard.astro index 2c4ae15..0a0f404 100644 --- a/src/components/PostCard.astro +++ b/src/components/PostCard.astro @@ -6,10 +6,9 @@ interface Props { description?: string; pubDate: Date; href: string; - featured?: boolean; } -const { title, description, pubDate, href, featured = false } = Astro.props; +const { title, description, pubDate, href } = Astro.props; ---
  • @@ -18,16 +17,7 @@ const { title, description, pubDate, href, featured = false } = Astro.props; class="group text-gray-1100 hover:text-gray-1200 transition-colors" >
    -
    - {title} - { - featured && ( - - Featured - - ) - } -
    + {title} diff --git a/src/pages/index.astro b/src/pages/index.astro index c578eb5..1ab5c1f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -68,7 +68,6 @@ import "../styles/base.css"; description={post.data.description} pubDate={post.data.pubDate} href={`/writing/${post.id}/`} - featured={index === 0} /> )) } @@ -86,7 +85,6 @@ import "../styles/base.css"; description={talk.data.description} pubDate={talk.data.pubDate} href={`/talks/${talk.id}/`} - featured={index === 0} /> )) } From f93e26cf91ec067ff8ce5074a862f0779a10b86c Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Fri, 10 Apr 2026 01:23:24 +0100 Subject: [PATCH 2/5] refactor: increase section spacing, remove dates from homepage cards --- src/components/PostCard.astro | 12 ++---------- src/layouts/BaseLayout.astro | 2 +- src/pages/index.astro | 2 -- 3 files changed, 3 insertions(+), 13 deletions(-) diff --git a/src/components/PostCard.astro b/src/components/PostCard.astro index 0a0f404..00da469 100644 --- a/src/components/PostCard.astro +++ b/src/components/PostCard.astro @@ -1,14 +1,11 @@ --- -import FormattedDate from "./FormattedDate.astro"; - interface Props { title: string; description?: string; - pubDate: Date; href: string; } -const { title, description, pubDate, href } = Astro.props; +const { title, description, href } = Astro.props; ---
  • @@ -16,12 +13,7 @@ const { title, description, pubDate, href } = Astro.props; href={href} class="group text-gray-1100 hover:text-gray-1200 transition-colors" > -
    - {title} - - - -
    + {title} { description && ( diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 002773e..8662799 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -9,7 +9,7 @@ import Header from "../components/Header.astro";
    -
    +
    diff --git a/src/pages/index.astro b/src/pages/index.astro index 1ab5c1f..4a43f68 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -66,7 +66,6 @@ import "../styles/base.css"; )) @@ -83,7 +82,6 @@ import "../styles/base.css"; )) From f6a6544c2901d5e05cb8bf441e3687f9603ae9de Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Fri, 10 Apr 2026 01:27:11 +0100 Subject: [PATCH 3/5] style: increase homepage section gap to space-y-16 --- src/layouts/BaseLayout.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 8662799..43924c0 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -9,7 +9,7 @@ import Header from "../components/Header.astro";
    -
    +
    From 7060cdbe7ed2a9efa00ca7240a11b3362a0b365c Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Fri, 10 Apr 2026 01:34:11 +0100 Subject: [PATCH 4/5] chore: remove unecessary group class --- src/components/PostCard.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/PostCard.astro b/src/components/PostCard.astro index 00da469..c69979f 100644 --- a/src/components/PostCard.astro +++ b/src/components/PostCard.astro @@ -11,7 +11,7 @@ const { title, description, href } = Astro.props;
  • {title} { From 810774a8ee4871312f3110498c11afcf4300a37e Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Fri, 10 Apr 2026 01:54:28 +0100 Subject: [PATCH 5/5] style: polish --- src/components/LedgerLabel.astro | 2 +- src/layouts/BaseLayout.astro | 7 +++++-- src/pages/index.astro | 16 +++++----------- src/pages/talks.astro | 6 +++--- src/pages/writing.astro | 6 +++--- src/styles/base.css | 3 --- 6 files changed, 17 insertions(+), 23 deletions(-) diff --git a/src/components/LedgerLabel.astro b/src/components/LedgerLabel.astro index 56ec378..e267dd4 100644 --- a/src/components/LedgerLabel.astro +++ b/src/components/LedgerLabel.astro @@ -7,7 +7,7 @@ interface Props { const { as: Tag = "span", href, class: className } = Astro.props as Props; const classes = - "text-ledger-muted font-sans text-sm font-medium uppercase tracking-wide leading-6"; + "text-gray-1000 font-sans text-sm font-medium uppercase tracking-wide leading-6"; const classList = [classes, className]; --- diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 43924c0..6a772fd 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -2,9 +2,9 @@ import Header from "../components/Header.astro"; --- - +
    @@ -13,6 +13,9 @@ import Header from "../components/Header.astro";
    +