diff --git a/public/neko.png b/public/neko.png new file mode 100644 index 0000000..4ca4c96 Binary files /dev/null and b/public/neko.png differ diff --git a/src/components/board/Officer.astro b/src/components/board/Officer.astro index 1c5f2b9..ae61a5d 100644 --- a/src/components/board/Officer.astro +++ b/src/components/board/Officer.astro @@ -2,29 +2,30 @@ import { FaGear } from "react-icons/fa6"; import { MdEmail } from "react-icons/md"; import Link from "next/link"; +const {name, position, picture, email} = Astro.props; --- -
+

- s1hung@ucsd.edu + {email}

- big face shing + officer
-

- Shing Hung +

+ {name}

-
- Webmaster +
+ {position}
diff --git a/src/components/board/Officers.astro b/src/components/board/Officers.astro index 3370cfb..188aa44 100644 --- a/src/components/board/Officers.astro +++ b/src/components/board/Officers.astro @@ -1,23 +1,39 @@ --- import about from "../../../public/about.png"; import { Image } from "astro:assets"; -import shing from "../../../public/officers/shing.jpg"; +import neko from "/public/neko.png"; import { LiaDotCircle } from "react-icons/lia"; +import Officer from "../board/Officer.astro" +import officers from "../../data/officers.json" ---
About background image - About image + About image
-
+

MEET THE BOARD

+

+ Erat hendrerit tristique erat; parturient cursus fringilla feugiat. Eget faucibus fames ridiculus nec egestas convallis cubilia malesuada. Tellus nibh vivamus tempus molestie tristique quis +

+ +
+ {officers.map((officer)=>( + + ))} +
diff --git a/src/data/officers.json b/src/data/officers.json index 77646a4..b0b58ed 100644 --- a/src/data/officers.json +++ b/src/data/officers.json @@ -2,7 +2,7 @@ { "name": "Mustahsin Zarif", "position": "Chair", - "picture": "/officers/zarif.jpg", + "picture": "/../public/neko.png", "email": "mmzarif@ucsd.edu", "type": ["Executives"] }, @@ -20,6 +20,48 @@ "email": "cmn010@ucsd.edu", "type": ["Internal"] }, + { + "name": "Shing Hung", + "position": "Webmaster", + "picture": "/officers/shing.jpg", + "email": "s1hung@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Andy Smithwick", + "position": "Webmaster", + "picture": "/officers/andy.jpg", + "email": "asmithwick@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Stella Ji", + "position": "Marketing Chair", + "picture": "/officers/stella.jpg", + "email": "seji@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Lauren Vo", + "position": "Marketing Chair", + "picture": "/officers/lauren.jpg", + "email": "lavo@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Wan-Rong (Emma) Leung", + "position": "Design Chair", + "picture": "/officers/emma.jpg", + "email": "waleung@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Christine Uy", + "position": "Design Chair", + "picture": "/officers/christine.jpg", + "email": "c1uy@ucsd.edu", + "type": ["Internal"] + }, { "name": "Shipra Gudekar", "position": "Vice Chair Events", @@ -51,14 +93,14 @@ { "name": "Sin Yin Yang", "position": "Events Coordinator", - "picture": "/officers/sinyin.jpg", + "picture": "/../public/neko.png", "email": "siy015@ucsd.edu", "type": ["Executives", "Events"] }, { "name": "Rana Singh", "position": "Vice Chair External", - "picture": "/officers/rana.jpg", + "picture": "/../public/neko.png", "email": "ras010@ucsd.edu", "type": ["Executives"] }, @@ -93,7 +135,7 @@ { "name": "Ritoban Roy-Chowdhury", "position": "Supercomputing Chair", - "picture": "/officers/ritoban.jpg", + "picture": "/../public/neko.png", "email": "rroychowdhury@ucsd.edu", "type": ["Projects"] }, @@ -128,7 +170,7 @@ { "name": "Fahad Alkhazam", "position": "Technical Chair", - "picture": "/officers/fahad.jpg", + "picture": "/../public/neko.png", "email": "falkhazam@ucsd.edu", "type": ["Events"] }, @@ -173,48 +215,5 @@ "picture": "/officers/dhruv.jpg", "email": "dchoudhary@ucsd.edu", "type": ["Events"] - }, - - { - "name": "Andy Smithwick", - "position": "Webmaster", - "picture": "/officers/andy.jpg", - "email": "asmithwick@ucsd.edu", - "type": ["Internal"] - }, - { - "name": "Shing Hung", - "position": "Webmaster", - "picture": "/officers/shing.jpg", - "email": "s1hung@ucsd.edu", - "type": ["Internal"] - }, - { - "name": "Stella Ji", - "position": "Marketing Chair", - "picture": "/officers/stella.jpg", - "email": "seji@ucsd.edu", - "type": ["Internal"] - }, - { - "name": "Lauren Vo", - "position": "Marketing Chair", - "picture": "/officers/lauren.jpg", - "email": "lavo@ucsd.edu", - "type": ["Internal"] - }, - { - "name": "Wan-Rong (Emma) Leung", - "position": "Design Chair", - "picture": "/officers/emma.jpg", - "email": "waleung@ucsd.edu", - "type": ["Internal"] - }, - { - "name": "Christine Uy", - "position": "Design Chair", - "picture": "/officers/christine.jpg", - "email": "c1uy@ucsd.edu", - "type": ["Internal"] } ]