style: updated UI based on feedback (white header logo, white text, hidden create account, dark footer, hidden trial in CTA)

This commit is contained in:
xadyz1 2026-07-26 20:56:24 +01:00
parent 92a516917a
commit e9ed10604c
2 changed files with 6 additions and 5 deletions

View file

@ -44,7 +44,7 @@ export async function render(container) {
const [config, branding] = await Promise.all([loadAuthConfig(), loadLoginBranding()]); const [config, branding] = await Promise.all([loadAuthConfig(), loadLoginBranding()]);
const isSetup = config.needsSetup; const isSetup = config.needsSetup;
// registration_enabled may be absent on older servers — treat as enabled for back-compat // registration_enabled may be absent on older servers — treat as enabled for back-compat
const canRegister = config.registration_enabled !== false; const canRegister = false;
applyLoginBrandingDoc(branding); applyLoginBrandingDoc(branding);
const brandName = branding.brand_name || 'SwiftDisplay'; const brandName = branding.brand_name || 'SwiftDisplay';

View file

@ -751,6 +751,7 @@
color: var(--accent); color: var(--accent);
margin-bottom: 8px; margin-bottom: 8px;
} }
.nav-links a { color: #ffffff !important; }
</style> </style>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head> </head>
@ -759,7 +760,7 @@
<nav> <nav>
<div class="nav-inner"> <div class="nav-inner">
<div class="nav-logo"> <div class="nav-logo">
<img src="/assets/logoswift.png" alt="Logo" style="height: 24px;"> <img src="/assets/logowhiteswift.png" alt="SwiftDisplay" style="height: 36px; width: auto;">
</div> </div>
<div class="nav-links"> <div class="nav-links">
@ -1286,13 +1287,13 @@
<!-- CTA --> <!-- CTA -->
<section class="cta"> <section class="cta">
<h2>Ready to Get Started?</h2> <h2>Ready to Get Started?</h2>
<p>14-day free Pro trial. No credit card required. Set up in under 5 minutes.</p> <p>Contact our sales team to schedule a demo and get started.</p>
<a href="/app#/login" class="btn btn-primary" style="padding:14px 32px;font-size:16px">Start Free Trial</a> <a href="mailto:sales@swiftdisplay.pt" class="btn btn-primary" style="padding:14px 32px;font-size:16px">Contact Sales</a>
</section> </section>
</main> </main>
<!-- Footer --> <!-- Footer -->
<footer style="border-top:1px solid var(--border);background:rgba(15,23,42,0.4)"> <footer style="border-top:1px solid var(--border);background:#09090b">
<div <div
style="max-width:1200px;margin:0 auto;padding:48px 24px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px"> style="max-width:1200px;margin:0 auto;padding:48px 24px 24px;display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:32px">
<div> <div>