Add node-network visual to bettersight.io's hero
Pure SVG/CSS, no external assets — an ambient, low-opacity connected-node pattern behind the nav/hero copy (z-index 0 vs. 1), deliberately content-agnostic since this page fans out to both BettersightBox and the Assistant rather than depicting either product specifically. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_012pc2x7vyuUofdT3kLuqF3Y
This commit is contained in:
parent
1856699460
commit
363f9ec134
|
|
@ -91,8 +91,20 @@ ul{list-style:none;}
|
|||
radial-gradient(700px 420px at 85% 10%, rgba(159,232,56,.08), transparent 60%),
|
||||
var(--navy);
|
||||
text-align: center;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
.mkt-hero-inner { max-width: 780px; margin: 0 auto; padding-top: 150px; }
|
||||
/* Ambient node-network — purely decorative, behind the nav/copy (z-index 0
|
||||
vs. their 1). Deliberately content-agnostic (no single product implied)
|
||||
since this page fans out to BettersightBox and the Assistant. Low
|
||||
opacity throughout so it reads as atmosphere, not a competing graphic,
|
||||
under the long headline here. */
|
||||
.mkt-hero-network { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: .32; }
|
||||
/* .mkt-nav-outer already gets its own stacking context from position:sticky
|
||||
(set above) — z-index here is enough to lift it above the network SVG
|
||||
without touching that position value. */
|
||||
.mkt-nav-outer { z-index: 1; }
|
||||
.mkt-hero-inner { max-width: 780px; margin: 0 auto; padding-top: 150px; position: relative; z-index: 1; }
|
||||
.mkt-eyebrow {
|
||||
display: inline-flex; align-items: center; gap: 8px;
|
||||
font-family: var(--fm); font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
|
||||
|
|
@ -221,6 +233,49 @@ ul{list-style:none;}
|
|||
background extends seamlessly behind the nav instead of sitting in a
|
||||
separate, backgroundless strip above it. -->
|
||||
<section class="mkt-hero">
|
||||
<svg class="mkt-hero-network" viewBox="0 0 1400 600" preserveAspectRatio="xMidYMid slice" xmlns="http://www.w3.org/2000/svg" aria-hidden="true">
|
||||
<g stroke="rgba(159,232,56,.16)" stroke-width="1">
|
||||
<line x1="80" y1="120" x2="230" y2="200"/>
|
||||
<line x1="230" y1="200" x2="150" y2="340"/>
|
||||
<line x1="230" y1="200" x2="400" y2="150"/>
|
||||
<line x1="400" y1="150" x2="560" y2="230"/>
|
||||
<line x1="150" y1="340" x2="330" y2="420"/>
|
||||
<line x1="330" y1="420" x2="560" y2="230"/>
|
||||
<line x1="560" y1="230" x2="760" y2="130"/>
|
||||
<line x1="760" y1="130" x2="950" y2="190"/>
|
||||
<line x1="330" y1="420" x2="540" y2="470"/>
|
||||
<line x1="540" y1="470" x2="760" y2="130"/>
|
||||
<line x1="950" y1="190" x2="1140" y2="150"/>
|
||||
<line x1="950" y1="190" x2="1050" y2="340"/>
|
||||
<line x1="1050" y1="340" x2="1270" y2="300"/>
|
||||
<line x1="1140" y1="150" x2="1270" y2="300"/>
|
||||
<line x1="80" y1="120" x2="60" y2="300"/>
|
||||
<line x1="60" y1="300" x2="150" y2="340"/>
|
||||
<line x1="540" y1="470" x2="800" y2="500"/>
|
||||
</g>
|
||||
<g fill="rgba(255,255,255,.45)">
|
||||
<circle cx="80" cy="120" r="3"/>
|
||||
<circle cx="60" cy="300" r="3"/>
|
||||
<circle cx="400" cy="150" r="3"/>
|
||||
<circle cx="800" cy="500" r="3"/>
|
||||
<circle cx="1140" cy="150" r="3"/>
|
||||
<circle cx="1270" cy="300" r="3"/>
|
||||
</g>
|
||||
<g fill="#9FE838">
|
||||
<circle cx="230" cy="200" r="5"/>
|
||||
<circle cx="150" cy="340" r="5"/>
|
||||
<circle cx="330" cy="420" r="5"/>
|
||||
<circle cx="560" cy="230" r="5"/>
|
||||
<circle cx="760" cy="130" r="5"/>
|
||||
<circle cx="950" cy="190" r="5"/>
|
||||
<circle cx="540" cy="470" r="5"/>
|
||||
<circle cx="1050" cy="340" r="5"/>
|
||||
</g>
|
||||
<g fill="none" stroke="#9FE838" stroke-width="1" opacity=".3">
|
||||
<circle cx="560" cy="230" r="11"/>
|
||||
<circle cx="760" cy="130" r="11"/>
|
||||
</g>
|
||||
</svg>
|
||||
<div class="mkt-nav-outer">
|
||||
<nav class="mkt-nav">
|
||||
<a href="#" class="mkt-logo">
|
||||
|
|
|
|||
Loading…
Reference in New Issue