Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
YueSteveYin committed Jul 29, 2024
1 parent 4ea8541 commit 3e6c847
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions layouts/_default/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ <h2 class="text-gray-800 text-2xl font-semibold">Meet Our Team</h2>
{{ range .Params.team_members }}
<div class="rounded-lg bg-white p-4 shadow">
{{ if .image }}
<div class="h-48 w-full overflow-hidden rounded-t-lg bg-gray-200 flex items-center justify-center">
<div
class="bg-gray-200 flex h-48 w-full items-center justify-center overflow-hidden rounded-t-lg"
>
<img
src="{{ .image }}"
alt="Photo of {{ .name }}"
Expand All @@ -29,7 +31,9 @@ <h2 class="text-gray-800 text-2xl font-semibold">Meet Our Team</h2>
{{ $img := resources.Get "img/logos/person-svgrepo-com.png" }}
{{ $imgSmall := $img.Resize "150x" }}
{{ $imgMedium := $img.Resize "300x" }}
<div class="h-48 w-full overflow-hidden rounded-t-lg bg-gray-200 flex items-center justify-center">
<div
class="bg-gray-200 flex h-48 w-full items-center justify-center overflow-hidden rounded-t-lg"
>
<img
aria-hidden="true"
class="max-h-full max-w-full"
Expand All @@ -52,9 +56,6 @@ <h3 class="text-gray-800 text-lg font-bold">{{ .name }}</h3>
{{ end }}
</div>
</section>



</div>
</main>
{{ end }}

0 comments on commit 3e6c847

Please sign in to comment.