Hide the trust banner on the Pro feature pages

This commit is contained in:
Jonathan Singer
2026-07-20 13:36:07 -04:00
parent 5600650e26
commit f91a831761
3 changed files with 9 additions and 7 deletions
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="dark" />
<title>Strix Results</title>
<script type="module" crossorigin src="./assets/index-DQjB5huW.js"></script>
<script type="module" crossorigin src="./assets/index-BFNT20u6.js"></script>
<link rel="stylesheet" crossorigin href="./assets/index-BXJCfPCf.css">
</head>
<body>
+7 -5
View File
@@ -273,11 +273,13 @@ export default function App() {
</div>
<div className="max-w-[72rem] mx-auto px-6 py-8 space-y-6">
{/* Trust banner */}
<div className="rounded-lg px-4 py-3 flex gap-3 items-start" style={{ border: "1px solid rgba(255,255,255,0.08)" }}>
<ShieldCheck className="w-5 h-5 flex-shrink-0 mt-0.5 text-emerald-400" aria-hidden="true" />
<p className="text-sm text-[#aaa] leading-relaxed">{TRUST_BANNER}</p>
</div>
{/* Trust banner (not on the Pro feature upsell pages) */}
{view !== "feature" && (
<div className="rounded-lg px-4 py-3 flex gap-3 items-start" style={{ border: "1px solid rgba(255,255,255,0.08)" }}>
<ShieldCheck className="w-5 h-5 flex-shrink-0 mt-0.5 text-emerald-400" aria-hidden="true" />
<p className="text-sm text-[#aaa] leading-relaxed">{TRUST_BANNER}</p>
</div>
)}
{error && !run && view !== "history" && (
<div className="rounded-lg px-4 py-3 flex gap-3 items-start border border-red-500/30 bg-red-500/5">