fix: SwiftDisplay branding, euro currency, landing page fonts

This commit is contained in:
xadyz1 2026-07-26 19:38:10 +01:00
parent 5aad3ac383
commit 0b1f1bea33
4 changed files with 10 additions and 4 deletions

View file

@ -77,7 +77,7 @@ export async function render(container) {
${p.id === subData.plan.id ? `<div style="position:absolute;top:-10px;right:12px;background:var(--accent);color:white;padding:2px 10px;border-radius:10px;font-size:11px;font-weight:500">${t('billing.current')}</div>` : ''} ${p.id === subData.plan.id ? `<div style="position:absolute;top:-10px;right:12px;background:var(--accent);color:white;padding:2px 10px;border-radius:10px;font-size:11px;font-weight:500">${t('billing.current')}</div>` : ''}
<div style="font-size:18px;font-weight:700;margin-bottom:4px">${p.display_name}</div> <div style="font-size:18px;font-weight:700;margin-bottom:4px">${p.display_name}</div>
<div style="font-size:24px;font-weight:700;color:var(--accent);margin-bottom:12px"> <div style="font-size:24px;font-weight:700;color:var(--accent);margin-bottom:12px">
${p.price_monthly > 0 ? `$${p.price_monthly}<span style="font-size:13px;color:var(--text-secondary);font-weight:400">${t('billing.per_month')}</span>` : t('billing.free')} ${p.price_monthly > 0 ? `${p.price_monthly}<span style="font-size:13px;color:var(--text-secondary);font-weight:400">${t('billing.per_month')}</span>` : t('billing.free')}
</div> </div>
<div style="font-size:13px;color:var(--text-secondary);line-height:2"> <div style="font-size:13px;color:var(--text-secondary);line-height:2">
<div>${p.max_devices === -1 ? t('billing.unlimited') : p.max_devices} ${t('billing.devices_lc')}</div> <div>${p.max_devices === -1 ? t('billing.unlimited') : p.max_devices} ${t('billing.devices_lc')}</div>

View file

@ -42,6 +42,12 @@
<link rel="icon" type="image/png" sizes="192x192" href="/assets/icon-192.png"> <link rel="icon" type="image/png" sizes="192x192" href="/assets/icon-192.png">
<link rel="icon" type="image/png" sizes="512x512" href="/assets/icon-512.png"> <link rel="icon" type="image/png" sizes="512x512" href="/assets/icon-512.png">
<link rel="apple-touch-icon" href="/assets/icon-192.png"> <link rel="apple-touch-icon" href="/assets/icon-192.png">
<!-- Fonts — same as dashboard -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Goldman:wght@400;700&family=Michroma&display=swap" rel="stylesheet">
<style> <style>
* { * {
margin: 0; margin: 0;

View file

@ -1,6 +1,6 @@
{ {
"name": "GoldenSignage", "name": "SwiftDisplay",
"short_name": "GoldenSignage", "short_name": "SwiftDisplay",
"description": "Digital Signage Management", "description": "Digital Signage Management",
"start_url": "/", "start_url": "/",
"display": "standalone", "display": "standalone",

View file

@ -1,4 +1,4 @@
const CACHE_NAME = 'goldensignage-v1'; const CACHE_NAME = 'swiftdisplay-v1';
const ASSETS_TO_CACHE = [ const ASSETS_TO_CACHE = [
'/', '/',
'/index.html', '/index.html',