From e5ed88b67625299832bd901cc09422a68aea88b2 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Wed, 19 Nov 2025 12:56:36 +0100 Subject: [PATCH] refactor: update DevHub and DownloadHero layout with consistent borders and spacing - Changed DevHub from div to section with max-w-8xl container - Added top spacing divider with py-6 and gray-800 borders to DevHub - Added top and side borders (border-t, border-l, border-r) to DevHub content area - Changed DevHub background to #111111 with reduced padding (py-12) - Added bottom border and spacing divider to DevHub matching NetworkDownload pattern - Changed DownloadHero from div to section with i --- src/pages/download/DevHub.tsx | 16 ++++++++++++---- src/pages/download/DownloadHero.tsx | 19 ++++++++++++------- 2 files changed, 24 insertions(+), 11 deletions(-) diff --git a/src/pages/download/DevHub.tsx b/src/pages/download/DevHub.tsx index 2b63877..65a92b6 100644 --- a/src/pages/download/DevHub.tsx +++ b/src/pages/download/DevHub.tsx @@ -36,8 +36,12 @@ const features = [ export function DevHub() { return ( -
-
+
+ {/* Top spacing + border */} +
+
+ +

Get Started

@@ -63,7 +67,11 @@ export function DevHub() { ))}
-
-
+
+ + {/* Bottom horizontal line with spacing (match NetworkDownload) */} +
+
+
) } diff --git a/src/pages/download/DownloadHero.tsx b/src/pages/download/DownloadHero.tsx index e4c8e35..a61d420 100644 --- a/src/pages/download/DownloadHero.tsx +++ b/src/pages/download/DownloadHero.tsx @@ -40,14 +40,14 @@ const features = [ export function DownloadHero() { return ( -
-
+
+
Download Mycelium Network @@ -55,7 +55,7 @@ export function DownloadHero() { initial={{ opacity: 0, y: 20 }} animate={{ opacity: 1, y: 0 }} transition={{ duration: 0.5, delay: 0.2 }} - className="mt-6 text-lg text-gray-600 lg:leading-8" + className="mt-8 text-lg text-gray-600 lg:leading-8" > Get Mycelium Network for Android, Windows, macOS, and iOS to securely connect, store, and interact with the decentralized network—seamlessly and efficiently. Not sure how it works?{' '}
-
-
+ +
+
{features.map((feature) => (
-
+ + {/* Bottom horizontal line with spacing (match NetworkDownload) */} +
+
+
) }