From bacf18751d2f0d195d82bf2c201302ae4e58bc84 Mon Sep 17 00:00:00 2001 From: chark1es Date: Thu, 23 Jan 2025 14:03:05 -0800 Subject: [PATCH] fixed mobile buggs --- src/components/board/Officer.astro | 54 +++++++++++++++++++++--------- src/data/officers.json | 2 +- 2 files changed, 39 insertions(+), 17 deletions(-) diff --git a/src/components/board/Officer.astro b/src/components/board/Officer.astro index 343a74e..f587dbe 100644 --- a/src/components/board/Officer.astro +++ b/src/components/board/Officer.astro @@ -2,31 +2,53 @@ import { FaGear } from "react-icons/fa6"; import { MdEmail } from "react-icons/md"; import Link from "next/link"; -const {name, position, picture, email} = Astro.props; +const { name, position, picture, email } = Astro.props; --- -
-
- - -

+ +

+
+ + +

{email}

-
- officer -
- +
+ officer +
+
-
-

+

+

{name}

-
+
{position}
-
+

- -
\ No newline at end of file +
diff --git a/src/data/officers.json b/src/data/officers.json index 3156fce..8babfad 100644 --- a/src/data/officers.json +++ b/src/data/officers.json @@ -77,7 +77,7 @@ "type": ["Internal"] }, { - "name": "Wan-Rong (Emma) Leung", + "name": "Emma Leung", "position": "Design Chair", "picture": "/officers/emma.jpg", "email": "waleung@ucsd.edu",