You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stormcrawler.apache.org by rz...@apache.org on 2026/07/17 18:33:29 UTC
(stormcrawler-site) 02/02: Simplify hero and theme per review feedback
This is an automated email from the ASF dual-hosted git repository.
rzo1 pushed a commit to branch refresh
in repository https://gitbox.apache.org/repos/asf/stormcrawler-site.git
commit b24cc6a6cf329df2781ff2253bb5607952ff66d5
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Fri Jul 17 20:33:23 2026 +0200
Simplify hero and theme per review feedback
- Replace hero topology/cluster graphic with the StormCrawler spider mark
(new img/spider-mark.svg, light body + red bolt for the dark hero)
- Switch typography from Space Grotesk/Inter to a native system font stack;
drop the self-hosted webfont files and imports
- Remove decorative animations (hero rain, border beam, shimmer, task pulse,
scroll reveals) and the hero rain script
- Flatten hero, page-hero and CTA band to solid backgrounds; remove the
gradient transition strips and the red accent border under the hero
- Drop the gradient treatment on the hero 'storm' word
- Make the header readable in dark mode (lighter graphite bar, border, shadow)
- Trim hero to two assurances (drop 'Community-governed')
- Copy: 'Run locally or submit to a Storm cluster'
---
_layouts/default.html | 2 -
css/main.scss | 296 ++-------------------
css/resources/electric-storm-fonts.css | 46 ----
.../fonts/inter/inter-latin-400-normal.woff2 | Bin 23664 -> 0 bytes
.../fonts/inter/inter-latin-500-normal.woff2 | Bin 24272 -> 0 bytes
.../fonts/inter/inter-latin-600-normal.woff2 | Bin 24452 -> 0 bytes
.../space-grotesk-latin-500-normal.woff2 | Bin 13312 -> 0 bytes
.../space-grotesk-latin-700-normal.woff2 | Bin 12840 -> 0 bytes
img/spider-mark.svg | 5 +
index.html | 52 +---
js/hero-rain.js | 113 --------
11 files changed, 29 insertions(+), 485 deletions(-)
diff --git a/_layouts/default.html b/_layouts/default.html
index 57cc5c7..949afe0 100644
--- a/_layouts/default.html
+++ b/_layouts/default.html
@@ -24,7 +24,6 @@
{% if page.description %}<p class="page-hero__sub">{{ page.description }}</p>{% endif %}
</div>
</div>
- <div class="strip strip--page" aria-hidden="true"></div>
<main class="main-content page-content">
{{ content }}
</main>
@@ -57,7 +56,6 @@
</script>
<script src="{{ site.baseurl }}/js/site.js" defer></script>
- {% if page.slug == 'home' %}<script src="{{ site.baseurl }}/js/hero-rain.js" defer></script>{% endif %}
</body>
diff --git a/css/main.scss b/css/main.scss
index 4479f67..1f3ffdd 100644
--- a/css/main.scss
+++ b/css/main.scss
@@ -10,9 +10,7 @@
// All components consume CSS custom properties; SCSS vars hold raw hex only.
// ---------------------------------------------------------------------------
-// Fonts (self-hosted, ASF content policy)
-@import url(/css/resources/electric-storm-fonts.css);
-@import url(/css/resources/ubuntu-mono.css);
+// Fonts: native system stack — no web fonts, no external requests.
// --- Raw scales (SCSS source of truth) --------------------------------------
@@ -52,10 +50,10 @@ $red-brand: #99181C; // logo red, text-safe on light backgrounds
$red-mid: #B03036; // decorative only
$red-text-dark: #DC7F82; // text-safe on dark
-// Font stacks
-$font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
-$font-body: "Inter", system-ui, sans-serif;
-$font-mono: "Ubuntu Mono", ui-monospace, monospace;
+// Font stacks — native system UI fonts (matching a plain, classic look)
+$font-display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+$font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
+$font-mono: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
// --- Semantic tokens ---------------------------------------------------------
@@ -79,7 +77,8 @@ $font-mono: "Ubuntu Mono", ui-monospace, monospace;
--icon-chip-bg: #{$brand-100};
--icon-chip-fg: #{$brand-700};
--code-bg: #{$storm-50};
- --nav-bg: rgba(250,250,251,.92);
+ --nav-bg: rgba(255,255,255,.9);
+ --header-border: #{$storm-200};
--focus-ring: #{$arc-text-light};
--shadow-sm: 0 1px 2px rgba(22,24,27,.08);
--shadow-md: 0 4px 16px -2px rgba(22,24,27,.14);
@@ -119,7 +118,8 @@ $font-mono: "Ubuntu Mono", ui-monospace, monospace;
--icon-chip-bg: #{$brand-900};
--icon-chip-fg: #{$brand-200};
--code-bg: #141619;
- --nav-bg: rgba(22,24,27,.88);
+ --nav-bg: rgba(36,39,44,.92);
+ --header-border: #{$storm-600};
--focus-ring: #{$arc-glow};
--shadow-sm: 0 1px 2px rgba(0,0,0,.5);
--shadow-md: 0 4px 20px -4px rgba(0,0,0,.6);
@@ -174,11 +174,6 @@ code, pre, kbd, samp {
:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
- .hero-rain { display: none; } /* static gradient remains */
- .shimmer::before,
- .beam::after,
- .connector::after { animation: none; }
- .reveal { opacity: 1; transform: none; filter: none; transition: none; }
html { scroll-behavior: auto; }
}
@@ -221,32 +216,6 @@ code, pre, kbd, samp {
}
}
-// Shimmer button — hero primary CTA, single instance site-wide
-.shimmer {
- position: relative;
- overflow: hidden;
- background: #{$brand-500};
- border-radius: 8px;
- color: #fff;
- &::before {
- content: "";
- position: absolute;
- inset: -40%;
- background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.35) 50%, transparent 60%);
- animation: shimmer 3.2s ease-in-out infinite;
- pointer-events: none;
- }
- &:hover {
- background: #{$brand-600};
- transform: translateY(-1px);
- }
-}
-
-@keyframes shimmer {
- 0%, 20% { transform: translateX(-120%); }
- 60%, 100% { transform: translateX(120%); }
-}
-
// Chip-link
.chip {
display: inline-flex;
@@ -395,23 +364,6 @@ code, pre, kbd, samp {
border: 2px solid var(--chip-border);
}
-// BlurFade reveal
-.reveal {
- opacity: 0;
- transform: translateY(10px);
- filter: blur(6px);
- transition: opacity .45s ease, transform .45s ease, filter .45s ease;
- transition-delay: calc(var(--i, 0) * 60ms);
-}
-
-.reveal.in-view {
- opacity: 1;
- transform: none;
- filter: none;
-}
-
-.no-js .reveal { opacity: 1; transform: none; filter: none; }
-
// Transition strips
.strip {
height: 6rem;
@@ -433,7 +385,8 @@ code, pre, kbd, samp {
background: var(--nav-bg);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
- border-bottom: 1px solid var(--border);
+ border-bottom: 1px solid var(--header-border);
+ box-shadow: var(--shadow-sm);
}
.site-header__inner {
@@ -528,18 +481,7 @@ code, pre, kbd, samp {
.hero {
position: relative;
- overflow: hidden;
- background:
- radial-gradient(60% 45% at 50% 108%, rgba(221,227,235,.14), transparent 70%),
- linear-gradient(to bottom, #{$storm-950} 0%, #2A1214 55%, #{$brand-800} 100%);
-}
-
-.hero-rain {
- position: absolute;
- inset: 0;
- width: 100%;
- height: 100%;
- pointer-events: none;
+ background: #{$storm-950};
}
.hero__inner {
@@ -574,21 +516,6 @@ code, pre, kbd, samp {
letter-spacing: -.03em;
}
-.grad-word {
- background: linear-gradient(100deg, #F2F4F8 0%, #{$brand-300} 55%, #{$brand-400} 100%);
- -webkit-background-clip: text;
- background-clip: text;
- -webkit-text-fill-color: transparent;
-}
-
-@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
- .grad-word {
- background: none;
- -webkit-text-fill-color: currentColor;
- color: #{$brand-300};
- }
-}
-
.hero__lede {
font-size: 1.125rem;
line-height: 1.6;
@@ -620,189 +547,16 @@ code, pre, kbd, samp {
// Topology panel — the signature element
.hero__panel {
flex: 0 0 auto;
- width: 100%;
- max-width: 400px;
- min-width: 0;
- @media (max-width: 960px) {
- margin: 0 auto;
- max-width: 420px;
- }
-}
-
-.topology-panel {
- background: var(--invariant-surface-glass);
- border: 1px solid rgba(220,127,130,.35);
- border-radius: 16px;
- padding: 2rem 1.5rem;
- backdrop-filter: blur(8px);
- -webkit-backdrop-filter: blur(8px);
-}
-
-@supports not ((backdrop-filter: blur(8px)) or (-webkit-backdrop-filter: blur(8px))) {
- .topology-panel { background: rgba(28,31,35,.92); }
-}
-
-.topology-panel__caption {
- font-size: .75rem;
- font-weight: 500;
- letter-spacing: .08em;
- text-transform: uppercase;
- color: #{$arc-text-dark};
- margin-bottom: 1.25rem;
-}
-
-.topology {
- position: relative;
display: flex;
- flex-direction: column;
- padding-left: 14px; // room for the return arc
-}
-
-// The return arc is the URL-status stream (purple in the docs diagram)
-.topology__return {
- position: absolute;
- left: -6px;
- top: 32px;
- height: calc(100% - 64px);
- width: 20px;
- color: rgba(220,127,130,.6);
-}
-
-.topo-node {
- position: relative;
- display: flex;
- align-items: center;
- gap: .75rem;
- min-height: 64px;
- background: var(--invariant-surface);
- border: 1px solid var(--invariant-border);
- border-radius: 12px;
- padding: .75rem 1.25rem;
- box-shadow: var(--shadow-sm);
-}
-
-.topo-node__icon {
- display: inline-flex;
- align-items: center;
justify-content: center;
- flex: 0 0 auto;
- width: 36px;
- height: 36px;
- border-radius: 50%;
- background: #{$brand-900};
- color: #{$brand-200};
-}
-
-// The spout carries the mascot's red lightning
-.topo-node__icon--spout {
- color: #{$red-text-dark};
-}
-
-.topo-node__text {
- display: flex;
- flex-direction: column;
- min-width: 0;
- strong {
- font-size: .875rem;
- font-weight: 600;
- color: var(--invariant-text);
- line-height: 1.35;
- }
- small {
- font-size: .75rem;
- line-height: 1.4;
- color: var(--invariant-text-secondary);
- }
-}
-
-.topo-badge {
- margin-left: auto;
- flex: 0 0 auto;
- border: 1px solid var(--invariant-border);
- border-radius: 6px;
- padding: .125rem .5rem;
- font-family: $font-mono;
- font-size: .6875rem;
- color: var(--invariant-text-secondary);
-}
-
-.topo-badge--spout {
- border-color: rgba(201,210,221,.5);
- color: #{$arc-text-dark};
-}
-
-// External systems (the Frontier) are not part of the topology itself
-.topo-node--ext {
- background: transparent;
- border-style: dashed;
- box-shadow: none;
- .topo-node__icon {
- background: transparent;
- border: 1px dashed var(--invariant-border);
- color: var(--invariant-text-secondary);
- }
-}
-
-.topo-badge--ext {
- border-style: dashed;
-}
-
-
-// Tuple pulse — connectors between topology nodes
-.connector {
- position: relative;
- width: 2px;
- height: 20px;
- margin: 0 auto;
- background: var(--invariant-border);
- &::after {
- content: "";
- position: absolute;
- top: -6px;
- left: -1px;
- width: 4px;
- height: 6px;
- border-radius: 2px;
- background: #{$arc-glow};
- box-shadow: 0 0 8px #{$arc-glow};
- animation: tuple 2.4s linear infinite;
- animation-delay: var(--d, 0s);
- }
-}
-
-@keyframes tuple {
- to { transform: translateY(26px); opacity: .2; }
+ @media (max-width: 960px) { margin: 0 auto; }
}
-.hero__panel-link {
- margin-top: 1rem;
- text-align: center;
-}
-
-// BorderBeam — exactly one instance site-wide (Index bolt node)
-@property --beam-angle {
- syntax: "<angle>";
- initial-value: 0deg;
- inherits: false;
-}
-
-.beam::after {
- content: "";
- position: absolute;
- inset: 0;
- border-radius: inherit;
- padding: 1.5px;
- background: conic-gradient(from var(--beam-angle, 0deg), transparent 0 82%, #{$brand-500} 90%, #{$arc-glow} 97%, transparent 100%);
- -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
- -webkit-mask-composite: xor;
- mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
- mask-composite: exclude;
- animation: beam 7s linear infinite;
- pointer-events: none;
-}
-
-@keyframes beam {
- to { --beam-angle: 360deg; }
+.hero__mark {
+ width: 100%;
+ max-width: 340px;
+ height: auto;
+ @media (max-width: 960px) { max-width: 240px; }
}
// --- Landing sections ----------------------------------------------------------
@@ -1006,19 +760,11 @@ code, pre, kbd, samp {
// Bottom CTA band
.cta-band {
- background: linear-gradient(135deg, #{$storm-950}, #{$brand-900} 60%, #{$brand-800});
+ background: #{$storm-950};
position: relative;
padding: 6rem 2rem;
text-align: center;
@media (max-width: 720px) { padding: 3.5rem 1rem; }
- &::before {
- content: "";
- position: absolute;
- inset: 0;
- background-image: radial-gradient(rgba(199,206,232,.14) 1px, transparent 1px);
- background-size: 26px 26px;
- pointer-events: none;
- }
}
.cta-band__inner {
@@ -1129,9 +875,7 @@ code, pre, kbd, samp {
.page-hero {
position: relative;
- background:
- radial-gradient(60% 45% at 50% 108%, rgba(221,227,235,.07), transparent 70%),
- linear-gradient(to bottom, #2A1214, #{$brand-800});
+ background: #{$storm-950};
padding: 3.5rem 2rem 3rem;
@media (max-width: 720px) { padding: 2.5rem 1rem 2rem; }
}
diff --git a/css/resources/electric-storm-fonts.css b/css/resources/electric-storm-fonts.css
deleted file mode 100644
index a087fbf..0000000
--- a/css/resources/electric-storm-fonts.css
+++ /dev/null
@@ -1,46 +0,0 @@
-/* Self-hosted webfonts (ASF content policy: no external CDNs).
- Space Grotesk + Inter, latin subsets, vendored from Fontsource. */
-
-/* Space Grotesk — display */
-@font-face {
- font-family: 'Space Grotesk';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: url(/css/resources/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2) format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-@font-face {
- font-family: 'Space Grotesk';
- font-style: normal;
- font-weight: 700;
- font-display: swap;
- src: url(/css/resources/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2) format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-
-/* Inter — body & UI */
-@font-face {
- font-family: 'Inter';
- font-style: normal;
- font-weight: 400;
- font-display: swap;
- src: url(/css/resources/fonts/inter/inter-latin-400-normal.woff2) format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-@font-face {
- font-family: 'Inter';
- font-style: normal;
- font-weight: 500;
- font-display: swap;
- src: url(/css/resources/fonts/inter/inter-latin-500-normal.woff2) format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
-@font-face {
- font-family: 'Inter';
- font-style: normal;
- font-weight: 600;
- font-display: swap;
- src: url(/css/resources/fonts/inter/inter-latin-600-normal.woff2) format('woff2');
- unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
-}
diff --git a/css/resources/fonts/inter/inter-latin-400-normal.woff2 b/css/resources/fonts/inter/inter-latin-400-normal.woff2
deleted file mode 100644
index f15b025..0000000
Binary files a/css/resources/fonts/inter/inter-latin-400-normal.woff2 and /dev/null differ
diff --git a/css/resources/fonts/inter/inter-latin-500-normal.woff2 b/css/resources/fonts/inter/inter-latin-500-normal.woff2
deleted file mode 100644
index 54f0a59..0000000
Binary files a/css/resources/fonts/inter/inter-latin-500-normal.woff2 and /dev/null differ
diff --git a/css/resources/fonts/inter/inter-latin-600-normal.woff2 b/css/resources/fonts/inter/inter-latin-600-normal.woff2
deleted file mode 100644
index d189794..0000000
Binary files a/css/resources/fonts/inter/inter-latin-600-normal.woff2 and /dev/null differ
diff --git a/css/resources/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2 b/css/resources/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2
deleted file mode 100644
index 0db251f..0000000
Binary files a/css/resources/fonts/space-grotesk/space-grotesk-latin-500-normal.woff2 and /dev/null differ
diff --git a/css/resources/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2 b/css/resources/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2
deleted file mode 100644
index 44604a0..0000000
Binary files a/css/resources/fonts/space-grotesk/space-grotesk-latin-700-normal.woff2 and /dev/null differ
diff --git a/img/spider-mark.svg b/img/spider-mark.svg
new file mode 100644
index 0000000..3ad3634
--- /dev/null
+++ b/img/spider-mark.svg
@@ -0,0 +1,5 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="360 1055 466 458" fill="none" role="img" aria-label="StormCrawler spider">
+ <path d="m 363.319,1321.874 0.55901,0.4629 c 4.72792,-0.8207 8.98036,-6.0272 12.30461,-8.7735 8.59181,-7.0971 17.24776,-13.998 26.83197,-20.168 5.3966,-3.4595 11.22454,-7.7035 17.33403,-10.2357 3.49677,-1.4447 7.42556,-1.9259 11.18176,-2.5321 8.50485,-1.3734 17.0097,-2.1578 25.7092,-2.1578 4.57676,0 10.62071,-1.5871 15.11057,-0.302 1.46781,0.4106 2.52574,1.4804 3.90737,2.0686 2.11515,0.9102 4.72723,0.6237 6.71262,1.6226 3.58375,1.8191 6.75682,4.4584 10.05964,6.6159 6.75682,4.4223 13.21 [...]
+ <path d="m 554.41193,1309.8047 c -2.07451,4.2318 -3.76593,8.9734 -1.6915,13.4772 1.30849,2.8383 3.87843,5.2856 6.15575,7.699 -6.89962,0.4264 -12.6503,4.4868 -17.88126,7.5461 -7.62158,4.4698 -15.17548,8.7526 -22.3463,13.6474 -3.13448,2.1413 -6.22407,4.6397 -9.58349,6.5772 -2.95438,1.6995 -6.85558,2.7193 -9.15494,4.9796 -2.81909,2.7534 -3.42775,5.9996 -5.11925,9.1435 -2.54789,4.7927 -5.32135,9.7046 -8.18534,14.4463 -6.08806,9.9933 -10.77876,20.5306 -16.07733,30.8129 -1.50996,2.9231 -4.37 [...]
+ <path d="m 614.71607,1235.923 c 1.28493,0.4616 1.86117,1.4202 1.44164,2.2952 l -11.30535,23.136 h 20.85294 c 2.75418,0 4.17098,2.0643 2.28214,3.3357 l -50.23137,33.5889 c -2.28215,1.5192 -6.26889,0.068 -5.2717,-1.932 l 11.30464,-23.1359 h -20.85294 c -2.75417,0 -4.19723,-2.0805 -2.30838,-3.3355 l 50.23137,-33.5892 c 0.99721,-0.6776 2.5969,-0.8257 3.85559,-0.3626 z m 0,0" fill="#C33540"/>
+</svg>
diff --git a/index.html b/index.html
index d8e9aa6..6ee0404 100644
--- a/index.html
+++ b/index.html
@@ -5,69 +5,26 @@ slug: home
<!-- ============================== Hero ============================== -->
<section class="hero" id="top">
- <canvas class="hero-rain" aria-hidden="true"></canvas>
<div class="hero__inner">
<div class="hero__copy">
<h1 class="hero__title">Build web crawlers that ride the <span class="grad-word">storm</span>.</h1>
<p class="hero__lede"><strong>Apache StormCrawler</strong> is an open source SDK for building distributed web crawlers based on <a href="https://storm.apache.org" style="color:inherit;text-decoration:underline;text-underline-offset:3px;">Apache Storm®</a>. Low-latency, scalable and polite: a collection of reusable components, written mostly in Java, under Apache License v2.</p>
<div class="hero__ctas">
- <a class="btn btn--solid shimmer" href="{{ site.baseurl }}/docs/latest/index.html#_quick_start">Get started →</a>
+ <a class="btn btn--solid" href="{{ site.baseurl }}/docs/latest/index.html#_quick_start">Get started →</a>
<a class="btn btn--ghost" href="{{ site.baseurl }}/download/">Download 3.6.0</a>
</div>
<p class="hero__assurance">
<span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 12.5 9.5 18 20 6"/></svg> Apache License v2</span>
<span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 12.5 9.5 18 20 6"/></svg> Java, on Apache Storm®</span>
- <span><svg width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M4 12.5 9.5 18 20 6"/></svg> Community-governed</span>
</p>
</div>
- <aside class="hero__panel reveal">
- <div class="topology-panel">
- <p class="topology-panel__caption">The crawl topology</p>
- <div class="topology">
- <svg class="topology__return" viewBox="0 0 20 460" preserveAspectRatio="none" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" aria-hidden="true">
- <path d="M18 452 C 2 420, 2 40, 18 8" vector-effect="non-scaling-stroke"/>
- <path d="M18 8 l-8 1 M18 8 l-2 7" vector-effect="non-scaling-stroke"/>
- </svg>
- <div class="topo-node topo-node--ext">
- <span class="topo-node__icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><ellipse cx="12" cy="5.5" rx="8" ry="2.8"/><path d="M4 5.5V18.5c0 1.5 3.6 2.8 8 2.8s8-1.3 8-2.8V5.5M4 12c0 1.5 3.6 2.8 8 2.8s8-1.3 8-2.8"/></svg></span>
- <span class="topo-node__text"><strong>Frontier</strong><small>the URL store</small></span>
- <span class="topo-badge topo-badge--ext">Store</span>
- </div>
- <div class="connector" aria-hidden="true"></div>
- <div class="topo-node">
- <span class="topo-node__icon topo-node__icon--spout"><svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor" aria-hidden="true"><path d="M13 2 4.5 13.5H11L9.5 22 19 10h-6.5L13 2Z"/></svg></span>
- <span class="topo-node__text"><strong>FrontierSpout</strong><small>emits URLs due for fetching</small></span>
- <span class="topo-badge topo-badge--spout">Spout</span>
- </div>
- <div class="connector" aria-hidden="true" style="--d:.5s"></div>
- <div class="topo-node">
- <span class="topo-node__icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" aria-hidden="true"><circle cx="12" cy="12" r="9"/><path d="M3 12h18M12 3c2.5 2.6 3.9 5.7 3.9 9S14.5 18.4 12 21c-2.5-2.6-3.9-5.7-3.9-9S9.5 5.6 12 3Z"/></svg></span>
- <span class="topo-node__text"><strong>Fetcher</strong><small>polite, robots.txt-aware fetching</small></span>
- <span class="topo-badge">Bolt</span>
- </div>
- <div class="connector" aria-hidden="true" style="--d:.9s"></div>
- <div class="topo-node">
- <span class="topo-node__icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M6 3h9l4 4v14H6V3Z"/><path d="M14.5 3v4.5H19M9 12h6M9 15.5h6"/></svg></span>
- <span class="topo-node__text"><strong>Parser bolt</strong><small>SiteMapParser, JSoupParser, TikaParser & more: link extraction, sitemaps, Apache Tika®</small></span>
- <span class="topo-badge">Bolt</span>
- </div>
- <div class="connector" aria-hidden="true" style="--d:1.2s"></div>
- <div class="topo-node beam">
- <span class="topo-node__icon"><svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.8" stroke-linecap="round" aria-hidden="true"><path d="M21 12a9 9 0 1 1-9-9"/><path d="M11 8v5h5M21 3l-9 9"/></svg></span>
- <span class="topo-node__text"><strong>Indexer</strong><small>documents to storage: OpenSearch®, Apache Solr™, …</small></span>
- <span class="topo-badge">Bolt</span>
- </div>
- </div>
- </div>
- <p class="hero__panel-link">
- <a class="chip" href="{{ site.baseurl }}/docs/latest/index.html">See the full architecture <svg width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" aria-hidden="true"><path d="M7 17 17 7M9 7h8v8"/></svg></a>
- </p>
+ <aside class="hero__panel">
+ <img class="hero__mark" src="{{ site.baseurl }}/img/spider-mark.svg" alt="Apache StormCrawler" width="360" height="354">
</aside>
</div>
</section>
-<div class="strip strip--hero" aria-hidden="true"></div>
<!-- ============================== Features ============================== -->
<section class="section" id="features">
@@ -141,7 +98,7 @@ slug: home
</li>
<li class="step">
<span class="step__num" aria-hidden="true">3</span>
- <span class="step__label">Run locally, then submit to a Storm cluster</span>
+ <span class="step__label">Run locally or submit to a Storm cluster</span>
<a class="chip" href="{{ site.baseurl }}/docs/latest/index.html#_run_your_first_crawl">Docs →</a>
</li>
</ol>
@@ -273,7 +230,6 @@ slug: home
</section>
<!-- ============================== CTA ============================== -->
-<div class="strip strip--cta" aria-hidden="true"></div>
<section class="cta-band">
<div class="cta-band__inner">
<h2>Ready to unleash the storm?</h2>
diff --git a/js/hero-rain.js b/js/hero-rain.js
deleted file mode 100644
index 21972a9..0000000
--- a/js/hero-rain.js
+++ /dev/null
@@ -1,113 +0,0 @@
-(function () {
- 'use strict';
- if (window.matchMedia('(prefers-reduced-motion: reduce)').matches) return;
-
- var canvas = document.querySelector('.hero-rain');
- if (!canvas || !canvas.getContext) return;
- var ctx = canvas.getContext('2d');
- var hero = canvas.parentElement;
-
- var COUNT = 48;
- var particles = [];
- var flicker = null; // {x, y, start}
- var nextFlickerAt = 0;
- var running = false;
- var rafId = 0;
-
- function rand(min, max) { return min + Math.random() * (max - min); }
-
- function resize() {
- var dpr = Math.min(window.devicePixelRatio || 1, 2);
- canvas.width = hero.offsetWidth * dpr;
- canvas.height = hero.offsetHeight * dpr;
- ctx.setTransform(dpr, 0, 0, dpr, 0, 0);
- }
-
- function spawn() {
- particles.length = 0;
- for (var i = 0; i < COUNT; i++) {
- particles.push({
- x: rand(0, hero.offsetWidth),
- y: rand(0, hero.offsetHeight),
- len: rand(6, 16),
- alpha: rand(0.06, 0.28),
- vy: rand(0.25, 0.7)
- });
- }
- }
-
- function scheduleFlicker(now) {
- nextFlickerAt = now + rand(9000, 14000);
- }
-
- function frame(now) {
- if (!running) return;
- var w = hero.offsetWidth, h = hero.offsetHeight;
- ctx.clearRect(0, 0, w, h);
-
- for (var i = 0; i < particles.length; i++) {
- var p = particles[i];
- p.y += p.vy;
- if (p.y - p.len > h) { p.y = -p.len; p.x = rand(0, w); }
- var dx = 0.12 * p.vy * p.len;
- ctx.strokeStyle = 'rgba(205,210,217,' + p.alpha.toFixed(3) + ')';
- ctx.lineWidth = 1;
- ctx.beginPath();
- ctx.moveTo(p.x, p.y - p.len);
- ctx.lineTo(p.x + dx, p.y);
- ctx.stroke();
- }
-
- // Occasional cyan flicker on a random particle
- if (!flicker && now >= nextFlickerAt) {
- var t = particles[Math.floor(rand(0, particles.length))];
- flicker = { x: t.x, y: t.y, start: now };
- }
- if (flicker) {
- var e = (now - flicker.start) / 600;
- if (e >= 1) {
- flicker = null;
- scheduleFlicker(now);
- } else {
- var a = 0.35 * Math.sin(Math.PI * e);
- var g = ctx.createRadialGradient(flicker.x, flicker.y, 0, flicker.x, flicker.y, 120);
- g.addColorStop(0, 'rgba(221,227,235,' + a.toFixed(3) + ')');
- g.addColorStop(1, 'rgba(221,227,235,0)');
- ctx.fillStyle = g;
- ctx.fillRect(flicker.x - 120, flicker.y - 120, 240, 240);
- }
- }
-
- rafId = requestAnimationFrame(frame);
- }
-
- function start() {
- if (running) return;
- running = true;
- scheduleFlicker(performance.now());
- rafId = requestAnimationFrame(frame);
- }
-
- function stop() {
- running = false;
- cancelAnimationFrame(rafId);
- }
-
- var resizeTimer;
- window.addEventListener('resize', function () {
- clearTimeout(resizeTimer);
- resizeTimer = setTimeout(function () { resize(); spawn(); }, 150);
- });
-
- // Pause when the hero is off-screen
- if ('IntersectionObserver' in window) {
- new IntersectionObserver(function (entries) {
- entries[0].isIntersecting ? start() : stop();
- }).observe(hero);
- } else {
- start();
- }
-
- resize();
- spawn();
-})();