1
0
Fork 0

overlay on contact page image
All checks were successful
Hugo / build (push) Successful in -12s

This commit is contained in:
brooke 2024-09-12 19:27:31 -04:00
parent 5d1763b934
commit 06aa7b314d
2 changed files with 9 additions and 6 deletions

View file

@ -9,12 +9,15 @@
<p class="text-lg">{{ .Params.subTitle }}</p>
{{ partial "contact.html" . }}
</div>
<div class="w-full relative inline-block">
<div class="flex-col md:flex hidden bg-[#f1f5fc] p-4 rounded-lg">
<img class="relative object-cover aspect-[12/10] h-96 rounded-lg" src="{{ .Params.img }}">
<img class="relative object-cover aspect-square h-96 rounded-lg" src="{{ .Params.Img }}">
</img>
<div class="text-xs">Photo: <a class="z-40 font-bold" target="_blank"
href="https://unsplash.com/photos/group-of-blue-jellyfish-SJ94Ce7jpMc">Kaede KBYS</a></div>
</div>
<div class="absolute inset-0 bg-white opacity-20 rounded-lg pointer-events-none"></div>
</div>
</section>
{{ else }}
<div class="mt-2 flex flex-col gap-4">{{ .Content }}</div>

File diff suppressed because one or more lines are too long