From 8c5fbc4668178303828f50e59def162e61834dce Mon Sep 17 00:00:00 2001 From: Jon Date: Mon, 15 Jun 2026 17:17:07 +0100 Subject: [PATCH] Restructure hero: SVG full-width block, copy flows below MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Removes the absolute-positioned overlay layout. The drone AI vision SVG now sits as a full-width block element sized by CSS height (clamp 360px–640px), with the Build/Share/Deploy copy in normal document flow beneath it. Co-Authored-By: Claude Sonnet 4.6 --- index.html | 38 ++++++++++++++++++-------------------- style.css | 15 +++++++++------ 2 files changed, 27 insertions(+), 26 deletions(-) diff --git a/index.html b/index.html index 7135ab4..a77b547 100644 --- a/index.html +++ b/index.html @@ -103,7 +103,7 @@ - -
-
-
-
Drone development kits · Open source
-

Build.
Share.
Deploy.

-

Hardware devkits, open-source drone software, and integrated consultancy for domestic and industrial solutions.

- - + +
+
+
Drone development kits · Open source
+

Build.
Share.
Deploy.

+

Hardware devkits, open-source drone software, and integrated consultancy for domestic and industrial solutions.

+ +
diff --git a/style.css b/style.css index f97b15b..52a96a3 100644 --- a/style.css +++ b/style.css @@ -235,9 +235,6 @@ img { display: block; max-width: 100%; } .hero { position: relative; overflow: hidden; - min-height: clamp(640px, 90vh, 940px); - display: flex; - flex-direction: column; } .hero-bg { @@ -247,10 +244,16 @@ img { display: block; max-width: 100%; } } .drone-vision-bg { - position: absolute; - inset: 0; + position: relative; z-index: 1; - pointer-events: none; + width: 100%; + line-height: 0; +} + +.drone-vision-bg svg { + display: block; + width: 100%; + height: clamp(360px, 48vw, 640px); } html.dark .drone-vision-bg svg { filter: invert(1); }