Skip to content

Commit

Permalink
move lanuch date above map (#379)
Browse files Browse the repository at this point in the history
  • Loading branch information
Magnus Alexander Strømseng authored and GitHub committed Apr 28, 2024
1 parent 2179f39 commit ea224c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions frontend/src/app/satellites/[satelliteSlug]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,6 @@ export default async function SatelliteInfoPage({
</div>
) : null}

{/* Container for map */}
{satelliteInfo.noradId ? (
<div className="mt-6 w-full">
<Map2d satNum={satelliteInfo.noradId} />
</div>
) : null}

{/* Container for launch date */}
{satelliteInfo.launchDate ? (
<div className="w-full">
Expand All @@ -127,6 +120,13 @@ export default async function SatelliteInfoPage({
</div>
) : null}

{/* Container for map */}
{satelliteInfo.noradId ? (
<div className="mt-6 w-full">
<Map2d satNum={satelliteInfo.noradId} />
</div>
) : null}

{/* Container for body content */}
<div className="mt-6 px-4 sm:px-0">
<BlockRendererClient content={satelliteInfo.content} />
Expand Down

0 comments on commit ea224c3

Please sign in to comment.