Add Coop Page (Close #55) #69
Loading…
Reference in New Issue
No description provided.
Delete Branch "b72zhou-coop-page"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #55
https://b72zhou-coop-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/coop/
WIP: b72zhou-coop-pageto b72zhou-coop-pageActually, when writing feedback, I just realized that you may not have updated your branch yet. Anyways, these are few commments that we can revise on after the branch has been updated!
@ -0,0 +42,4 @@
return (
<div className={styles.page}>
<h1 className={styles.title}>Co-op</h1>
We can replace this part with the
SectionHeader
component that I added! You can check how to add it here:1c0191facc/pages/demographics.tsx (L43)
@ -0,0 +53,4 @@
align="left"
>
<div style={{ padding: "5px" }}>
<PieChart data={c1Data} width={400} labelWidth={90} />
You can update all the PieChart props with default ones from the util file:
1c0191facc/pages/demographics.tsx (L53)
@ -0,0 +64,4 @@
align="center"
>
<WordCloud
data={c2Data.map((word) => ({
I think it would be nice if
c2Data
is formatted in{ text:string, value:number }
already just so we can save a few lines of code here.@ -0,0 +93,4 @@
noBackground
>
<WordCloud
data={c4Data.map((word) => ({
The same can be said here about c4Data (reformatting it)
@ -0,0 +299,4 @@
</ComponentWrapper>
<BottomNav
leftPageLink="/"
BottomNav component should be updated:
1c0191facc/pages/demographics.tsx (L160)
@ -4,1 +4,4 @@
justify-content: center;
}
.title {
We can remove this code since this part is already included in the
SectionHeader
component.b72zhou-coop-pageto Add Coop PageAdd Coop Pageto Add Coop Page (Close #55)@b72zhou Nice work on integrating everything and keeping this page up with changes! I edited the blurbs, moved few questions around, and integrated the latest changes! Everything else LGTM! 😁🚀