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..4e40d5e 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..de8cbed 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..6bd39cb 100644 --- a/src/components/GitHubRepoCard.astro +++ b/src/components/GitHubRepoCard.astro @@ -22,17 +22,16 @@ 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" + >