From 6c4148486f5751efda1903988023725841223cbe Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Sat, 14 Mar 2026 21:16:52 +0000 Subject: [PATCH 1/3] refactor: remove meta/content labels and narrow content width - Remove "Meta" and "Content" labels from blog post and talk pages - Simplify layout by removing grid structure with label column - Reduce max-width from 4xl to 2xl for narrower content - Add mx-auto for content centering Co-Authored-By: Claude Opus 4.6 --- .superset/config.json | 7 +++++++ src/layouts/BaseLayout.astro | 2 +- src/layouts/BlogPost.astro | 9 +++------ src/layouts/Talk.astro | 9 +++------ 4 files changed, 14 insertions(+), 13 deletions(-) create mode 100644 .superset/config.json diff --git a/.superset/config.json b/.superset/config.json new file mode 100644 index 0000000..49e3cd7 --- /dev/null +++ b/.superset/config.json @@ -0,0 +1,7 @@ +{ + "setup": [ + "pnpm install", + "fnm use --install-if-missing || nvm use" + ], + "teardown": [] +} \ No newline at end of file diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index d64a6f1..002773e 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -7,7 +7,7 @@ import Header from "../components/Header.astro"; class="bg-page-bg pointer-events-none fixed top-0 left-0 z-50 h-14 w-full backdrop-blur-xl [-webkit-mask-image:linear-gradient(to_bottom,black,transparent)]" > -
+
diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index aec0092..e065e95 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -3,7 +3,6 @@ import type { CollectionEntry } from "astro:content"; import BaseHead from "../components/BaseHead.astro"; import FormattedDate from "../components/FormattedDate.astro"; import BaseLayout from "../layouts/BaseLayout.astro"; -import LedgerLabel from "../components/LedgerLabel.astro"; type Props = CollectionEntry<"blog">["data"]; @@ -16,9 +15,8 @@ const { title, description, pubDate, updatedDate } = Astro.props; -
-
- +
+

{title}

@@ -33,8 +31,7 @@ const { title, description, pubDate, updatedDate } = Astro.props; }
-
- +
diff --git a/src/layouts/Talk.astro b/src/layouts/Talk.astro index 5869a0b..fa67d7e 100644 --- a/src/layouts/Talk.astro +++ b/src/layouts/Talk.astro @@ -3,7 +3,6 @@ import type { CollectionEntry } from "astro:content"; import BaseHead from "../components/BaseHead.astro"; import FormattedDate from "../components/FormattedDate.astro"; import BaseLayout from "../layouts/BaseLayout.astro"; -import LedgerLabel from "../components/LedgerLabel.astro"; type Props = CollectionEntry<"talks">["data"]; @@ -17,9 +16,8 @@ const { title, description, pubDate, updatedDate, event, slides, recording } = -
-
- +
+

{title}

@@ -61,8 +59,7 @@ const { title, description, pubDate, updatedDate, event, slides, recording } = }
-
- +
From 2aeb34902cdd95e770db106f86013338a4045b1c Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Sat, 14 Mar 2026 21:19:25 +0000 Subject: [PATCH 2/3] chore: run format script --- src/components/SubtleLink.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/SubtleLink.astro b/src/components/SubtleLink.astro index 1d67bf9..36cf2b5 100644 --- a/src/components/SubtleLink.astro +++ b/src/components/SubtleLink.astro @@ -11,7 +11,7 @@ const { href, target } = Astro.props; href={href} target={target} rel="noopener noreferrer" - class="decoration-gray-600 hover:text-gray-1200 hover:decoration-gray-800 underline underline-offset-4 transition-colors" + class="hover:text-gray-1200 underline decoration-gray-600 underline-offset-4 transition-colors hover:decoration-gray-800" > From b62ee0b207fa2de36725a6948440ec9df83d8754 Mon Sep 17 00:00:00 2001 From: Guilherme de Andrade Date: Sat, 14 Mar 2026 21:20:40 +0000 Subject: [PATCH 3/3] chore: run fmt --- src/styles/base.css | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/styles/base.css b/src/styles/base.css index 69d9996..1cd876a 100644 --- a/src/styles/base.css +++ b/src/styles/base.css @@ -52,7 +52,9 @@ text-decoration-line: underline; text-decoration-color: var(--color-gray-400); text-underline-offset: 4px; - transition: color 0.2s ease, text-decoration-color 0.2s ease; + transition: + color 0.2s ease, + text-decoration-color 0.2s ease; } .prose a:hover {