Website: link the live App Store and Google Play listings

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
metatroncubeswdev 2026-11-03 14:22:42 -05:00
parent 1b93816953
commit 8bde6be04b
4 changed files with 13 additions and 15 deletions

View File

@ -146,15 +146,13 @@
$('#samples').innerHTML = '<li class="empty">The songs could not be loaded right now. Please refresh the page.</li>'; $('#samples').innerHTML = '<li class="empty">The songs could not be loaded right now. Please refresh the page.</li>';
}); });
// ---------- Store links: "coming soon" until the URLs are set in config.js ---------- // ---------- Store links: config.js can override the links written in the HTML ----------
document.querySelectorAll('[data-store]').forEach((a) => { document.querySelectorAll('[data-store]').forEach((a) => {
const url = cfg[a.dataset.store]; const url = cfg[a.dataset.store];
if (url) { if (url) {
a.href = url; a.href = url;
a.classList.remove('soon'); a.classList.remove('soon');
a.querySelector('small').textContent = a.dataset.store === 'playUrl' ? 'Get it on' : 'Download on the'; a.querySelector('small').textContent = a.dataset.store === 'playUrl' ? 'Get it on' : 'Download on the';
} else {
a.removeAttribute('href');
} }
}); });
$('#year').textContent = new Date().getFullYear(); $('#year').textContent = new Date().getFullYear();

View File

