Compare commits

...

2 commits

Author SHA1 Message Date
87e6dc17d3
Merge branch 'main' of itsblue.dev:bluerock/landingpage
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-06 21:19:18 +02:00
13a2e43028
Fix: baseURL slash 2022-08-06 21:19:03 +02:00

View file

@ -3,7 +3,7 @@
<section class="component download pb-0">
<div class="container h-100">
<picture class="download-mobile-image d-block d-lg-none">
<img class="download-mobile-image" src="{{site.BaseURL}}assets/img/favicon.png" title="{{site.Params.appName}} App" alt="{{site.Params.appName}}-App Smartphone" loading="lazy" />
<img class="download-mobile-image" src="{{site.BaseURL}}/assets/img/favicon.png" title="{{site.Params.appName}} App" alt="{{site.Params.appName}}-App Smartphone" loading="lazy" />
</picture>
<div class="row align-items-end align-items-lg-center justify-content-lg-between h-100">
<div class="col col-12 col-lg-6 bg-white p-3">
@ -31,13 +31,13 @@
</div>
</div>
<div class="col col-12 col-sm-12 col-md-12 col-lg-5 d-none d-lg-block">
<img class="section-main-image" src="{{site.BaseURL}}assets/img/favicon.png" title="{{site.Params.appName}} App" alt="{{site.Params.appName}}-App Smartphone" loading="lazy" />
<img class="section-main-image" src="{{site.BaseURL}}/assets/img/favicon.png" title="{{site.Params.appName}} App" alt="{{site.Params.appName}}-App Smartphone" loading="lazy" />
</div>
</div>
</div>
</section>
<script src="{{site.BaseURL}}assets/js/static/ua-parser.pack.js"></script>
<script src="{{site.BaseURL}}/assets/js/static/ua-parser.pack.js"></script>
<script>
const Platforms = { "Android": "Android", "iOS": "iOS", "Unsupported": "Unsupported" };
@ -79,8 +79,8 @@
let directUrl;
let alternativeUrl;
if (originalQuery) {
directUrl = "{{ site.BaseURL }}" + originalQuery;
alternativeUrl = "{{ site.Params.alternativeUrl }}" + originalQuery;
directUrl = "{{ site.BaseURL }}/" + originalQuery;
alternativeUrl = "{{ site.Params.alternativeUrl }}/" + originalQuery;
}
window.history.replaceState({}, document.title, window.location.protocol + "//" + window.location.host + "/" + (originalQuery ? originalQuery:""));