From 8c0b5f8556723707392b1cf790e1fba53698b037 Mon Sep 17 00:00:00 2001 From: Shahan Nedadahandeh Date: Sun, 5 Feb 2023 13:40:08 -0500 Subject: [PATCH] Fixed word cloud data issues (#159) Co-authored-by: shahanneda Co-authored-by: e26chiu Reviewed-on: https://git.csclub.uwaterloo.ca/www/cs-2022-class-profile/pulls/159 Reviewed-by: Mark Chiu --- data/academics.ts | 12 ++---------- data/lifestyle-and-interests.ts | 2 +- data/miscellaneous.ts | 14 +++++++------- pages/lifestyle-and-interests.tsx | 2 +- 4 files changed, 11 insertions(+), 19 deletions(-) diff --git a/data/academics.ts b/data/academics.ts index 4b221a7..19f51df 100644 --- a/data/academics.ts +++ b/data/academics.ts @@ -692,7 +692,7 @@ export const A10 = [ }, { text: "CS492", - value: 1, + value: 2, }, { text: "CS245", @@ -704,7 +704,7 @@ export const A10 = [ }, { text: "CS246", - value: 1, + value: 2, }, { text: "CS350", @@ -770,18 +770,10 @@ export const A10 = [ text: "CS446", value: 1, }, - { - text: "CS492", - value: 1, - }, { text: "CS456", value: 1, }, - { - text: "CS246", - value: 1, - }, { text: "CS484", value: 1, diff --git a/data/lifestyle-and-interests.ts b/data/lifestyle-and-interests.ts index 26d0af6..7f537ca 100644 --- a/data/lifestyle-and-interests.ts +++ b/data/lifestyle-and-interests.ts @@ -257,7 +257,7 @@ export const L11 = [ export const L12 = [ { - text: "Gol's Lanzhou Noodle", + text: "Gol's", value: 15, }, { diff --git a/data/miscellaneous.ts b/data/miscellaneous.ts index c02a0e8..58a1afa 100644 --- a/data/miscellaneous.ts +++ b/data/miscellaneous.ts @@ -179,7 +179,7 @@ export const M6 = [ value: 2, }, { - text: "Resting and Learing", + text: "Resting and Learning", value: 1, }, { @@ -218,7 +218,7 @@ export const M7 = [ value: 3, }, { - text: "Weight Lifting", + text: "Weightlifting", value: 2, }, { @@ -306,7 +306,7 @@ export const M7 = [ value: 1, }, { - text: "Ultimate frisbe", + text: "Ultimate frisbee", value: 1, }, { @@ -314,15 +314,15 @@ export const M7 = [ value: 1, }, { - text: "Body building", + text: "Bodybuilding", value: 3, }, { - text: "Mindfullness & Mature", + text: "Mindfulness", value: 4, }, { - text: "Self regulation", + text: "Self-regulation", value: 1, }, { @@ -338,7 +338,7 @@ export const M7 = [ value: 1, }, { - text: "Draw gooderer", + text: "Drawing", value: 1, }, { diff --git a/pages/lifestyle-and-interests.tsx b/pages/lifestyle-and-interests.tsx index 3627924..ace14b0 100644 --- a/pages/lifestyle-and-interests.tsx +++ b/pages/lifestyle-and-interests.tsx @@ -168,7 +168,7 @@ export default function Demographics() {