From c1909869f0a5e0a0c245b3b6449a8954f5e97bc2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 9 Sep 2026 06:37:44 +0000 Subject: [PATCH 1/4] Initial plan From 9af639a113c71cb9840bacbeccc64388c319072b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 9 Sep 2026 06:41:04 +0000 Subject: [PATCH 2/4] style: reformat .astro files with prettier-plugin-astro v1 Prettier-plugin-astro v1 changed expression-container and inline formatting, breaking format:check. Run prettier --write to conform. Co-authored-by: sebdanielsson <20663065+sebdanielsson@users.noreply.github.com> --- src/components/CommonHead.astro | 6 ++- src/components/DockerHubCard.astro | 13 +++-- src/components/Footer.astro | 7 ++- src/components/FormattedDate.astro | 4 +- src/components/GitHubRepoCard.astro | 20 ++++--- src/components/Header.astro | 77 +++++++++++++------------- src/components/ItemCard.astro | 4 +- src/components/MDXInteractive.astro | 34 ++++++------ src/components/RaycastStoreCard.astro | 12 ++--- src/components/Tags.astro | 18 +++---- src/components/ThemeSwitcher.astro | 7 +-- src/layouts/BlogList.astro | 78 +++++++++++++-------------- src/layouts/BlogPost.astro | 58 +++++++++----------- src/pages/about.astro | 12 +++-- src/pages/guestbook.astro | 23 ++++---- src/pages/index.astro | 13 +++-- src/pages/projects.astro | 12 +++-- src/pages/stats.astro | 12 +++-- 18 files changed, 206 insertions(+), 204 deletions(-) diff --git a/src/components/CommonHead.astro b/src/components/CommonHead.astro index 1f3b7a9..54e698c 100644 --- a/src/components/CommonHead.astro +++ b/src/components/CommonHead.astro @@ -26,5 +26,9 @@ const title = propTitle ? `${propTitle} - sebdanielsson.dev` : "sebdanielsson.de title={title} href={new URL("rss.xml", Astro.site)} /> - diff --git a/src/components/DockerHubCard.astro b/src/components/DockerHubCard.astro index c4df751..1d9a4a8 100644 --- a/src/components/DockerHubCard.astro +++ b/src/components/DockerHubCard.astro @@ -35,13 +35,18 @@ const { owner, repo, github_url, hub_details } = image.data;

{shortenNumberWithK(hub_details.star_count)} stars

- +

{shortenNumberWithK(hub_details.pull_count)} pulls

