App-Store-Badge nachgebaut (offizielles 'Laden im App Store', brauner Rand #C4843A) als /img/appstore-badge-de.svg — Hero, iOS-Abschnitt & Profil nutzen jetzt das Badge statt Eigenbau-Buttons, v1275

This commit is contained in:
rene 2026-06-09 17:25:55 +02:00
parent ad252c66c9
commit 5138b2a411
7 changed files with 30 additions and 28 deletions

View file

@ -1 +1 @@
1274 1275

View file

@ -0,0 +1,6 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 340 100" role="img" aria-label="Laden im App Store">
<rect x="2.5" y="2.5" width="335" height="95" rx="17" fill="#000000" stroke="#C4843A" stroke-width="2.5"/>
<path transform="translate(38,22) scale(0.057)" fill="#FFFFFF" d="M788.1 340.9c-5.8 4.5-108.2 62.2-108.2 190.5 0 148.4 130.3 200.9 134.2 202.2-.6 3.2-20.7 71.9-68.7 141.9-42.8 61.6-87.5 123.1-155.5 123.1s-85.5-39.5-164-39.5c-76.5 0-103.7 40.8-165.2 40.8s-104.4-57-154.3-127C46.7 790.8 0 663.3 0 542.4c0-194 126.1-296.9 250.2-296.9 65.9 0 120.8 43.3 162.2 43.3 39.4 0 100.8-45.9 175.8-45.9 28.4 0 130.8 2.6 197.9 99.1zM554.1 159.4c31-36.8 52.9-87.9 52.9-139 0-7.1-.6-14.3-1.9-20.1-50.4 1.9-110.4 33.6-146.6 75.6-28.4 32.3-54.9 83.4-54.9 135.2 0 7.8 1.3 15.6 1.9 18.1 3.2.6 8.4 1.3 13.6 1.3 45.2 0 102.1-30.3 135.1-71.1z"/>
<text x="105" y="40" fill="#FFFFFF" font-family="-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Arial,sans-serif" font-size="20" font-weight="400">Laden im</text>
<text x="103" y="83" fill="#FFFFFF" font-family="-apple-system,BlinkMacSystemFont,'Helvetica Neue',Helvetica,Arial,sans-serif" font-size="43" font-weight="500" letter-spacing="-1">App Store</text>
</svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -86,14 +86,14 @@
<title>Ban Yaro</title> <title>Ban Yaro</title>
<!-- Theme + theme-color Statusleiste vor CSS setzen --> <!-- Theme + theme-color Statusleiste vor CSS setzen -->
<script src="/js/boot-early.js?v=1274"></script> <script src="/js/boot-early.js?v=1275"></script>
<!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung --> <!-- CSS: Reihenfolge ist wichtig — ?v= zwingt Browser zur Neuladung -->
<link rel="stylesheet" href="/css/design-system.css?v=1274"> <link rel="stylesheet" href="/css/design-system.css?v=1275">
<link rel="stylesheet" href="/css/layout.css?v=1274"> <link rel="stylesheet" href="/css/layout.css?v=1275">
<link rel="stylesheet" href="/css/components.css?v=1274"> <link rel="stylesheet" href="/css/components.css?v=1275">
<link rel="stylesheet" href="/css/utilities.css?v=1274"> <link rel="stylesheet" href="/css/utilities.css?v=1275">
<link rel="stylesheet" href="/css/lists.css?v=1274"> <link rel="stylesheet" href="/css/lists.css?v=1275">
</head> </head>
<body> <body>
@ -620,11 +620,11 @@
<div id="modal-container"></div> <div id="modal-container"></div>
<!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features --> <!-- JS: Reihenfolge ist wichtig — erst Basis, dann Features -->
<script src="/js/api.js?v=1274"></script> <script src="/js/api.js?v=1275"></script>
<script src="/js/ui.js?v=1274"></script> <script src="/js/ui.js?v=1275"></script>
<script src="/js/app.js?v=1274"></script> <script src="/js/app.js?v=1275"></script>
<script src="/js/worlds.js?v=1274"></script> <script src="/js/worlds.js?v=1275"></script>
<script src="/js/offline-indicator.js?v=1274"></script> <script src="/js/offline-indicator.js?v=1275"></script>
<!-- Feature-Seiten werden lazy geladen --> <!-- Feature-Seiten werden lazy geladen -->
@ -634,7 +634,7 @@
<!-- Boot: Offline-Banner + SW-Registration (extrahiert für CSP) --> <!-- Boot: Offline-Banner + SW-Registration (extrahiert für CSP) -->
<script src="/js/boot.js?v=1274"></script> <script src="/js/boot.js?v=1275"></script>
</body> </body>

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. Router, State-Management, Navigation, Initialisierung.
============================================================ */ ============================================================ */
const APP_VER = '1274'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VER = '1275'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt const APP_VERSION = '1.6.0'; // ← semantische Version, wird bei make release gesetzt
window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator) window.APP_VER = APP_VER; // global verfügbar für andere Module (z.B. offline-indicator)
window.APP_VERSION = APP_VERSION; window.APP_VERSION = APP_VERSION;

