contents(spot): move Comments above Gear Swap and Spot Chat
Spot page order is now: title/badges -> description -> Comments -> Gear Swap -> Spot Chat. Comments are the conversation about the spot, so they belong next to the description rather than below the transactional blocks. Verified in the browser by text position: description(379) < Comments(404) < GEAR SWAP(507) < Spot Chat(618). tsc/eslint clean, 101 tests, smoke PASS.
This commit is contained in:
parent
9a8056700d
commit
48a27d552d
1 changed files with 3 additions and 2 deletions
|
|
@ -688,6 +688,9 @@ export default function SpotDetailPage() {
|
||||||
</Card>
|
</Card>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
{/* Comments Section */}
|
||||||
|
{spot.event && <CommentsSection root={spot.event} />}
|
||||||
|
|
||||||
{/* Gear Swap Section - Only show on actual skate spots, not shops */}
|
{/* Gear Swap Section - Only show on actual skate spots, not shops */}
|
||||||
{!isShop && (
|
{!isShop && (
|
||||||
<Card className="bg-black/90 border-2 border-orange-500/30 overflow-hidden">
|
<Card className="bg-black/90 border-2 border-orange-500/30 overflow-hidden">
|
||||||
|
|
@ -906,8 +909,6 @@ export default function SpotDetailPage() {
|
||||||
<SpotChat geohash={spot.geohash} defaultPrecision="block" />
|
<SpotChat geohash={spot.geohash} defaultPrecision="block" />
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* Comments Section */}
|
|
||||||
{spot.event && <CommentsSection root={spot.event} />}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue