Skip to content

Commit

Permalink
Merge pull request #359 from nwplus/hackcamp2023_dev
Browse files Browse the repository at this point in the history
merge Hackcamp2023 dev to main
  • Loading branch information
michelleykim authored Sep 27, 2023
2 parents 2ad5aa5 + 2b337c6 commit a3e0e3d
Show file tree
Hide file tree
Showing 18 changed files with 13,063 additions and 1,507 deletions.
Binary file modified public/assets/background/learn/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/assets/background/sponsors/background.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
645 changes: 645 additions & 0 deletions public/assets/mobile/about/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
237 changes: 0 additions & 237 deletions public/assets/mobile/about/foreground.svg

This file was deleted.

256 changes: 0 additions & 256 deletions public/assets/mobile/about/foreground_frame.svg

This file was deleted.

26 changes: 0 additions & 26 deletions public/assets/mobile/about/midground.svg

This file was deleted.

364 changes: 0 additions & 364 deletions public/assets/mobile/about/static.svg

This file was deleted.

2,463 changes: 2,403 additions & 60 deletions public/assets/mobile/events/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6,270 changes: 6,137 additions & 133 deletions public/assets/mobile/faq/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
712 changes: 622 additions & 90 deletions public/assets/mobile/footer/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3,514 changes: 3,206 additions & 308 deletions public/assets/mobile/sponsors/background.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 9 additions & 5 deletions src/components/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ const StyledButton = styled.a`
border-radius: ${p => p.borderRadius};
display: flex;
justify-content: center;
font-size: 1.12rem;
font-size: ${p => p.fontSize ? p.fontSize : '1.12rem'};
align-items: center;
text-decoration: none;
&:hover {
cursor: pointer;
cursor: ${p => p.disabled ? 'not-allowed' : 'pointer'};
text-decoration: none;
filter: brightness(0.9);
filter: ${p => p.disabled ? '' : 'brightness(0.9)'};
color: ${p => p.textColor};
}
transition: filter 0.13s ease-in;
Expand Down Expand Up @@ -49,7 +50,8 @@ export default function Button({
secondary = false,
isHover = false,
isGradientText = false,
isOutline = false
isOutline = false,
disabled = false
}) {
return (
<StyledButton
Expand All @@ -64,7 +66,9 @@ export default function Button({
secondary={secondary}
isHover={isHover}
isGradientText={isGradientText}
isOutline={isOutline}>
isOutline={isOutline}
disabled={disabled}
>
{children}
</StyledButton>
)
Expand Down
11 changes: 7 additions & 4 deletions src/components/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,11 @@ const CaveTop = styled.div`
}
${(p) => p.theme.mediaQueries.mobile} {
background: url('assets/mobile/footer/foreground.svg');
background: url('assets/mobile/footer/background.svg') #150C27;
background-size: 100vw;
background-repeat: no-repeat;
aspect-ratio: 428/377;
background-position: center center;
aspect-ratio: 412/506;
}
`
Expand All @@ -63,9 +65,9 @@ const CaveBottom = styled.div`
aspect-ratio: 1440/1390;
${(p) => p.theme.mediaQueries.mobile} {
background: url('assets/mobile/footer/background.svg');
background: url('assets/mobile/footer/background.svg'), linear-gradient(to bottom, #220639, #AC306C);
background-repeat: no-repeat;
aspect-ratio: 428/1237;
aspect-ratio: 412/506;
}
`
Expand All @@ -82,6 +84,7 @@ const SocialMediaIcons = styled.div`
${(p) => p.theme.mediaQueries.mobile} {
a {
color: #E2D6FF;
width: 25px;
}
gap: 1rem;
Expand Down
4 changes: 2 additions & 2 deletions src/sections/Count.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const useCountdown = (targetDate) => {
export { useCountdown }

const Count = () => {
const countDownDate = new Date('Oct 28, 2023 00:00:00').getTime()
const countDownDate = new Date('Oct 6, 2023 00:00:00').getTime()
const [days, hours, minutes] = useCountdown(countDownDate)

const twoify = (num) => {
Expand Down Expand Up @@ -194,7 +194,7 @@ const Count = () => {
<InfoContainer>
<BgScroll />
<TextContainer>
<StyledTitle>Registration closes in:</StyledTitle>
<StyledTitle>Registration opens in:</StyledTitle>
<DaysTextContainer>
<ShadowText text={`${count.days[0]}${count.days[1]} Days`}>
{`${count.days[0]}${count.days[1]} Days`}
Expand Down
8 changes: 5 additions & 3 deletions src/sections/Faq.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,11 @@ const BgSectionContainer = styled(SectionContainer)`
background: #150C27;
${p => p.theme.mediaQueries.mobile} {
background: url('assets/mobile/faq/background.svg') #8C5050;
aspect-ratio: auto;
background: url('assets/mobile/faq/background.svg') #150C27;
aspect-ratio: 412/1359;
background-size: 100vw;
background-repeat: no-repeat;
background-position: center center;
}
`

Expand All @@ -43,7 +45,7 @@ const BgScroll = styled(SectionContainer)`
${p => p.theme.mediaQueries.mobile} {
background: none;
aspect-ratio: 482/1344;
aspect-ratio: 412/1359;
}
`

Expand Down
19 changes: 11 additions & 8 deletions src/sections/Learn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@ const InfoContainer = styled.div`
width: 100%;
aspect-ratio: 1440/989;
z-index: 99;
z-index: 98;
overflow: hidden;
${(p) => p.theme.mediaQueries.mobile} {
background: url('assets/mobile/events/bg.svg');
background: url('assets/mobile/events/background.svg');
background-size: 100vw;
background-repeat: no-repeat;
background-position: center center;
aspect-ratio: 428/1280;
aspect-ratio: 412/1154;
}
`
const BgScroll = styled(SectionContainer)`
Expand Down Expand Up @@ -56,12 +56,12 @@ const TextContainer = styled.div`

const StyledTitle = styled(Header2)`
text-align: center;
color: #002F4D;
color: #F0EEF2;
font-size: 3rem;
padding-top: 5rem;
padding-top: 1rem;
${(p) => p.theme.mediaQueries.mobile} {
font-size: 2em;
font-size: 2.8em;
}
`

Expand Down Expand Up @@ -139,10 +139,13 @@ const CardContent = styled.p`
`

const Learn = () => {

return (
<InfoContainer id="events">
<BgScroll/>
<BgScroll>
<StyledTitle>
Our Events
</StyledTitle>
</BgScroll>
</InfoContainer>
)
}
Expand Down
14 changes: 10 additions & 4 deletions src/sections/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,14 @@ export default function Register() {
// href="https://forms.gle/GQ3k8ZbtfULfVYxq6"
width='205px'
height='50px'
fontSize='0.75rem'
borderRadius='6px'
textColor='#2C2543'
backgroundColor="#00DBCE"
isHover>
Apply Now
isHover
disabled
>
Applications Open October 6th!
</Button>
<Button
isOutline
Expand All @@ -208,12 +211,15 @@ export default function Register() {
// href="https://docs.google.com/forms/d/e/1FAIpQLScA2RtmikDSTaeLqi7vadLDq4Wom4N9N1wDVZu0rpZ5Xk2sow/viewform"
width='205px'
height='50px'
fontSize='0.75rem'
borderRadius='6px'
borderColor="#00DBCE"
textColor="#00DBCE"
backgroundColor="transparent"
isHover>
Become a Mentor
isHover
disabled
>
Applications Open October 6th!
</Button>
</ButtonContainer>
</MediaContainer>
Expand Down
13 changes: 6 additions & 7 deletions src/sections/Sponsor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,11 @@ const BgSectionContainer = styled(SectionContainer)`
z-index: 99;
${(p) => p.theme.mediaQueries.mobile} {
background: url('assets/mobile/sponsors/background.svg') #8C5050;
background: url('assets/mobile/sponsors/background.svg') #150C27;
background-size: 100vw;
background-repeat: no-repeat;
aspect-ratio: auto;
background-position: center center;
aspect-ratio: 412/632;
}
`

Expand All @@ -28,11 +30,10 @@ const StyledTitle = styled(Header2)`
color: #FFF;
font-size: 3rem;
padding-top: 33rem;
padding-right: 3rem;
${(p) => p.theme.mediaQueries.mobile} {
font-size: 3em;
padding-top: 10rem;
font-size: 2em;
padding-top: 12rem;
}
`

Expand All @@ -43,7 +44,6 @@ const PushinP = styled.p`
min-width: 500px;
margin: 0 auto;
padding-top: 2rem;
padding-right: 3rem;
max-width: 800px;
${(p) => p.theme.mediaQueries.mobile} {
Expand All @@ -54,7 +54,6 @@ const PushinP = styled.p`
const ButtonContainer = styled.p`
display: flex;
justify-content: center;
padding-right: 3rem;
`

const Skip = styled.div`
Expand Down

0 comments on commit a3e0e3d

Please sign in to comment.