View file

@ -900,15 +900,13 @@ window.Page_settings = (() => {
<span>Installations-Anleitung</span> <span>Installations-Anleitung</span>
<span style="margin-left:auto;color:var(--c-text-secondary)"></span> <span style="margin-left:auto;color:var(--c-text-secondary)"></span>
</div> </div>
<a class="sidebar-item" href="https://apps.apple.com/app/ban-yaro-go/id6775012705" <a href="https://apps.apple.com/app/ban-yaro-go/id6775012705" rel="noopener"
rel="noopener" style="display:flex;align-items:center;gap:var(--space-3);padding:var(--space-4);text-decoration:none;border-top:1px solid var(--c-border)">
style="padding:var(--space-4);border-radius:0;cursor:pointer;text-decoration:none;border-top:1px solid var(--c-border)">
<svg class="ph-icon" style="color:#0a84ff" aria-hidden="true"><use href="/icons/phosphor.svg#app-store-logo"></use></svg>
<div style="display:flex;flex-direction:column;gap:1px;flex:1;min-width:0"> <div style="display:flex;flex-direction:column;gap:1px;flex:1;min-width:0">
<span style="font-weight:600;color:var(--c-text)">Ban Yaro Go fürs iPhone</span> <span style="font-weight:600;color:var(--c-text)">Ban Yaro Go fürs iPhone</span>
<span class="text-xs-secondary">Im App Store · Tracking im Hintergrund, offline dabei</span> <span class="text-xs-secondary">Tracking im Hintergrund, offline dabei</span>
</div> </div>
<svg class="ph-icon" style="margin-left:auto;width:16px;height:16px;color:var(--c-text-secondary)" aria-hidden="true"><use href="/icons/phosphor.svg#arrow-square-out"></use></svg> <img src="/img/appstore-badge-de.svg" alt="Laden im App Store" style="height:42px;width:auto;flex-shrink:0">
</a> </a>
</div> </div>
</div> </div>

View file

@ -4,7 +4,7 @@
<meta charset="UTF-8"> <meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="color-scheme" content="light dark"> <meta name="color-scheme" content="light dark">
<script src="/js/landing-init.js?v=1274"></script> <script src="/js/landing-init.js?v=1275"></script>
<title>Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz</title> <title>Ban Yaro — Die Hunde-App für Deutschland, Österreich & Schweiz</title>
<meta name="description" content="Ban Yaro: Die kostenlose All-in-One Hunde-App für DACH. Tagebuch, Giftköder-Alarm, Training mit KI, Forum, Wurfbörse, Stammbaum, Inzucht-Check — DSGVO-konform, offline-fähig, direkt im Browser oder als native iPhone-App (Ban Yaro Go)."> <meta name="description" content="Ban Yaro: Die kostenlose All-in-One Hunde-App für DACH. Tagebuch, Giftköder-Alarm, Training mit KI, Forum, Wurfbörse, Stammbaum, Inzucht-Check — DSGVO-konform, offline-fähig, direkt im Browser oder als native iPhone-App (Ban Yaro Go).">
<meta name="keywords" content="Hunde App, Hunde Community, Wurfbörse, Züchter, Welpen kaufen, Stammbaum Hund, Inzuchtkoeffizient, Hundezucht, Impfpass Hund, Giftköder Alarm, Gassi Community, Hundetraining App, Hunde Forum, Hunde KI, Hundefilm Datenbank, Welpen Marktplatz"> <meta name="keywords" content="Hunde App, Hunde Community, Wurfbörse, Züchter, Welpen kaufen, Stammbaum Hund, Inzuchtkoeffizient, Hundezucht, Impfpass Hund, Giftköder Alarm, Gassi Community, Hundetraining App, Hunde Forum, Hunde KI, Hundefilm Datenbank, Welpen Marktplatz">
@ -756,9 +756,8 @@
<span class="badge">Made in Germany</span> <span class="badge">Made in Germany</span>
<span class="badge">Offline-fähig</span> <span class="badge">Offline-fähig</span>
<!-- Ban Yaro Go im App Store (Apple-ID 6775012705) — auch im iOS-Abschnitt #ios-app verlinkt --> <!-- Ban Yaro Go im App Store (Apple-ID 6775012705) — auch im iOS-Abschnitt #ios-app verlinkt -->
<a href="https://apps.apple.com/app/ban-yaro-go/id6775012705" data-appstore class="badge" style="display:inline-flex;align-items:center;gap:.4rem;color:white;text-decoration:none"> <a href="https://apps.apple.com/app/ban-yaro-go/id6775012705" data-appstore aria-label="Ban Yaro Go im App Store laden" style="display:inline-flex;align-items:center">
<svg viewBox="0 0 256 256" style="width:1rem;height:1rem;fill:currentColor"><use href="/icons/phosphor.svg#apple-logo"></use></svg> <img src="/img/appstore-badge-de.svg" alt="Laden im App Store" style="height:42px;width:auto;display:block">
Im App Store
</a> </a>
</div> </div>
<div class="hero-stats" id="hero-stats" style="display:none"></div> <div class="hero-stats" id="hero-stats" style="display:none"></div>
@ -1576,9 +1575,8 @@
</div> </div>
</div> </div>
<a href="https://apps.apple.com/app/ban-yaro-go/id6775012705" data-appstore class="cta-btn" style="background:#111;color:white;margin-top:0;display:inline-flex;align-items:center;gap:.6rem"> <a href="https://apps.apple.com/app/ban-yaro-go/id6775012705" data-appstore aria-label="Ban Yaro Go im App Store laden" style="display:inline-block;line-height:0;margin-top:.5rem">
<svg viewBox="0 0 256 256" style="width:1.4rem;height:1.4rem;fill:currentColor"><use href="/icons/phosphor.svg#apple-logo"></use></svg> <img src="/img/appstore-badge-de.svg" alt="Laden im App Store" style="height:58px;width:auto">
Im App Store laden
</a> </a>
<p style="font-size:.85rem;color:var(--text-muted);margin-top:1rem">Kostenlos · iPhone, iOS&nbsp;17+ · banyaro.app bleibt im Browser voll nutzbar</p> <p style="font-size:.85rem;color:var(--text-muted);margin-top:1rem">Kostenlos · iPhone, iOS&nbsp;17+ · banyaro.app bleibt im Browser voll nutzbar</p>
</div> </div>

View file

@ -4,7 +4,7 @@
============================================================ */ ============================================================ */
// ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab // ← EINZIGE Stelle für die Version — STATIC_ASSETS und CACHE_VERSION leiten sich ab
const VER = '1274'; const VER = '1275';
const CACHE_VERSION = `by-v${VER}`; const CACHE_VERSION = `by-v${VER}`;
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten