From 932f66c4fa5ff02b5ad52156158343bed9f2a311 Mon Sep 17 00:00:00 2001 From: Anderson T Date: Wed, 27 Nov 2024 22:26:35 -0800 Subject: [PATCH] some "minor" changes --- frontend/public/blank_profile.jpg | Bin 0 -> 8352 bytes frontend/src/app/HomePage.tsx | 65 ++---------------- frontend/src/app/about/AboutPage.tsx | 1 + frontend/src/app/about/ExecProfiles.tsx | 12 +++- frontend/src/app/about/ProfileModal.tsx | 3 +- frontend/src/app/about/page.tsx | 1 + frontend/src/app/events/EventItem.tsx | 12 ++-- frontend/src/app/events/page.tsx | 2 +- frontend/src/app/page.tsx | 22 +++--- .../app/shared_components/header/NavBar.tsx | 2 +- 10 files changed, 37 insertions(+), 83 deletions(-) create mode 100644 frontend/public/blank_profile.jpg diff --git a/frontend/public/blank_profile.jpg b/frontend/public/blank_profile.jpg new file mode 100644 index 0000000000000000000000000000000000000000..6f17efe2a4b80b37a5a9a1def22614c9851adbf1 GIT binary patch literal 8352 zcmeHLd0f(2yT@#7v5nWI(OjCm>7;4b+;XKRmllv5MRK1JcSTd&*P3R=EoGWAMN>-) z6kKva0z(^9DK|nyQ$$KrQ9(k*eYwm#cb2BQ?|c8a|K0QX!0&mU!+E~Xd4A_`p7Y&$ zwZ#UU1xRoEwf*`nEos|jw*T68%E){svuo$>-Me<~+O>Pn{yn>8_sQmBjk&jyZ&lGAd-gd)*9jl4oem7C`H1)seD-`uSu^N;H?X#G+9kZMMVU zE^F(qE)h`eB&UIXwo!<(F+onDaAUBw#95>@tv1_?xfCwA40*`NrVrLLQ5TuV$T`5) z@wd99WZr8oEM~z^zWOnmMFWBzRjjS8W6!k4oxQnZ-)R*UyW6Hxt*u}%7$rCO zOu8b(vaq^!^A0;cX%#oKnul$k#-*>jyaOsW^ClbWjt~k`96Onz(5QnTuVB$=*=D(| zdBOc8al(U1ie!3Sg7 zzVOiQ5j~^4m3jx&`7r~_d4sW&xfL$TcUpKUNIpe(!jq(&O#pU{dzPFcf!;7V(B|eL z?iqUj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BqTY(K;K`$ zt`(Y!@&WJhZKfGIWc|=#@PNBGFm1l*`IR2NhnW#_vLsOK*pFR|s(O+vFp9#x!=4GP zS2ZituzuRh!ydZ<4t9=B8{;v7oAiXVh_|mk8srB?={JSxVIWxz8R5(4L=QZbW!<_N zbTKE(QxU>9zd0|Og#}e78R&0zJ}vXmnqoeTyjC?DWmeD1g{>l%LapKI(|5=hSWl6E zt-qxXF95GAQ8nIp;PdczFCLuJD&93MMu;laHPvmOn35lh6IV*}YJRXOD>BDYR@Tcd zj<)?E)qU@S;67@Qa-n|lpIQe~+P&au-MAod{`&sm_Zb^#@{MJV2gtK4A2IpXg(%0zrWdbYGZT3S|NAi { - // (async () => { - // if (execProfiles.length < 1) { - // const promise: UnknownAction = (mainDispatch(loadProfilesAsync() as AppDispatch)); - - // ((await promise) as unknown as ExecProfileObject[]).forEach((element: ExecProfileObject) => { - // mainDispatch(AddExecProfile(element)); - // }); - // } - // })(); - // }); - - let css: string = "", flexContainer: string = "flex flex-row max-[600px]:justify-center max-[600px]:mx-0 ml-[10%]"; - let size: number = 5; - -
; -
; -
; - +export default function HomePage() { return ( <> -
-
- -
-
+
+
+
+
Langara
- -
+
Computer
- -
+
Science Club
-
- Picture of code that asks the viewer to join the club -
- -
- {/* */} - - {/* */} ); } diff --git a/frontend/src/app/about/AboutPage.tsx b/frontend/src/app/about/AboutPage.tsx index 4f97eef..d93708e 100644 --- a/frontend/src/app/about/AboutPage.tsx +++ b/frontend/src/app/about/AboutPage.tsx @@ -25,6 +25,7 @@ export default function AboutPage({ }: AboutPageProps) {
+ {`Are you a former executive? Please reach out through our email if you would like anything changed <3`}
); } diff --git a/frontend/src/app/about/ExecProfiles.tsx b/frontend/src/app/about/ExecProfiles.tsx index 86ce333..17c2560 100644 --- a/frontend/src/app/about/ExecProfiles.tsx +++ b/frontend/src/app/about/ExecProfiles.tsx @@ -67,7 +67,7 @@ export default async function ExecProfiles() { ImageBuffer={ exec.profile_picture ? `https://${exec.profile_picture}` - : 'https://via.placeholder.com/200x200' + : '/blank_profile.jpg' } Description={exec.bio || ''} /> @@ -80,7 +80,7 @@ export default async function ExecProfiles() { {sortedRetiredYears.map(year => (

Retired Executives - {year}

-
+
{groupedRetiredExecutives[year].map((exec) => ( @@ -99,6 +99,12 @@ export default async function ExecProfiles() {
))}

+ +
+ + ); + + } diff --git a/frontend/src/app/about/ProfileModal.tsx b/frontend/src/app/about/ProfileModal.tsx index 86866d6..df2ce3e 100644 --- a/frontend/src/app/about/ProfileModal.tsx +++ b/frontend/src/app/about/ProfileModal.tsx @@ -19,7 +19,8 @@ interface ProfileModalProps { export default function ProfileModal({Name, Position, ImageBuffer, Description, imageWidth}: ProfileModalProps) { return ( - + // TODO: FIX modal description text doesn't scroll + {Name} diff --git a/frontend/src/app/about/page.tsx b/frontend/src/app/about/page.tsx index 1a7a145..48b68c5 100644 --- a/frontend/src/app/about/page.tsx +++ b/frontend/src/app/about/page.tsx @@ -9,6 +9,7 @@ export default function Page()
+