- View source on GitHub + + View source on{" "} + + GitHub + +
diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 080e83a..b8c728e 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -9,5 +9,10 @@ const year = new Date().getFullYear(); */ diff --git a/src/components/FormattedDate.astro b/src/components/FormattedDate.astro index 1b372d2..2be5a0a 100644 --- a/src/components/FormattedDate.astro +++ b/src/components/FormattedDate.astro @@ -6,6 +6,4 @@ interface Props { const { date } = Astro.props; --- - + diff --git a/src/components/GitHubRepoCard.astro b/src/components/GitHubRepoCard.astro index bbf3f27..5e0aed3 100644 --- a/src/components/GitHubRepoCard.astro +++ b/src/components/GitHubRepoCard.astro @@ -22,17 +22,15 @@ const repoData = repo.data;

{repoData.description}

- { - repoData.topics.map((topic: string) => ( - - {topic} - - )) - } + {repoData.topics.map((topic: string) => ( + + {topic} + + ))}
diff --git a/src/components/Header.astro b/src/components/Header.astro index 06e3d9e..41e264c 100644 --- a/src/components/Header.astro +++ b/src/components/Header.astro @@ -26,52 +26,47 @@ const profileLinks: { label: string; href: string }[] = [ diff --git a/src/components/ItemCard.astro b/src/components/ItemCard.astro index 529a89d..4a3ed59 100644 --- a/src/components/ItemCard.astro +++ b/src/components/ItemCard.astro @@ -30,9 +30,7 @@ const imageSrcPromise = getImageImport(item.image)(); class="absolute inset-0 h-full w-full object-cover transition duration-700 ease-in-out group-hover:blur-md" /> -
+
{item.name}

diff --git a/src/components/MDXInteractive.astro b/src/components/MDXInteractive.astro index 1c1b711..e57bf40 100644 --- a/src/components/MDXInteractive.astro +++ b/src/components/MDXInteractive.astro @@ -9,24 +9,22 @@ const { variables, syntax = "double-braces" } = Astro.props;

- { - variables.map((variable) => ( -
- - -
- )) - } + {variables.map((variable) => ( +
+ + +
+ ))}
diff --git a/src/components/RaycastStoreCard.astro b/src/components/RaycastStoreCard.astro index bd9aba9..1f9df2a 100644 --- a/src/components/RaycastStoreCard.astro +++ b/src/components/RaycastStoreCard.astro @@ -31,11 +31,9 @@ const icon = extension.data.icons.light || extension.data.icons.dark;
- { - extension.data.categories.map((category: string) => ( - {category} - )) - } + {extension.data.categories.map((category: string) => ( + {category} + ))}
@@ -54,9 +52,7 @@ const icon = extension.data.icons.light || extension.data.icons.dark; d="M9.996 18.204c4.499 0 8.212-3.713 8.212-8.204 0-4.491-3.72-8.205-8.22-8.205-4.49 0-8.196 3.714-8.196 8.205 0 4.49 3.713 8.204 8.204 8.204Zm0-1.634A6.54 6.54 0 0 1 3.442 10a6.53 6.53 0 0 1 6.546-6.562c3.642 0 6.57 2.92 6.578 6.562a6.547 6.547 0 0 1-6.57 6.57Zm0-10.633c-.405 0-.706.286-.706.69v3.738l.071 1.618-.714-.88-.888-.929a.651.651 0 0 0-.484-.206.632.632 0 0 0-.651.643c0 .19.055.349.19.484l2.619 2.65c.182.182.349.27.563.27.222 0 .405-.096.571-.27l2.619-2.65a.677.677 0 0 0 .19-.484.632.632 0 0 0-.65-.643.623.623 0 0 0-.484.206l-.881.92-.722.897.071-1.626V6.628c0-.405-.301-.69-.714-.69Z" > -

- {shortenNumberWithK(extension.data.download_count)} installs -

+

{shortenNumberWithK(extension.data.download_count)} installs

diff --git a/src/components/Tags.astro b/src/components/Tags.astro index 20b1030..52093d1 100644 --- a/src/components/Tags.astro +++ b/src/components/Tags.astro @@ -3,14 +3,12 @@ const { tags } = Astro.props; ---
- { - tags.map((tag: string) => ( - - {tag} - - )) - } + {tags.map((tag: string) => ( + + {tag} + + ))}
diff --git a/src/components/ThemeSwitcher.astro b/src/components/ThemeSwitcher.astro index 345489a..cbf5772 100644 --- a/src/components/ThemeSwitcher.astro +++ b/src/components/ThemeSwitcher.astro @@ -1,5 +1,4 @@ --- - ---
@@ -11,15 +10,13 @@ - + >
+ > + crossorigin="anonymous" + > From b56e2eec01109127f2d2314718309baae1d5e25c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 9 Sep 2026 06:53:38 +0000 Subject: [PATCH 3/4] fix: address linked PR review comments Co-authored-by: sebdanielsson <20663065+sebdanielsson@users.noreply.github.com> --- src/components/DockerHubCard.astro | 2 +- src/components/Footer.astro | 2 +- src/components/GitHubRepoCard.astro | 1 + src/layouts/BlogPost.astro | 1 - src/pages/guestbook.astro | 2 +- src/pages/stats.astro | 2 +- 6 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/components/DockerHubCard.astro b/src/components/DockerHubCard.astro index 1d9a4a8..4e40d5e 100644 --- a/src/components/DockerHubCard.astro +++ b/src/components/DockerHubCard.astro @@ -43,7 +43,7 @@ const { owner, repo, github_url, hub_details } = image.data;
View source on{" "} - + GitHub diff --git a/src/components/Footer.astro b/src/components/Footer.astro index b8c728e..7733d0b 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -11,7 +11,7 @@ const year = new Date().getFullYear(); */ Commit:{" "} - + {COMMIT_ID} diff --git a/src/components/GitHubRepoCard.astro b/src/components/GitHubRepoCard.astro index 5e0aed3..6bd39cb 100644 --- a/src/components/GitHubRepoCard.astro +++ b/src/components/GitHubRepoCard.astro @@ -26,6 +26,7 @@ const repoData = repo.data; {topic} diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index 637e218..48e7f97 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -26,7 +26,6 @@ const { title, description, pubDate, updatedDate, tags, heroImage, heroImageAlt, Powered by{" "} - + gisqus . Comments will be added to the page shortly after posting. diff --git a/src/pages/stats.astro b/src/pages/stats.astro index 5e7aedd..d293ff8 100644 --- a/src/pages/stats.astro +++ b/src/pages/stats.astro @@ -12,7 +12,7 @@ import Layout from "@/layouts/Layout.astro"; > Powered by{" "} - + {" "} Plausible Analytics{" "} From 88902da53b2be14db059fd8a29c9c7817d737e76 Mon Sep 17 00:00:00 2001 From: sebdanielsson Date: Sat, 12 Sep 2026 17:29:15 +0000 Subject: [PATCH 4/4] fix: correct commit link href and giscus spelling - Footer: repoUrl is already the full commit URL, so drop the stray trailing slash and bind it directly with href={repoUrl}. - Guestbook: fix user-visible "gisqus" typo in the giscus link text. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_016aWLm9W6qAxeJrN66M3f6L --- src/components/Footer.astro | 2 +- src/pages/guestbook.astro | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 7733d0b..de8cbed 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -11,7 +11,7 @@ const year = new Date().getFullYear(); */ Commit:{" "} - + {COMMIT_ID} diff --git a/src/pages/guestbook.astro b/src/pages/guestbook.astro index a08d407..8530b75 100644 --- a/src/pages/guestbook.astro +++ b/src/pages/guestbook.astro @@ -91,7 +91,7 @@ const guestbookPosts = guestbookPostsResponse.data?.repository?.discussion?.comm Powered by{" "} - gisqus + giscus . Comments will be added to the page shortly after posting.