darken images on homepage and switch to white text
All checks were successful
Hugo / build (push) Successful in 10s

This commit is contained in:
brooke 2024-07-13 19:09:17 -04:00
parent 961253b8b0
commit 6ddd8ef383
3 changed files with 5 additions and 4 deletions

View file

@ -21,6 +21,7 @@ params:
- categoryName: 'Arches' - categoryName: 'Arches'
img: /img/catalog/12ftRoundArch2.jpg.webp img: /img/catalog/12ftRoundArch2.jpg.webp
alt: alt:
style:
- categoryName: 'Canopies' - categoryName: 'Canopies'
img: /img/catalog/40ftgardencanopy4.jpg.webp img: /img/catalog/40ftgardencanopy4.jpg.webp
alt: alt:

View file

@ -23,15 +23,15 @@
> >
<div class="relative h-full max-w-full"> <div class="relative h-full max-w-full">
<strong <strong
class="text-gray-800 w-full z-10 text-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-2xl" class="text-white w-full z-10 text-center absolute top-1/2 left-1/2 transform -translate-x-1/2 -translate-y-1/2 text-3xl"
> >
{{ .categoryName }} {{ .categoryName }}
</strong> </strong>
<img <img
class="min-h-full h-auto w-full opacity-60" class="min-h-full h-auto w-full opacity-90"
src="{{ .img }}" src="{{ .img }}"
alt="Category {{ .categoryName }}" alt="Category {{ .categoryName }}"
style="{{ .style | safeCSS }}" style="{{ .style | safeCSS }} filter: brightness(60%);"
/> />
</div> </div>
</a> </a>

File diff suppressed because one or more lines are too long