From 3ee285dec05d72ef20213bf075776e0255cf6b01 Mon Sep 17 00:00:00 2001 From: Marios Antonoudiou Date: Tue, 16 Jun 2026 23:22:48 +0300 Subject: [PATCH] Update image backgrounds --- src/components/previous-role.astro | 13 ++++++++----- src/components/project.astro | 8 ++++---- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/previous-role.astro b/src/components/previous-role.astro index 5e63ff0..6898861 100644 --- a/src/components/previous-role.astro +++ b/src/components/previous-role.astro @@ -14,14 +14,18 @@ const isRemote = typeof logo === "string";
{ href ? ( - + {company} @@ -32,7 +36,7 @@ const isRemote = typeof logo === "string"; inferSize={isRemote} width={isRemote ? undefined : 50} height={isRemote ? undefined : 50} - class="block rounded min-w-[50px] w-[50px] h-[50px] object-contain bg-white shrink-0" + class="block rounded size-12 object-contain shrink-0" loading="lazy" /> ) @@ -44,8 +48,7 @@ const isRemote = typeof logo === "string"; href={href} target="_blank" rel="noopener noreferrer" - class="md:text-xl text-lg font-semibold hover:underline hover:underline-offset-4 text-slate-900 dark:text-white" - > + class="md:text-xl text-lg font-semibold hover:underline hover:underline-offset-4 text-slate-900 dark:text-white"> {company} ) : ( diff --git a/src/components/project.astro b/src/components/project.astro index 15fb285..bb7be2a 100644 --- a/src/components/project.astro +++ b/src/components/project.astro @@ -11,7 +11,8 @@ const { title, image, url } = Astro.props; const isRemote = typeof image === "string"; --- -
+
@@ -29,8 +30,7 @@ const isRemote = typeof image === "string"; href={url} target="_blank" rel="noopener noreferrer" - class="font-semibold hover:underline hover:underline-offset-4 text-slate-900 dark:text-white" - > + class="font-semibold hover:underline hover:underline-offset-4 text-slate-900 dark:text-white"> {title}