diff --git a/src/components/TopographicBg.astro b/src/components/TopographicBg.astro index b67228e..60998e6 100644 --- a/src/components/TopographicBg.astro +++ b/src/components/TopographicBg.astro @@ -3,24 +3,66 @@ interface Props { opacity?: number; lines?: number; } -const { opacity = 0.12, lines = 8 } = Astro.props; +const { opacity = 0.35, lines = 9 } = Astro.props; -const paths: string[] = []; +interface Line { + d: string; + width: number; // stroke width in CSS px (non-scaling) + lineOpacity: number; // per-line opacity (0..1) — varies depth + tone: 'amber' | 'cyan'; +} + +const out: Line[] = []; const stepY = 100 / (lines + 1); for (let i = 1; i <= lines; i++) { const y = i * stepY; - const amp = 4 + (i % 3) * 2; - paths.push(`M0,${y} Q25,${y - amp} 50,${y + amp * 0.6} T100,${y}`); + // Mix two frequencies so adjacent lines don't read parallel. + const amp = 3 + (i % 3) * 2 + Math.sin(i * 1.7) * 1.2; + const phase = (i * 13) % 25; // shift crests horizontally + const d = `M0,${y} Q${25 + phase / 3},${y - amp} ${50 + phase / 5},${y + amp * 0.6} T100,${y + (i % 2 ? 1 : -1)}`; + // Vary stroke weight with a triangle wave — gives the feel of cartographic contour intervals. + const triangle = Math.abs(((i + 2) % 4) - 2) / 2; + const width = 0.6 + triangle * 0.9; + // Depth: middle lines darker, edges lighter. + const depth = 1 - Math.abs((i - (lines + 1) / 2)) / ((lines + 1) / 2); + const lineOpacity = 0.35 + depth * 0.65; + // One cyan line roughly every 4th — echo of the cross-route correlation color. + const tone: 'amber' | 'cyan' = i % 4 === 2 ? 'cyan' : 'amber'; + out.push({ d, width, lineOpacity, tone }); } --- - + + + + diff --git a/src/components/sections/ProductShowcase.astro b/src/components/sections/ProductShowcase.astro index b0b6b7c..e600a54 100644 --- a/src/components/sections/ProductShowcase.astro +++ b/src/components/sections/ProductShowcase.astro @@ -48,8 +48,8 @@ const callouts: Callout[] = [ />
-- We spent years building integration monitoring for banks, insurers, and logistics operators — the kind of shops where a stuck exchange at 3 AM means someone's phone is ringing. We know what integration teams actually need then, and what they never use. -
-- Cameleer is what we would build today, purpose-built for Apache Camel. No legacy, no retrofit, no assumptions about a generic middleware platform. -
++ We spent years building integration monitoring for banks, insurers, and logistics operators — the kind of shops where a stuck exchange at 3 AM means someone's phone is ringing. We know what integration teams actually need then, and what they never use. +
++ Cameleer is what we would build today, purpose-built for Apache Camel. No legacy, no retrofit, no assumptions about a generic middleware platform. +
+