Skip to content

Commit

Permalink
Merge pull request #66 from gdgpescara/feat/enchancements
Browse files Browse the repository at this point in the history
Update image classes for better UI consistency
  • Loading branch information
GiorgioCampea authored Nov 12, 2023
2 parents d58c2ee + a3f0553 commit 6c041b8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/components/AgendaSpeaker.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const origin = env.siteUrl;
>
<img
src={speaker.imageUrl}
class="w-14 h-14 rounded-2xl mr-4 shrink-0"
class="w-14 h-14 rounded-2xl mr-4 shrink-0 object-cover"
alt={speaker.name}
/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const signUpUrl =
{t("site-dates")}
</h3>
<a
class="btn btn-outline btn-primary btn-wide btn-circle mt-6"
class="btn btn-primary btn-wide btn-lg rounded-full mt-6"
href={signUpUrl}
target="_blank">{t("sign-up")}</a
>
Expand Down
4 changes: 2 additions & 2 deletions src/components/SpeakerProfile.astro
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const { company, id, imageUrl, jobTitle, name, social, showLink } = Astro.props;
<a href={localizeUrl(`${origin}/speaker/${id}`)}>
<img
src={imageUrl}
class="w-60 h-60 rounded-full border-4 m-auto"
class="w-60 h-60 rounded-full border-4 m-auto object-cover"
alt={name}
/>
</a>
Expand All @@ -46,7 +46,7 @@ const { company, id, imageUrl, jobTitle, name, social, showLink } = Astro.props;
!showLink && (
<img
src={imageUrl}
class="w-60 h-60 rounded-full border-4 m-auto"
class="w-60 h-60 rounded-full border-4 m-auto object-cover"
alt={name}
/>
)
Expand Down

0 comments on commit 6c041b8

Please sign in to comment.