From e8c26cd59d3ee3d5b194a3da1348799ad991d7d2 Mon Sep 17 00:00:00 2001 From: Andre Levesque <0sniffs_scaled@icloud.com> Date: Fri, 17 Jul 2026 14:52:30 -0400 Subject: [PATCH] fix: move band-profile Share button into the header MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The Share button sat in a flex column beside the bio — floating above it on mobile (col-reverse) and forcing an empty right column on desktop, only visible now that bios exist. It's a page-level action: top-right of the photo hero (absolute, over the scrim) and top-right of the no-photo header (flex). The bio takes the full section width; max-w-prose stays as a deliberate reading measure. Requested by Dre. Co-Authored-By: Claude Fable 5 --- frontend/src/pages/BandProfilePage.jsx | 91 +++++++++++++++----------- 1 file changed, 53 insertions(+), 38 deletions(-) diff --git a/frontend/src/pages/BandProfilePage.jsx b/frontend/src/pages/BandProfilePage.jsx index 1f119344..20640475 100644 --- a/frontend/src/pages/BandProfilePage.jsx +++ b/frontend/src/pages/BandProfilePage.jsx @@ -477,6 +477,18 @@ export default function BandProfilePage() { className="h-full w-full object-cover opacity-60" />
+ {/* Page-level action lives in the header, not beside the bio — + the old placement floated awkwardly above the bio on mobile + and forced an empty column on desktop (Dre, 2026-07-17). */} +
+ +

{profile.name} @@ -499,49 +511,52 @@ export default function BandProfilePage() {

) : (
-

{profile.name}

-
- {profile.genre && ( - - - )} - {profile.origin && ( - - - )} + {/* Share sits top-right of the header on both variants — see the + photo-variant comment above. */} +
+
+

+ {profile.name} +

+
+ {profile.genre && ( + + + )} + {profile.origin && ( + + + )} +
+
+
+ +
)} - {/* Bio, Social Links, and Share */} + {/* Bio and Social Links — Share moved to the header (page-level + action); the bio keeps max-w-prose for line-length, not layout */}
-
-
- {profile.description ? ( -
- ) : ( - !hasAnySocial(profile.social) && ( -

No bio added yet.

- ) - )} -
-
- -
-
+ {profile.description ? ( +
+ ) : ( + !hasAnySocial(profile.social) &&

No bio added yet.

+ )} {hasAnySocial(profile.social) ? (