Skip to content

Commit

Permalink
Merge pull request #510 from nwplus/nwhacks_desktop_dev_indy
Browse files Browse the repository at this point in the history
Fix minor UI stuff on Workshops mobile
  • Loading branch information
indirasowy authored Nov 19, 2024
2 parents 5909898 + 6419012 commit d722b4d
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions src/sections/Workshops.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ const SubTitle = styled.p`
margin-top: calc(100vw * (32 / 1280));
${p => p.theme.mediaQueries.mobile} {
font-size: calc(100vw * (28 / 487));
font-size: calc(100vw * (30 / 487));
margin-top: calc(100vw * (32 / 487));
}
`
Expand All @@ -148,9 +148,25 @@ const Paragraph = styled.p`
margin-top: calc(100vw * (12 / 1280));
${p => p.theme.mediaQueries.mobile} {
font-size: calc(100vw * (20 / 487));
width: 84%;
margin-top: calc(100vw * (25.6 / 487));
font-size: calc(100vw * (22 / 487));
width: 100%;
margin-top: calc(100vw * (22 / 487));
}
`

const ParagraphHeader = styled.p`
font-weight: 500;
font-size: calc(100vw * (16 / 1280));
color: white;
justify-self: center;
align-self: center;
width: 74%;
margin-top: calc(100vw * (12 / 1280));
${p => p.theme.mediaQueries.mobile} {
font-size: calc(100vw * (24 / 487));
width: 100%;
margin-top: calc(100vw * (22 / 487));
}
`

Expand Down Expand Up @@ -343,7 +359,7 @@ const Workshops = () => {
) : (
<Schedule>
<SubTitle>Workshop Schedule</SubTitle>
<Paragraph>Tuesday, Jan 14</Paragraph>
<ParagraphHeader>Tuesday, Jan 14</ParagraphHeader>
<ParagraphSmall>
<b>5:00PM</b> &nbsp; &nbsp; Hackathons 101
</ParagraphSmall>
Expand All @@ -353,7 +369,7 @@ const Workshops = () => {
<ParagraphSmall>
<b>7:30PM</b> &nbsp; &nbsp; Intro to Version Control
</ParagraphSmall>
<Paragraph>Wednesday, Jan 15</Paragraph>
<ParagraphHeader>Wednesday, Jan 15</ParagraphHeader>
<ParagraphSmall>
<b>5:00PM</b> &nbsp; &nbsp; Intro to Web Dev
</ParagraphSmall>
Expand All @@ -363,7 +379,7 @@ const Workshops = () => {
<ParagraphSmall>
<b>7:30PM</b> &nbsp; &nbsp; Intro to React
</ParagraphSmall>
<Paragraph>Thursday, Jan 16</Paragraph>
<ParagraphHeader>Thursday, Jan 16</ParagraphHeader>
<ParagraphSmall>
<b>5:00PM</b> &nbsp; &nbsp; Internships 101
</ParagraphSmall>
Expand Down

0 comments on commit d722b4d

Please sign in to comment.