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,
},
{
text: "Combinatorics & Optimization",
text: "C&O",
value: 18,
},
{

View File

@ -161,7 +161,7 @@ export default function Academics() {
height={DefaultProp.graphHeight}
wordPadding={7}
desktopMaxFontSize={75}
mobileMaxFontSize={48}
mobileMaxFontSize={30}
/>
</ComponentWrapper>
@ -174,9 +174,10 @@ export default function Academics() {
data={A9}
width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight}
wordPadding={12}
desktopMaxFontSize={80}
mobileMaxFontSize={64}
wordPadding={8}
desktopMaxFontSize={60}
desktopMinFontSize={15}
mobileMaxFontSize={60}
/>
</ComponentWrapper>
@ -189,9 +190,9 @@ export default function Academics() {
data={A10}
width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight}
wordPadding={12}
desktopMaxFontSize={84}
mobileMaxFontSize={75}
wordPadding={11}
desktopMaxFontSize={80}
mobileMaxFontSize={70}
/>
</ComponentWrapper>
@ -228,7 +229,7 @@ export default function Academics() {
data={A14}
width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight}
wordPadding={7}
wordPadding={3}
desktopMaxFontSize={75}
mobileMaxFontSize={48}
/>
@ -308,16 +309,16 @@ export default function Academics() {
<ComponentWrapper
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
// TODO: Tweak WordCloud values
data={A18i}
width={wordCloudWidth(isMobile, pageWidth)}
height={DefaultProp.graphHeight}
wordPadding={7}
desktopMaxFontSize={42}
mobileMaxFontSize={48}
desktopMaxFontSize={60}
desktopMinFontSize={15}
mobileMaxFontSize={30}
/>
</ComponentWrapper>