Skip to content

Commit

Permalink
Update pictures
Browse files Browse the repository at this point in the history
  • Loading branch information
pindab0ter committed Oct 21, 2023
1 parent 755b3cd commit bcfd15c
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file added assets/photos/avatar-kitten-portret.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/photos/avatar-kittens-groep.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed assets/photos/kittens-avatar.webp
Binary file not shown.
6 changes: 3 additions & 3 deletions layouts/kittenbeleid/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
<main>
<div class="bg-beige">
<div class="mx-auto max-w-screen-xl lg:grid lg:grid-cols-2">
{{ with (resources.Get "photos/ginny-kitten.jpg").Process "webp" }}
{{ with (resources.Get "photos/avatar-kitten-portret.jpg").Process "webp" }}
<img
src="{{ .RelPermalink }}"
alt="Jonge Ginny"
class="aspect-[21/9] w-full object-cover lg:hidden"
style="object-position: 100% 12%"
style="object-position: 100% 28%"
/>

<div class="grid place-content-center lg:px-16">
Expand All @@ -18,7 +18,7 @@ <h1 class="my-16">Ons kittenbeleid</h1>
src="{{ .RelPermalink }}"
alt="Jonge Ginny"
class="hidden aspect-[16/9] w-full object-cover lg:block"
style="object-position: 100% 12%"
style="object-position: 100% 24%"
/>
{{ end }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion layouts/kittens/section.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<main>
<div class="bg-beige">
<div class="mx-auto max-w-screen-xl lg:grid lg:grid-cols-2">
{{ with resources.Get "photos/kittens-avatar.webp" }}
{{ with (resources.Get "photos/avatar-kittens-groep.jpg").Process "resize 640x webp" }}
<img
src="{{ .RelPermalink }}"
alt="De Avatarkittensk"
Expand Down

0 comments on commit bcfd15c

Please sign in to comment.