no script loading screen

main
alexanderroese 2024-06-23 13:50:25 +02:00
parent 8af7c39062
commit b48e304e8d
2 changed files with 9 additions and 2 deletions

View File

@ -59,7 +59,7 @@
endcapture
%}
console.log("2", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
console.log("3", "{{ settings.color_schemes["scheme-shx-texte-navbar"]["settings"]["background"] }}", {{ shx_current_page }})
</script>

View File

@ -1,13 +1,20 @@
<img class="shx-landingpage-banner" src="{{ mobile_image | file_url }}" height="300px" width="100%" style="object-fit: cover">
<div class="shx-landingpage-banner"></div>
<style>
.shx-landingpage-banner {
object-fit: cover
width: 100%
height: 300px;
background-image: url("{{ mobile_image | file_url }}");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
@media screen and (min-width: 750px) {
.shx-landingpage-banner {
height: 450px;
background-image: url("{{ desktop_image | file_url }}");
}
}