Adjusted word cloud sizes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Shahan Nedadahandeh 2022-12-05 18:28:22 -05:00
parent 2f18dcc738
commit b20f84267a
2 changed files with 14 additions and 13 deletions

View File

@ -1381,7 +1381,7 @@ export const A18i = [
value: 3, value: 3,
}, },
{ {
text: "Combinatorics & Optimization", text: "C&O",
value: 18, value: 18,
}, },
{ {

View File

@ -161,7 +161,7 @@ export default function Academics() {
height={DefaultProp.graphHeight} height={DefaultProp.graphHeight}
wordPadding={7} wordPadding={7}
desktopMaxFontSize={75} desktopMaxFontSize={75}
mobileMaxFontSize={48} mobileMaxFontSize={30}
/> />
</ComponentWrapper> </ComponentWrapper>
@ -174,9 +174,10 @@ export default function Academics() {
data={A9} data={A9}
width={wordCloudWidth(isMobile, pageWidth)} width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight} height={DefaultProp.graphHeight}
wordPadding={12} wordPadding={8}
desktopMaxFontSize={80} desktopMaxFontSize={60}
mobileMaxFontSize={64} desktopMinFontSize={15}
mobileMaxFontSize={60}
/> />
</ComponentWrapper> </ComponentWrapper>
@ -189,9 +190,9 @@ export default function Academics() {
data={A10} data={A10}
width={wordCloudWidth(isMobile, pageWidth)} width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight} height={DefaultProp.graphHeight}
wordPadding={12} wordPadding={11}
desktopMaxFontSize={84} desktopMaxFontSize={80}
mobileMaxFontSize={75} mobileMaxFontSize={70}
/> />
</ComponentWrapper> </ComponentWrapper>
@ -228,7 +229,7 @@ export default function Academics() {
data={A14} data={A14}
width={wordCloudWidth(isMobile, pageWidth)} width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight} height={DefaultProp.graphHeight}
wordPadding={7} wordPadding={3}
desktopMaxFontSize={75} desktopMaxFontSize={75}
mobileMaxFontSize={48} mobileMaxFontSize={48}
/> />
@ -308,16 +309,16 @@ export default function Academics() {
<ComponentWrapper <ComponentWrapper
heading="Which option(s), specialization(s) or minor(s) did you complete?" heading="Which option(s), specialization(s) or minor(s) did you complete?"
bodyText="The most common ones are Combinatorics & Optimization, Business, and Pure Mathematics. However, many people have combined specializations, making their degree very customized and tailored towards their specific interests." bodyText="The most common ones are Combinatorics & Optimization (C&O), Business, and Pure Mathematics. However, many people have combined specializations, making their degree very customized and tailored towards their specific interests."
> >
<WordCloud <WordCloud
// TODO: Tweak WordCloud values
data={A18i} data={A18i}
width={wordCloudWidth(isMobile, pageWidth)} width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight} height={DefaultProp.graphHeight}
wordPadding={7} wordPadding={7}
desktopMaxFontSize={42} desktopMaxFontSize={60}
mobileMaxFontSize={48} desktopMinFontSize={15}
mobileMaxFontSize={30}
/> />
</ComponentWrapper> </ComponentWrapper>