@ -88,12 +88,12 @@
<h1>Songs of the Nilgiris, <em>in your pocket</em></h1> <h1>Songs of the Nilgiris, <em>in your pocket</em></h1>
<p class="lead">Nanga Kathai brings Badaga folk, wedding, festival and devotional songs together in one free app. No ads. Listen online or offline, wherever you are.</p> <p class="lead">Nanga Kathai brings Badaga folk, wedding, festival and devotional songs together in one free app. No ads. Listen online or offline, wherever you are.</p>
<div class="actions"> <div class="actions">
<a class="store-badge soon" data-store="playUrl"> <a class="store-badge" data-store="playUrl" href="https://play.google.com/store/apps/details?id=com.metatroncubesolutions.nanga_kathai">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M4 2.8v18.4c0 .4.4.7.8.5l10.6-9.2a.6.6 0 0 0 0-.9L4.8 2.3c-.4-.2-.8.1-.8.5zm12.6 7.6 2.9 1.6c.6.3.6 1.1 0 1.4l-2.9 1.6-2.4-2.3z"/></svg> <svg viewBox="0 0 24 24" fill="currentColor"><path d="M4 2.8v18.4c0 .4.4.7.8.5l10.6-9.2a.6.6 0 0 0 0-.9L4.8 2.3c-.4-.2-.8.1-.8.5zm12.6 7.6 2.9 1.6c.6.3.6 1.1 0 1.4l-2.9 1.6-2.4-2.3z"/></svg>
<span><small>Coming soon to</small>Google Play</span></a> <span><small>Get it on</small>Google Play</span></a>
<a class="store-badge soon" data-store="appStoreUrl"> <a class="store-badge" data-store="appStoreUrl" href="https://apps.apple.com/app/id6829229617">
<svg viewBox="0 0 24 24" fill="currentColor"><path d="M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.2-1.7-3-1.9-3.6-2-1.5-.2-3 .9-3.8.9s-2-.9-3.3-.9c-1.7 0-3.3 1-4.2 2.5-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.5 1.3-.1 1.8-.8 3.3-.8s2 .8 3.3.8c1.4 0 2.3-1.2 3.1-2.5 1-1.4 1.4-2.8 1.4-2.9-.1 0-2.8-1-2.8-4.1zM14 5.3c.7-.8 1.2-2 1-3.1-1 0-2.2.7-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.2-.6 2.9-1.4z"/></svg> <svg viewBox="0 0 24 24" fill="currentColor"><path d="M16.4 12.6c0-2.4 2-3.6 2.1-3.7-1.2-1.7-3-1.9-3.6-2-1.5-.2-3 .9-3.8.9s-2-.9-3.3-.9c-1.7 0-3.3 1-4.2 2.5-1.8 3.1-.5 7.7 1.3 10.2.9 1.2 1.9 2.6 3.2 2.5 1.3-.1 1.8-.8 3.3-.8s2 .8 3.3.8c1.4 0 2.3-1.2 3.1-2.5 1-1.4 1.4-2.8 1.4-2.9-.1 0-2.8-1-2.8-4.1zM14 5.3c.7-.8 1.2-2 1-3.1-1 0-2.2.7-2.9 1.5-.6.7-1.2 1.9-1 3 1.1.1 2.2-.6 2.9-1.4z"/></svg>
<span><small>Coming soon to the</small>App Store</span></a> <span><small>Download on the</small>App Store</span></a>
</div> </div>
<div class="facts"><span><b id="count-songs">180+</b> songs</span><span><b id="count-albums">18</b> albums</span><span><b>7</b> occasions</span><span><b>0</b> ads</span></div> <div class="facts"><span><b id="count-songs">180+</b> songs</span><span><b id="count-albums">18</b> albums</span><span><b>7</b> occasions</span><span><b>0</b> ads</span></div>
</div> </div>
@ -226,8 +226,8 @@
<h2>Take Badaga music with you</h2> <h2>Take Badaga music with you</h2>
<p>Free on Android and iPhone. No ads, ever.</p> <p>Free on Android and iPhone. No ads, ever.</p>
<div class="actions"> <div class="actions">
<a class="store-badge soon" data-store="playUrl"><span><small>Coming soon to</small>Google Play</span></a> <a class="store-badge" data-store="playUrl" href="https://play.google.com/store/apps/details?id=com.metatroncubesolutions.nanga_kathai"><span><small>Get it on</small>Google Play</span></a>
<a class="store-badge soon" data-store="appStoreUrl"><span><small>Coming soon to the</small>App Store</span></a> <a class="store-badge" data-store="appStoreUrl" href="https://apps.apple.com/app/id6829229617"><span><small>Download on the</small>App Store</span></a>
</div> </div>
</div> </div>
</div> </div>

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url><loc>https://nkbmusic.com/</loc><lastmod>2026-10-31</lastmod><priority>1.0</priority></url> <url><loc>https://nkbmusic.com/</loc><lastmod>2026-11-03</lastmod><priority>1.0</priority></url>
<url><loc>https://nkbmusic.com/privacy</loc><lastmod>2026-10-31</lastmod><priority>0.3</priority></url> <url><loc>https://nkbmusic.com/privacy</loc><lastmod>2026-11-03</lastmod><priority>0.3</priority></url>
<url><loc>https://nkbmusic.com/terms</loc><lastmod>2026-10-31</lastmod><priority>0.3</priority></url> <url><loc>https://nkbmusic.com/terms</loc><lastmod>2026-11-03</lastmod><priority>0.3</priority></url>
<url><loc>https://nkbmusic.com/delete-account</loc><lastmod>2026-10-31</lastmod><priority>0.3</priority></url> <url><loc>https://nkbmusic.com/delete-account</loc><lastmod>2026-11-03</lastmod><priority>0.3</priority></url>
</urlset> </urlset>

View File

@ -17,8 +17,8 @@ BASE = 'https://nkbmusic.com'
def main(): def main():
ap = argparse.ArgumentParser() ap = argparse.ArgumentParser()
ap.add_argument('--play-url', default='', help='Google Play link, once the app is live') ap.add_argument('--play-url', default='https://play.google.com/store/apps/details?id=com.metatroncubesolutions.nanga_kathai', help='Google Play link')
ap.add_argument('--app-store-url', default='', help='App Store link, once the app is live') ap.add_argument('--app-store-url', default='https://apps.apple.com/app/id6829229617', help='App Store link')
args = ap.parse_args() args = ap.parse_args()
env = json.loads((ROOT / 'env.json').read_text(encoding='utf-8')) env = json.loads((ROOT / 'env.json').read_text(encoding='utf-8'))