From f5a61a6c5b03cc8ecc540cc2440bc9d8787213f9 Mon Sep 17 00:00:00 2001 From: Dan Gibbs Date: Fri, 8 May 2026 13:44:34 +0100 Subject: [PATCH 1/2] fix: improve gh component state when empty, move container wrapper classes to component --- src/components/Block/GithubActivityFeed.astro | 20 +++++++++++++-- src/components/Block/GithubInsights.astro | 25 ++++++++++++++++--- src/pages/index.astro | 9 ++----- 3 files changed, 42 insertions(+), 12 deletions(-) diff --git a/src/components/Block/GithubActivityFeed.astro b/src/components/Block/GithubActivityFeed.astro index 18b72ca..7cf9b9d 100644 --- a/src/components/Block/GithubActivityFeed.astro +++ b/src/components/Block/GithubActivityFeed.astro @@ -1,5 +1,11 @@ --- import '@styles/icons.css'; + +interface Props { + containerClass: string; +} + +const { containerClass = '' } = Astro.props; ---