Skip to content

Commit

Permalink
Add some properties for avatar image on avatar
Browse files Browse the repository at this point in the history
  • Loading branch information
Hans5958 committed May 5, 2024
1 parent 770c657 commit b613b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/HeaderInner.astro
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Icon } from "astro-icon/components";
<div class="mx-auto max-w-[1140px]">
<nav class="flex flex-row justify-between">
<a href="/" class="text-xl p-4 flex flex-row font-bold">
<Image class="rounded-sm w-8 h-8 mr-2" src={ avatar } width={ 96 } height={ 96 } format="webp" alt="Avatar" />
<Image class="rounded-sm w-8 h-8 mr-2" src={ avatar } width={ 96 } height={ 96 } format="webp" alt="Avatar" loading="eager" aria-hidden="true" />
<p class="">
{ SITE_TITLE }
</p>
Expand Down

0 comments on commit b613b85

Please sign in to comment.