Add makeshift image for dark mode
This commit is contained in:
@ -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>
|
||||||
|
|||||||
BIN
priv/static/images/nadjas-nachtfoto-lg.jpg
Normal file
BIN
priv/static/images/nadjas-nachtfoto-lg.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 80 KiB |
BIN
priv/static/images/nadjas-nachtfoto-md.jpg
Normal file
BIN
priv/static/images/nadjas-nachtfoto-md.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 38 KiB |
BIN
priv/static/images/nadjas-nachtfoto-sm.jpg
Normal file
BIN
priv/static/images/nadjas-nachtfoto-sm.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 30 KiB |
BIN
priv/static/images/nadjas-nachtfoto-xs.jpg
Normal file
BIN
priv/static/images/nadjas-nachtfoto-xs.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 22 KiB |
BIN
priv/static/images/nadjas-nachtfoto-xxl.jpg
Normal file
BIN
priv/static/images/nadjas-nachtfoto-xxl.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 40 KiB |
Reference in New Issue
Block a user