Files
EpicNext-Cms/src/components/clouds-field.tsx
T
openhands 8a1b83b965
CI / check (push) Successful in 2m35s
CI / deploy (push) Successful in 1m22s
CI / publish-container (push) Successful in 50s
feat(site): make drifting clouds clearly visible and moving
The first cloud pass was to subtle: only five, up to 190s per crossing,
and they froze off-screen under prefers-reduced-motion. Rework:

- Eight clouds across the top 60% of the viewport with visible drift
  (28s–66s loops, staggered by negative delays so they are always mid
  scene on load).
- Higher opacity/steeper size contrast in light mode; dark mode dims
  them slightly.
- Reduced motion now freezes a static, evenly-spread cloud field across
  the width instead of pushing the clouds off-screen.
2026-09-12 17:51:37 +02:00

19 lines
546 B
TypeScript

/**
* Drifting cloud puffs that float across the public background.
* Pure decoration: fixed, behind the content, no pointer events.
*/
export function CloudsField() {
return (
<div className="clouds" aria-hidden="true">
<span className="cloud cloud-1" />
<span className="cloud cloud-2" />
<span className="cloud cloud-3" />
<span className="cloud cloud-4" />
<span className="cloud cloud-5" />
<span className="cloud cloud-6" />
<span className="cloud cloud-7" />
<span className="cloud cloud-8" />
</div>
);
}