From 3fc41d872088218317fe9a74aa8df7211c1c9224 Mon Sep 17 00:00:00 2001 From: "Chiayi (Aiden) Wu" Date: Sat, 4 Jan 2025 21:52:10 -0800 Subject: [PATCH] add officer component --- .../for website => officers}/akhil.jpg | Bin .../for website => officers}/allie.jpg | Bin .../for website => officers}/andy.jpg | Bin .../for website => officers}/anika.jpg | Bin .../for website => officers}/anu.jpg | Bin .../for website => officers}/ashlee.jpg | Bin .../for website => officers}/charles.jpg | Bin .../for website => officers}/christine.jpg | Bin .../for website => officers}/dhruv.jpg | Bin .../for website => officers}/dihan.jpg | Bin .../for website => officers}/emma.jpg | Bin .../for website => officers}/erik.jpg | Bin .../for website => officers}/jonathan.jpg | Bin .../for website => officers}/lauren.jpg | Bin .../for website => officers}/lisa.jpg | Bin .../for website => officers}/philip.jpg | Bin .../for website => officers}/pranav.jpg | Bin .../for website => officers}/rafaella.jpg | Bin .../for website => officers}/raymond.jpg | Bin .../for website => officers}/ridhi.jpg | Bin .../for website => officers}/rohil.jpg | Bin .../for website => officers}/shing.jpg | Bin .../for website => officers}/shipra.jpg | Bin .../for website => officers}/stella.jpg | Bin .../for website => officers}/steph.jpg | Bin .../for website => officers}/terri.jpg | Bin .../zarif.heic => officers/zarif.jpg} | Bin src/components/board/Officer.astro | 32 +++ src/components/board/Officers.astro | 23 ++ src/data/officers.json | 220 ++++++++++++++++++ src/pages/board.astro | 4 +- 31 files changed, 277 insertions(+), 2 deletions(-) rename public/{headshots/for website => officers}/akhil.jpg (100%) rename public/{headshots/for website => officers}/allie.jpg (100%) rename public/{headshots/for website => officers}/andy.jpg (100%) rename public/{headshots/for website => officers}/anika.jpg (100%) rename public/{headshots/for website => officers}/anu.jpg (100%) rename public/{headshots/for website => officers}/ashlee.jpg (100%) rename public/{headshots/for website => officers}/charles.jpg (100%) rename public/{headshots/for website => officers}/christine.jpg (100%) rename public/{headshots/for website => officers}/dhruv.jpg (100%) rename public/{headshots/for website => officers}/dihan.jpg (100%) rename public/{headshots/for website => officers}/emma.jpg (100%) rename public/{headshots/for website => officers}/erik.jpg (100%) rename public/{headshots/for website => officers}/jonathan.jpg (100%) rename public/{headshots/for website => officers}/lauren.jpg (100%) rename public/{headshots/for website => officers}/lisa.jpg (100%) rename public/{headshots/for website => officers}/philip.jpg (100%) rename public/{headshots/for website => officers}/pranav.jpg (100%) rename public/{headshots/for website => officers}/rafaella.jpg (100%) rename public/{headshots/for website => officers}/raymond.jpg (100%) rename public/{headshots/for website => officers}/ridhi.jpg (100%) rename public/{headshots/for website => officers}/rohil.jpg (100%) rename public/{headshots/for website => officers}/shing.jpg (100%) rename public/{headshots/for website => officers}/shipra.jpg (100%) rename public/{headshots/for website => officers}/stella.jpg (100%) rename public/{headshots/for website => officers}/steph.jpg (100%) rename public/{headshots/for website => officers}/terri.jpg (100%) rename public/{headshots/for website/zarif.heic => officers/zarif.jpg} (100%) create mode 100644 src/components/board/Officer.astro create mode 100644 src/components/board/Officers.astro create mode 100644 src/data/officers.json diff --git a/public/headshots/for website/akhil.jpg b/public/officers/akhil.jpg similarity index 100% rename from public/headshots/for website/akhil.jpg rename to public/officers/akhil.jpg diff --git a/public/headshots/for website/allie.jpg b/public/officers/allie.jpg similarity index 100% rename from public/headshots/for website/allie.jpg rename to public/officers/allie.jpg diff --git a/public/headshots/for website/andy.jpg b/public/officers/andy.jpg similarity index 100% rename from public/headshots/for website/andy.jpg rename to public/officers/andy.jpg diff --git a/public/headshots/for website/anika.jpg b/public/officers/anika.jpg similarity index 100% rename from public/headshots/for website/anika.jpg rename to public/officers/anika.jpg diff --git a/public/headshots/for website/anu.jpg b/public/officers/anu.jpg similarity index 100% rename from public/headshots/for website/anu.jpg rename to public/officers/anu.jpg diff --git a/public/headshots/for website/ashlee.jpg b/public/officers/ashlee.jpg similarity index 100% rename from public/headshots/for website/ashlee.jpg rename to public/officers/ashlee.jpg diff --git a/public/headshots/for website/charles.jpg b/public/officers/charles.jpg similarity index 100% rename from public/headshots/for website/charles.jpg rename to public/officers/charles.jpg diff --git a/public/headshots/for website/christine.jpg b/public/officers/christine.jpg similarity index 100% rename from public/headshots/for website/christine.jpg rename to public/officers/christine.jpg diff --git a/public/headshots/for website/dhruv.jpg b/public/officers/dhruv.jpg similarity index 100% rename from public/headshots/for website/dhruv.jpg rename to public/officers/dhruv.jpg diff --git a/public/headshots/for website/dihan.jpg b/public/officers/dihan.jpg similarity index 100% rename from public/headshots/for website/dihan.jpg rename to public/officers/dihan.jpg diff --git a/public/headshots/for website/emma.jpg b/public/officers/emma.jpg similarity index 100% rename from public/headshots/for website/emma.jpg rename to public/officers/emma.jpg diff --git a/public/headshots/for website/erik.jpg b/public/officers/erik.jpg similarity index 100% rename from public/headshots/for website/erik.jpg rename to public/officers/erik.jpg diff --git a/public/headshots/for website/jonathan.jpg b/public/officers/jonathan.jpg similarity index 100% rename from public/headshots/for website/jonathan.jpg rename to public/officers/jonathan.jpg diff --git a/public/headshots/for website/lauren.jpg b/public/officers/lauren.jpg similarity index 100% rename from public/headshots/for website/lauren.jpg rename to public/officers/lauren.jpg diff --git a/public/headshots/for website/lisa.jpg b/public/officers/lisa.jpg similarity index 100% rename from public/headshots/for website/lisa.jpg rename to public/officers/lisa.jpg diff --git a/public/headshots/for website/philip.jpg b/public/officers/philip.jpg similarity index 100% rename from public/headshots/for website/philip.jpg rename to public/officers/philip.jpg diff --git a/public/headshots/for website/pranav.jpg b/public/officers/pranav.jpg similarity index 100% rename from public/headshots/for website/pranav.jpg rename to public/officers/pranav.jpg diff --git a/public/headshots/for website/rafaella.jpg b/public/officers/rafaella.jpg similarity index 100% rename from public/headshots/for website/rafaella.jpg rename to public/officers/rafaella.jpg diff --git a/public/headshots/for website/raymond.jpg b/public/officers/raymond.jpg similarity index 100% rename from public/headshots/for website/raymond.jpg rename to public/officers/raymond.jpg diff --git a/public/headshots/for website/ridhi.jpg b/public/officers/ridhi.jpg similarity index 100% rename from public/headshots/for website/ridhi.jpg rename to public/officers/ridhi.jpg diff --git a/public/headshots/for website/rohil.jpg b/public/officers/rohil.jpg similarity index 100% rename from public/headshots/for website/rohil.jpg rename to public/officers/rohil.jpg diff --git a/public/headshots/for website/shing.jpg b/public/officers/shing.jpg similarity index 100% rename from public/headshots/for website/shing.jpg rename to public/officers/shing.jpg diff --git a/public/headshots/for website/shipra.jpg b/public/officers/shipra.jpg similarity index 100% rename from public/headshots/for website/shipra.jpg rename to public/officers/shipra.jpg diff --git a/public/headshots/for website/stella.jpg b/public/officers/stella.jpg similarity index 100% rename from public/headshots/for website/stella.jpg rename to public/officers/stella.jpg diff --git a/public/headshots/for website/steph.jpg b/public/officers/steph.jpg similarity index 100% rename from public/headshots/for website/steph.jpg rename to public/officers/steph.jpg diff --git a/public/headshots/for website/terri.jpg b/public/officers/terri.jpg similarity index 100% rename from public/headshots/for website/terri.jpg rename to public/officers/terri.jpg diff --git a/public/headshots/for website/zarif.heic b/public/officers/zarif.jpg similarity index 100% rename from public/headshots/for website/zarif.heic rename to public/officers/zarif.jpg diff --git a/src/components/board/Officer.astro b/src/components/board/Officer.astro new file mode 100644 index 0000000..1c5f2b9 --- /dev/null +++ b/src/components/board/Officer.astro @@ -0,0 +1,32 @@ +--- +import { FaGear } from "react-icons/fa6"; +import { MdEmail } from "react-icons/md"; +import Link from "next/link"; +--- +
+ +
+ + +

