Skip to content

Commit 14c2876

Browse files
committed
style(web): official 'Powered by Flux' lockup across app + landing
Replace the plain-text 'Powered by RunOnFlux' badges (web app Header/Footer and the landing header/footer) with the official Flux lockup SVG, matching the mobile app for consistent branding. Two art variants (dark art on light bg, light art on dark) are swapped via the existing theme system (prefers-color-scheme + :root[data-theme]). Links to runonflux.com.
1 parent 8a133f9 commit 14c2876

9 files changed

Lines changed: 632 additions & 4 deletions

File tree

clients/web/landing/index.html

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,19 @@
6464
.top .right { display: flex; align-items: center; gap: 14px; }
6565
.badge-flux { font-family: var(--mono); font-size: 11px; color: var(--ink-3); border: 1px solid var(--line);
6666
padding: 4px 9px; border-radius: 20px; white-space: nowrap; }
67+
/* Official "Powered by Flux" lockup — two art variants swapped by theme. */
68+
.pbf { display: inline-flex; align-items: center; line-height: 0; opacity: 0.92; }
69+
.pbf:hover { opacity: 1; }
70+
.pbf img { width: auto; display: none; }
71+
.pbf .pbf-on-light { display: inline; }
72+
@media (prefers-color-scheme: dark) {
73+
.pbf .pbf-on-light { display: none; }
74+
.pbf .pbf-on-dark { display: inline; }
75+
}
76+
:root[data-theme="light"] .pbf .pbf-on-light { display: inline; }
77+
:root[data-theme="light"] .pbf .pbf-on-dark { display: none; }
78+
:root[data-theme="dark"] .pbf .pbf-on-light { display: none; }
79+
:root[data-theme="dark"] .pbf .pbf-on-dark { display: inline; }
6780
.theme-btn { background: transparent; border: 1px solid var(--line); color: var(--ink-2); border-radius: 20px;
6881
width: 34px; height: 34px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
6982
font-size: 15px; line-height: 1; }
@@ -244,7 +257,10 @@
244257
<a href="#apps">Get the app</a><a href="#trust">Privacy</a>
245258
</nav>
246259
<div class="right">
247-
<span class="badge-flux">Powered by RunOnFlux</span>
260+
<a class="pbf" href="https://runonflux.com" target="_blank" rel="noreferrer" aria-label="Powered by Flux — opens runonflux.com">
261+
<img class="pbf-on-light" src="/powered_by_dark.svg" alt="Powered by Flux" height="16" />
262+
<img class="pbf-on-dark" src="/powered_by_light.svg" alt="" height="16" aria-hidden="true" />
263+
</a>
248264
<button class="theme-btn" id="themeToggle" type="button" aria-label="Toggle light / dark theme" title="Toggle theme"></button>
249265
</div>
250266
</div></header>
@@ -499,7 +515,7 @@ <h4>Learn</h4>
499515
</div>
500516
<div class="col">
501517
<h4>Network</h4>
502-
<a href="https://runonflux.io">Powered by RunOnFlux</a>
518+
<a href="https://runonflux.com">Powered by Flux</a>
503519
<a href="https://home.runonflux.io">Flux dashboard</a>
504520
</div>
505521
</div>
Lines changed: 133 additions & 0 deletions
Loading
Lines changed: 132 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)