Skip to content

Commit 3c74137

Browse files
committed
refactor: increase home hero image opacity
1 parent d5a6f58 commit 3c74137

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/media_server_web/live/home_live/index.html.heex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<div class="h-80 w-full absolute bottom-0 xl:inset-0 xl:h-full">
44
<div class="h-full w-full xl:grid xl:grid-cols-2">
55
<div class="h-full xl:relative xl:col-start-2">
6-
<img class="h-full w-full object-cover opacity-25 xl:absolute xl:inset-0" src={(Enum.filter(@latest_movie["images"], fn x -> x["coverType"] === "fanart" end) |> Enum.at(0))["remoteUrl"]} alt="People working on laptops">
6+
<img class="h-full w-full object-cover opacity-80 xl:absolute xl:inset-0" src={(Enum.filter(@latest_movie["images"], fn x -> x["coverType"] === "fanart" end) |> Enum.at(0))["remoteUrl"]} alt="People working on laptops">
77
<div aria-hidden="true" class="absolute inset-x-0 top-0 h-32 bg-gradient-to-b from-gray-900 xl:inset-y-0 xl:left-0 xl:h-full xl:w-32 xl:bg-gradient-to-r"></div>
88
</div>
99
</div>

0 commit comments

Comments
 (0)