+ s1hung@ucsd.edu +

+ +
+ +
+ big face shing +
+ +
+
+

+ Shing Hung +

+
+ Webmaster +
+
+
+ +
\ No newline at end of file diff --git a/src/components/board/Officers.astro b/src/components/board/Officers.astro new file mode 100644 index 0000000..3370cfb --- /dev/null +++ b/src/components/board/Officers.astro @@ -0,0 +1,23 @@ +--- +import about from "../../../public/about.png"; +import { Image } from "astro:assets"; +import shing from "../../../public/officers/shing.jpg"; +import { LiaDotCircle } from "react-icons/lia"; +--- +
+ +
+ About background image + About image +
+ +
+ +

+ MEET THE BOARD +

+
+ + +
+ diff --git a/src/data/officers.json b/src/data/officers.json new file mode 100644 index 0000000..77646a4 --- /dev/null +++ b/src/data/officers.json @@ -0,0 +1,220 @@ +[ + { + "name": "Mustahsin Zarif", + "position": "Chair", + "picture": "/officers/zarif.jpg", + "email": "mmzarif@ucsd.edu", + "type": ["Executives"] + }, + { + "name": "Stephanie Xu", + "position": "Vice Chair Internal", + "picture": "/officers/steph.jpg", + "email": "sxxu@ucsd.edu", + "type": ["Executives", "Internal"] + }, + { + "name": "Charles Nguyen", + "position": "Webmaster", + "picture": "/officers/charles.jpg", + "email": "cmn010@ucsd.edu", + "type": ["Internal"] + }, + { + "name": "Shipra Gudekar", + "position": "Vice Chair Events", + "picture": "/officers/shipra.jpg", + "email": "sgudekar@ucsd.edu", + "type": ["Executives", "Events"] + }, + { + "name": "Rohil Kadekar", + "position": "Vice Chair Projects", + "picture": "/officers/rohil.jpg", + "email": "rkadekar@ucsd.edu", + "type": ["Executives", "Projects"] + }, + { + "name": "Lisa Liu", + "position": "Vice Chair Finance", + "picture": "/officers/lisa.jpg", + "email": "lil043@ucsd.edu", + "type": ["Executives"] + }, + { + "name": "Erik Duarte", + "position": "Events Coordinator", + "picture": "/officers/erik.jpg", + "email": "Erduarte@ucsd.edu", + "type": ["Executives", "Events"] + }, + { + "name": "Sin Yin Yang", + "position": "Events Coordinator", + "picture": "/officers/sinyin.jpg", + "email": "siy015@ucsd.edu", + "type": ["Executives", "Events"] + }, + { + "name": "Rana Singh", + "position": "Vice Chair External", + "picture": "/officers/rana.jpg", + "email": "ras010@ucsd.edu", + "type": ["Executives"] + }, + { + "name": "Rafaella Gomes", + "position": "Project Space Chair", + "picture": "/officers/rafaella.jpg", + "email": "ragomes@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Terri Tai", + "position": "Robocup Soccer Chair", + "picture": "/officers/terri.jpg", + "email": "y2tai@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Raymond Rada", + "position": "Robocup Soccer Chair", + "picture": "/officers/raymond.jpg", + "email": "rrada@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Philip Pincencia", + "position": "Signal Processing Chair", + "picture": "/officers/philip.jpg", + "email": "ppincencia@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Ritoban Roy-Chowdhury", + "position": "Supercomputing Chair", + "picture": "/officers/ritoban.jpg", + "email": "rroychowdhury@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Akhil Ram Shankar", + "position": "Quarterly Projects Chair", + "picture": "/officers/akhil.jpg", + "email": "aramshankar@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Jonathan Zhou", + "position": "Quarterly Projects Chair", + "picture": "/officers/jonathan.jpg", + "email": "jtzhou@ucsd.edu", + "type": ["Projects"] + }, + { + "name": "Ashlee Young", + "position": "Professional Chair", + "picture": "/officers/ashlee.jpg", + "email": "asy001@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Allie Dinh", + "position": "Professional Chair", + "picture": "/officers/allie.jpg", + "email": "ald012@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Fahad Alkhazam", + "position": "Technical Chair", + "picture": "/officers/fahad.jpg", + "email": "falkhazam@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Pranav Mehta", + "position": "Technical Chair", + "picture": "/officers/pranav.jpg", + "email": "p3mehta@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Ridhi Srikanth", + "position": "Technical Chair", + "picture": "/officers/ridhi.jpg", + "email": "rsrikanth@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Dihan Lin", + "position": "Outreach Chair", + "picture": "/officers/dihan.jpg", + "email": "dil009@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Anika Agarwal", + "position": "Outreach Chair", + "picture": "/officers/anika.jpg", + "email": "ana012@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Anupama Nambiar", + "position": "Social Chair", + "picture": "/officers/anu.jpg", + "email": "annambiar@ucsd.edu", + "type": ["Events"] + }, + { + "name": "Dhruv Roy Choudhary", + "position": "Social Chair", + "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"] + } +] diff --git a/src/pages/board.astro b/src/pages/board.astro index 5d7bbdb..62a0de8 100644 --- a/src/pages/board.astro +++ b/src/pages/board.astro @@ -1,8 +1,8 @@ --- -import ProjectSection from "../components/projects/ProjectSection.astro"; import Layout from "../layouts/Layout.astro"; +import Officers from "../components/board/Officers.astro"; --- - +