Skip to content

Commit

Permalink
fix languages badges
Browse files Browse the repository at this point in the history
  • Loading branch information
konrad2002 committed Nov 30, 2023
1 parent 6b98468 commit 23a6b29
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
1 change: 1 addition & 0 deletions src/lang/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"FEATURES": "Features",
"BLOG": "Blog",
"OPEN_APP_BUTTON": "SwimResults öffnen",
"OPEN_APP_IN_BROWSER_BUTTON": "Im Browser öffnen",
"IMPRESSUM": "Impressum",
"PRIVACY": "Datenschutzerklärung",
"ARTICLE": "Artikel",
Expand Down
1 change: 1 addition & 0 deletions src/lang/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"FEATURES": "Features",
"BLOG": "Blog",
"OPEN_APP_BUTTON": "Open SwimResults",
"OPEN_APP_IN_BROWSER_BUTTON": "Open in Browser",
"IMPRESSUM": "Imprint",
"PRIVACY": "Privacy Policy",
"ARTICLE": "Article",
Expand Down
16 changes: 11 additions & 5 deletions src/php/views/page/main.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,18 @@
<!-- </blockquote>-->
<p><?php T::e("CONTENT.MAIN.INTRO_INFO_TEXT"); ?></p>
<br>
<a class="btn nav-tile" href="https://app.swimresults.de">im Browser öffnen</a>
<?php echo('<a class="btn nav-tile" href="'.Env::getAppUrl().'">'.T::t("NAV.OPEN_APP_IN_BROWSER_BUTTON").'</a>'); ?>
<br>
<br>
<a href="https://apps.microsoft.com/detail/SwimResults/9P07LPX2XTWC?launch=true&mode=mini">
<img width="200" src="https://get.microsoft.com/images/de-de%20dark.svg">
</a>
<script type="module" src="https://get.microsoft.com/badge/ms-store-badge.bundled.js"></script>
<ms-store-badge
productid="9P07LPX2XTWC"
window-mode="pop up"
theme="dark"
language="<?php echo($lang); ?>"
animation="on"
style="scale: 0.6;"
>
</ms-store-badge>
<br>
<img src="images/sr_laptop_1.png" class="selection-img img-crop img-crop-right" alt="SwimResults Screenshot Laptop">
</div>
Expand Down

0 comments on commit 23a6b29

Please sign in to comment.