From d8db1f76e7107da579c09034d173d3614f29df69 Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Wed, 17 May 2023 23:32:30 +0200 Subject: [PATCH] hero: apply brightness for bright images --- src/components/hero.astro | 2 +- src/components/wallpaper.astro | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/components/hero.astro b/src/components/hero.astro index 59909e2..be0ac13 100644 --- a/src/components/hero.astro +++ b/src/components/hero.astro @@ -7,7 +7,7 @@ import Wallpaper from "./wallpaper.astro"; class="container mx-auto px-8 py-16 w-full h-full justify-center items-center flex flex-col" >

Philippe Loctaux

diff --git a/src/components/wallpaper.astro b/src/components/wallpaper.astro index a8fc07d..81e1a0c 100644 --- a/src/components/wallpaper.astro +++ b/src/components/wallpaper.astro @@ -11,10 +11,13 @@ const wallpaper = wallpapers[Math.floor(Math.random() * wallpapers.length)]; class="relative text-white w-full h-almostscreen bg-center bg-fixed bg-cover" style=`background-image: url(${wallpaper.file});` > + + +