Commit Graph

79 Commits

Author SHA1 Message Date
Richard Shuai 8afa78834d Merge branch 'main' into richard-shuai/contribution-link
continuous-integration/drone/push Build is passing Details
2023-02-01 21:48:30 -05:00
Richard Shuai 8f39bb3483 View button font change (#152)
continuous-integration/drone/push Build is passing Details
Closes #145

Changes the font of view on the front page so it syncs with the rest of the page.

https://view-font-csc-class-profile-staging-snedadah.k8s.csclub.cloud/
Co-authored-by: ricsign <ricsign123@gmail.com>
Reviewed-on: #152
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2023-02-01 21:45:46 -05:00
Shahan Nedadahandeh 1a6d031dd6 Fix weird percentage number and add percent symbol (#157)
continuous-integration/drone/push Build is passing Details
![image](/attachments/956151a0-270d-4d46-9985-73c24806e338)

![image](/attachments/f00e1266-8d16-46cd-9408-9955c93c3dd2)

Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #157
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-31 00:36:49 -05:00
Shahan Nedadahandeh 09978edd0e Fixed incorrect data (#153)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #153
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-31 00:36:27 -05:00
Tejas Srikanth 6266c48267 Change-Legend-Labels_And_Colors (#155)
continuous-integration/drone/push Build is passing Details
Changed the colors in the coop satisfaction graph so that none of them are repeated. Also changed the order of the labels from descending (5,4,3,2,1) to ascending (1,2,3,4,5).

Note: This caused a change in the bars in the bar graph (5 on top 1 on the bottom)

Issue #143

Co-authored-by: Tejas Srikanth <tcsrikan@high-fructose-corn-syrup.csclub.uwaterloo.ca>
Reviewed-on: #155
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-30 22:05:59 -05:00
Richard Shuai 6be9f031b0 Merge branch 'main' into richard-shuai/contribution-link
continuous-integration/drone/push Build is passing Details
2023-01-29 17:59:18 -05:00
Richard Shuai 45264a8ae0 Merge religion (#151)
continuous-integration/drone/push Build is passing Details
Closes #141

Merged the no religious affliation option with the atheist option.

Co-authored-by: ricsign <ricsign123@gmail.com>
Reviewed-on: #151
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-29 17:58:55 -05:00
Shahan Nedadahandeh 229260cba9 Revert "Hid wierd percentage and added percent symbol"
continuous-integration/drone/push Build is passing Details
This reverts commit d315f2904e.
2023-01-26 22:44:45 -05:00
Shahan Nedadahandeh d315f2904e Hid wierd percentage and added percent symbol
continuous-integration/drone/push Build is passing Details
2023-01-26 22:43:22 -05:00
ricsign cc67c9bd5c Preventing default for anchor tag
continuous-integration/drone/push Build is passing Details
2023-01-25 22:12:07 -05:00
ricsign 2c966d130d Fixing the link issue on contributors page. The redirection occurs only when link exists
continuous-integration/drone/push Build is passing Details
2023-01-25 21:52:23 -05:00
Mark Chiu dd8a33fa41 Fix StackedBar Graph left axis issue (#136)
continuous-integration/drone/push Build is passing Details
As mentioned in the Class Profile feedback, the graph should be properly displayed now.
![image](/attachments/14c86616-c38b-471b-a08c-708a7d2ff8ce)

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #136
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
Co-authored-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Co-committed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-15 20:25:07 -05:00
Beihao Zhou 5970f9aebe Fix: Demographic Page Pie Chart Number to Percentage (#137)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Beihao Zhou <b72zhou@csclub.uwaterloo.ca>
Co-committed-by: Beihao Zhou <b72zhou@csclub.uwaterloo.ca>
2023-01-08 13:16:26 -05:00
Shahan Nedadahandeh 95ab1383ca Change production deploy to only deploy on main branch (#135)
continuous-integration/drone/push Build is passing Details
2023-01-04 00:35:23 -05:00
Mark Chiu eb74c8e4a9 Fix StackedBar Graph nitpicks (Closes #51) (#133)
continuous-integration/drone/push Build is passing Details
Decided not to fix NITPICK #1 because aligning the line with the edge of the graph can make the grid column gap seem bigger than intended.

- Center align bottom axis labels in both horizontal and vertical graphs
- Right align left axis labels in both horizontal and vertical graphs
- Fixed Cumulative Average to CAV in Academics page.
- Add line at the top of the horizontal graph

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
Reviewed-on: #133
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2023-01-03 13:51:45 -05:00
Shahan Nedadahandeh 3558fa0fb9 Fixed tooltip being hidden (#132)
continuous-integration/drone/push Build is passing Details
![image](/attachments/c039f4ca-3691-4c2a-b7b0-0552be97759d)

https://fix-tooltip-csc-class-profile-staging-snedadah.k8s.csclub.cloud/academics
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #132
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-02 14:53:49 -05:00
Shahan Nedadahandeh 2202fccb11 Fixed header breaking view link (#131)
continuous-integration/drone/push Build is passing Details
2023-01-01 16:27:58 -05:00
Shahan Nedadahandeh 65a5bdbd1c Added animations (#125)
continuous-integration/drone/push Build is passing Details
https://shahanneda-animations-csc-class-profile-stag-snedadah.k8s.csclub.cloud/academics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #125
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2023-01-01 16:06:40 -05:00
Shahan Nedadahandeh 7c4efad55c Add auto deployment (#130)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #130
2023-01-01 16:00:14 -05:00
Shahan Nedadahandeh 7ef5d8aa61 Fixed graph overflows (#123)
continuous-integration/drone/push Build is passing Details
Closes #110

Fixed the header not being sticky. The reason was due to the overflow-x hidden on the body. Removed that, and instead solved the root cause of the horizontal overflow, which was some graphs overflowing.

This required changing some of the compontent wrapper styles, which I think are overall improved now (slightly less hacks). But please check to make sure that the alignment of graphs and text isnt destroyed on various screen sizes. I checked and it seemed fine.

Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #123
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-30 21:52:24 -05:00
Shahan Nedadahandeh 2dca08ccef Setup deploy site (#126)
continuous-integration/drone/push Build is passing Details
2022-12-30 20:20:55 -05:00
Jared He 9a60c6b779 Add front page (Closes #44) (#68)
continuous-integration/drone/push Build is passing Details
https://j285he-front-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/
Co-authored-by: Jared He <66887902+jaredjhe@users.noreply.github.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
Reviewed-on: #68
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Co-authored-by: Jared He <j285he@csclub.uwaterloo.ca>
Co-committed-by: Jared He <j285he@csclub.uwaterloo.ca>
2022-12-30 19:37:14 -05:00
Mark Chiu 85535414c3 Add Contributors page (Closes #63) (#121)
continuous-integration/drone/push Build is passing Details
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #121
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
Co-authored-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Co-committed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-30 18:49:10 -05:00
Shahan Nedadahandeh fbb0ca25ac Style scrollbar (#119)
continuous-integration/drone/push Build is passing Details
Styles scrollbar

Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #119
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-29 03:43:07 -05:00
Shahan Nedadahandeh 743f050ec8 Fix tooltip not being correctly positioned for certain centered graphs (#118)
continuous-integration/drone/push Build is passing Details
Applied the fix used by the WordCloud to all graphs so that tooltips will be properly positioned, even if the graph is centered on the page. Did so by refactoring some tooltip logic in to a common getTooltipPosition used by all graphs.

One thing is that this simplifies all the tooltips to simply follow the mouse, instead of locking onto certain "blocks"/bars like in the grouped bar graph, which is more consitant with all the other tooltips, since we only had this in some cases.

Do we think that having the tooltip be sticky to a certain bar/group is important?

Closes #89

https://fix-tooltip-center-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #118
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-28 01:54:32 -05:00
Shahan Nedadahandeh b8590f7a28 Adjust pie chart (#117)
continuous-integration/drone/push Build is passing Details
https://adjust-pie-1-csc-class-profile-staging-snedadah.k8s.csclub.cloud/academics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Co-authored-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Reviewed-on: #117
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-28 01:32:07 -05:00
Mark Chiu dcc318b671 Add Mental Health page (Closes #61) (#114)
continuous-integration/drone/push Build is passing Details
https://mental-health-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/mental-health/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
Reviewed-on: #114
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-27 21:54:51 -05:00
Mark Chiu 519f925155 Add Personal Page (Closes #62) (#113)
continuous-integration/drone/push Build is passing Details
Removed P1 because it was crossed out in https://docs.google.com/document/d/12x1HqxwXJ4WW2K1grtZwUTc8kMcyIHvbHOafD1NEO6M/edit#heading=h.9iho523v97l0

We can add it back if we want to; it could be an entertaining section to read.

We have some NSFW quotes. They have been filtered/censored/sorted to the end.

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #113
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-21 23:20:25 -05:00
Mark Chiu 550029feb0 Change Graphs to use tooltips (Closes #97) (#112)
continuous-integration/drone/push Build is passing Details
Changes:
- Remove Text that is displayed when hovering over the bar in the Bar Graph and Grouped Bar Graph - DIDN'T DO IT FOR Pie Charts since I wasn't sure if we still want the text or no.
- Add tooltips for Bar Graph + Grouped Bar Graph + Pie Chart

NOTE: weird tooltip position with PieChart, might be related to other tooltip bugs we have

Used this approach for the PieChart: https://codesandbox.io/s/mjp8lmvop?expanddevtools=1
The only approach that worked with the PieChart required to have the PieSlice code within the PieChart component.

Improvement we can make:
- For the Pie Chart, we could display the percentage and the number of answers in the tooltip to provide more context.
- For the Pie Chart, we could also display label in tooltip.

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #112
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-21 16:23:32 -05:00
Mark Chiu d77ebe0f8d Add Intimacy and Drugs page (Closes #57) (#103)
continuous-integration/drone/push Build is passing Details
Todo:
- [x] Fix Grouped bar graphs (done in a separate PR) (#104) DO NOT MERGE BEFORE OTHER GROUPED BAR PR IS DONE: #108
- [x] Fix responsiveness of quotation carousels.

Note that Lifestyle and Interests link in BottomNav (that appears in the co-op and Intimacy and Drugs pages) is overflowing because the text is a bit too long in mobile.

![image](/attachments/8bd7f7b2-96ce-4e6b-af51-fe1c3304a215)

Other changes:
- Add minWidth to QuotationCarousel
- Fix friends page pie charts percentage values (one of them got converted into a bar graph because the values were too small for the pie to display itself at times and we already had many pie charts in that page already)
- Lifestyle and Interests page had the wrong bottom nav links.
- Fixed the `lowerLabel` value of bar graphs in multiple pages since the alternating labels aren't really necessary. Now that I'm doing it pretty frequently, I think it should be made a default value perhaps 🤔
- SectionWrapper component is fixed so it's centered in mobile.
- Fix ComponentWrapper for mobile responsive purposes
https://intimacy-drugs-page-csc-class-profile-stagin-snedadah.k8s.csclub.cloud/intimacy-and-drugs/

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #103
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-15 20:38:58 -05:00
Mark Chiu 6779486aac Fix GroupBarGraph component (Closes #104) (#108)
continuous-integration/drone/push Build is passing Details
Changes are very similar to the ones made in this PR: #107

This must be merged before Intimacy and Drugs page is merged.

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #108
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-15 08:33:58 -05:00
Beihao Zhou 2720728e46 Fix Line Graph Legend Position (Close #100) (#107)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Beihao Zhou <beihaozhou@Beihaos-MacBook-Air.local>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #107
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-14 11:14:49 -05:00
Beihao Zhou 6ba124ee15 Add Miscellaneous Page (Close #60) (#106)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #106
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-13 21:00:34 -05:00
Beihao Zhou 7bcd11e186 Add Friends Page (Close #59) (#105)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #105
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-11 19:18:15 -05:00
Beihao Zhou dbb1a5929f Add Postgrad Page (Close #58) (#99)
continuous-integration/drone/push Build is passing Details
https://b72zhou-postgrad-page-csc-class-profile-stag-snedadah.k8s.csclub.cloud/postgrad/
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #99
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-07 21:24:02 -05:00
Mark Chiu f659393335 Add Academics page (Closes #54) (#94)
continuous-integration/drone/push Build is passing Details
Summary of noteworthy changes:
- **Pie charts do NOT currently calculate percentages of values**. I left it as is, and just changed the data to reflect the percentages instead of the actual value (because that is what we're displaying)
- Minor fix to the Stacked Bar Graph so that the legend displays on top in a row instead of in a column to the right of the graph.
- Added styling to Carousel so that it is properly centered.
- In the Stacked Bar Graphs, I grouped certain ranges of values because the value for the individual categories would have been too small and insignificant otherwise.

Problems:
- [x] WordCloud still doesn't display the right text-value association no matter how much I tweak the values. The font size is correctly displayed though and all words are shown (I counted!). Errors still show in the console log.
- [ ] WordCloud still weirdly overflows sometimes when I resize my window. See figure below. (#98)
- [ ] Stacked Bar Graph still needs some fixing (to be done in a separate PR) related to how the legend is displayed + labels.
- [x] **Description blurbs NEED to be re-read before copy-pasting**. I just noticed that the given blurbs are sometimes incomplete, grammatically incorrect, or erroneous.
- [ ] Bar graphs and pie charts need to have tooltips. (all graphs) (#97)
- [ ] Tooltips in Stacked Bar Graphs are not well positioned when hovering over them. (#89)

Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #94
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-12-07 21:13:52 -05:00
Beihao Zhou 3936b7870e Add LifeStyle + Interest Page (Close #56) (#101)
continuous-integration/drone/push Build is passing Details
https://b72zhou-life-and-interest-page-csc-class-pro-snedadah.k8s.csclub.cloud/lifestyle-and-interests/
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
Reviewed-on: #101
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-07 21:12:33 -05:00
Beihao Zhou 15191bb89e Add Coop Page (Close #55) (#69)
continuous-integration/drone/push Build is passing Details
Closes #55

https://b72zhou-coop-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/coop/
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #69
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-05 09:31:50 -05:00
Shahan Nedadahandeh 3dd978c67e Added default word cloud width util (#102)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #102
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-12-04 16:22:06 -05:00
Beihao Zhou db9f74a42a Enable customized colors for line graph (#92)
continuous-integration/drone/push Build is passing Details
Co-authored-by: Rebecca-Chou <beihaozhou@gmail.com>
Reviewed-on: #92
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-30 21:48:36 -05:00
Shahan Nedadahandeh ec4f33919c Fixed WordCloud not displaying values correctly (#95)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #95
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-30 18:35:42 -05:00
Mark Chiu 1c0191facc Refactor default prop values into util file (Closes #82) (#87)
continuous-integration/drone/push Build is passing Details
This PR creates a new util file `DefaultProp` that provides default prop values for graph/chart components. More values could be added in the future as the pages are developed.

staging: (shahan: sorry, due to a unlucky naming this branch name doesnt work with staging )
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #87
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-16 22:00:56 -05:00
Shahan Nedadahandeh 97aa2261f2 Created TooltipWrapper (#88)
continuous-integration/drone/push Build is passing Details
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #88
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-16 21:35:55 -05:00
Shahan Nedadahandeh e061850575 Fixed data and tooltip issues with wordcloud (#84)
continuous-integration/drone/push Build is passing Details
Closes #80
Closes #78

Added finer control for word cloud min/max font sizes. Changed defaults to be a bit more sensible, and also adjusted the values for the demographics page word cloud to display all data (main culprit was "wordPadding" was too big)
Added a console.error for when not all the words are being display to aid in development for when we're adjusting the min/max font sizes.
Fixed word cloud tooltip not being correct on centered word clouds.
Added a min width to the word cloud, aniticipating changes from #85

https://fix-wordcloud-data-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/

https://fix-wordcloud-data-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #84
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-13 23:20:57 -05:00
Shahan Nedadahandeh d39a1f8274 Add media query to section header and update sample page (#85)
continuous-integration/drone/push Build is passing Details
https://update-smpl-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #85
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-13 23:11:29 -05:00
Mark Chiu aa25b8451b Fix Mobile Vertical Bar Graph Labels (Closes #50) (#83)
continuous-integration/drone/push Build is passing Details
* Add alternating label functionality to vertical bar graphs when the width of the graph reaches its `minWidth`
* Add `minWidth` prop to horizontal and vertical bar graphs, by default, set to 500 (make a PR to contain these default prop values)
* Add overflow scroll on mobile for horizontal and vertical bar graphs

https://fix-mobile-bug-labels-csc-class-profile-stag-snedadah.k8s.csclub.cloud/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #83
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-13 18:36:34 -05:00
Mark Chiu fb9c5243ab Add Demographics page (Closes #53) (#73)
continuous-integration/drone/push Build is passing Details
Changes: (outside of Demographics page)
* colour of the text (might be changed later on) because pure white strains the eye (contrast is too high).
* font size + line height
* SectionHeader word break fix of the title
* `isMobile` breakpoint is changed to 900

https://demographics-page-csc-class-profile-staging-snedadah.k8s.csclub.cloud/demographics/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #73
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-12 11:37:15 -05:00
Shahan Nedadahandeh 80530c1c1a Made bottom arrows optional and refactored routes (Closes #72) (#76)
continuous-integration/drone/push Build is passing Details
2022-11-05 14:06:24 -04:00
Shahan Nedadahandeh 0fcc367ab6 Make section component body text optional (Closes #70) (#77)
continuous-integration/drone/push Build is passing Details
https://opt-descrp-csc-class-profile-staging-snedadah.k8s.csclub.cloud/samplePage/
Co-authored-by: shahanneda <shahan.neda@gmail.com>
Reviewed-on: #77
Reviewed-by: Mark Chiu <e26chiu@csclub.uwaterloo.ca>
2022-11-05 12:18:44 -04:00
Mark Chiu 7404c60d8f Add SectionHeader component (Closes #74) (#75)
continuous-integration/drone/push Build is passing Details
This PR adds the SectionHeader component as described in the issue. The text is centered, so it's adapted for mobile. Possible improvements (or nitpicks) would be to add spacing around the text in mobile version (left and right margin/padding) or maybe make the title or subtitle smaller? I think it looks fine otherwise.

![image](/attachments/9666a512-dd29-471a-943e-d91db7836bd9)

https://sectionheader-component-csc-class-profile-st-snedadah.k8s.csclub.cloud/
Co-authored-by: e26chiu <e26chiu@csc.uwaterloo.ca>
Reviewed-on: #75
Reviewed-by: Shahan Nedadahandeh <snedadah@csclub.uwaterloo.ca>
2022-11-05 09:01:46 -04:00