Add makeshift image for dark mode

This commit is contained in:
Thelonius Kort
2023-02-11 23:24:19 +01:00
parent 1b68a1de16
commit 239177db50
6 changed files with 3 additions and 1 deletions

View File

@ -1,8 +1,10 @@
<header class=""> <header class="">
<.breakpoint_indicator :if={Mix.env == :dev} /> <.breakpoint_indicator :if={Mix.env == :dev} />
<a href="/"> <a href="/">
<img class="w-full" src="/images/elbefoto-lg.jpg" <img class="w-full dark:hidden" src="/images/elbefoto-lg.jpg"
src-set="elbefoto-xxl.jpg 4496w, /images/elbefoto-lg.jpg 2248w, /images/elbefoto-md.jpg 1199w, /images/elbefoto-sm.jpg 991w, /images/elbefoto-xs.jpg 767w"> src-set="elbefoto-xxl.jpg 4496w, /images/elbefoto-lg.jpg 2248w, /images/elbefoto-md.jpg 1199w, /images/elbefoto-sm.jpg 991w, /images/elbefoto-xs.jpg 767w">
<img class="w-full hidden dark:inline" src="/images/nadjas-nachtfoto-xxl.jpg"
src-set="nadjas-nachtfoto-xxl.jpg 1280w, /images/nadjas-nachtfoto-md.jpg 1199w, /images/nadjas-nachtfoto-sm.jpg 991w, /images/nadjas-nachtfoto-xs.jpg 767w">
</a> </a>
<.dark_mode_widget /> <.dark_mode_widget />
</header> </header>

Binary file not shown.

After

Width:  |  Height:  |  Size: 80 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB