From cc56f8f57086322b15039def722a2c553e7f7734 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Alexander=20Str=C3=B8mseng?= Date: Sat, 13 Apr 2024 23:05:28 +0200 Subject: [PATCH] 203 homepage style globe (#285) * style(frontend): :lipstick: style globe, now uses borders, and has transparent background * random strapi generated update idk why --- frontend/src/app/page.tsx | 20 +++++++------------ .../homeComponents/SatelliteSelector.tsx | 2 +- .../satelliteData/SatelliteDataHome.tsx | 12 +++++------ 3 files changed, 14 insertions(+), 20 deletions(-) diff --git a/frontend/src/app/page.tsx b/frontend/src/app/page.tsx index c6f01ac..0cda91a 100644 --- a/frontend/src/app/page.tsx +++ b/frontend/src/app/page.tsx @@ -23,21 +23,16 @@ export default async function Home() { return ( <> -
+
{/* Stats Container */} -
-
- -
-
- -
-
+
+ +
{/* Globe Container */} -
-
+
+
@@ -49,8 +44,7 @@ export default async function Home() { >

- TEST NUMBER 3 Empowering Space Exploration One Satellite - at a Time + Empowering Space Exploration One Satellite at a Time

diff --git a/frontend/src/components/homeComponents/SatelliteSelector.tsx b/frontend/src/components/homeComponents/SatelliteSelector.tsx index 9350cf2..c579e82 100644 --- a/frontend/src/components/homeComponents/SatelliteSelector.tsx +++ b/frontend/src/components/homeComponents/SatelliteSelector.tsx @@ -21,7 +21,7 @@ export default function SatelliteSelector() { } return ( -
+
-
-
+
+

{satelliteInfo ? satelliteInfo.velocity + " km/s" @@ -51,7 +51,7 @@ export default function SatelliteDataHome() {

Velocity

-
+

{satelliteInfo ? satelliteInfo.altitude + " km" @@ -59,7 +59,7 @@ export default function SatelliteDataHome() {

Altitude

-
+

{satelliteInfo ? satelliteInfo.latitudeDeg + "° N" @@ -67,7 +67,7 @@ export default function SatelliteDataHome() {

Latitude

-
+

{satelliteInfo ? satelliteInfo.longitudeDeg + "° E" @@ -77,7 +77,7 @@ export default function SatelliteDataHome() {

-
+

{satelliteInfo