Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

re-enable buttons and change countdown #363

Merged
merged 1 commit into from
Oct 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/components/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const StyledButton = styled.a`
`

export default function Button({
target,
backgroundColor,
textColor,
height,
Expand All @@ -55,6 +56,7 @@ export default function Button({
}) {
return (
<StyledButton
target={target}
href={href}
backgroundColor={backgroundColor}
textColor={textColor}
Expand Down
6 changes: 3 additions & 3 deletions src/sections/Count.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const StyledTitle = styled(Header2)`
font-size: 3.5vw;
letter-spacing: 0.7px;
line-height: 56px;
max-width: 30vw;
max-width: 20vw;

${(p) => p.theme.mediaQueries.mobile} {
font-size: 2em;
Expand Down Expand Up @@ -191,7 +191,7 @@ const useCountdown = (targetDate) => {
export { useCountdown }

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

const twoify = (num) => {
Expand Down Expand Up @@ -221,7 +221,7 @@ const Count = () => {
<InfoContainer>
<BgScroll />
<TextContainer>
<StyledTitle>Registration opens in:</StyledTitle>
<StyledTitle>HackCamp starts in:</StyledTitle>
<DaysTextContainer>
<ShadowText text={`${count.days[0]}${count.days[1]} Days`}>
{`${count.days[0]}${count.days[1]} Days`}
Expand Down
12 changes: 4 additions & 8 deletions src/sections/Register.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -206,34 +206,30 @@ export default function Register() {
<Button
target="_blank"
rel="noopener noreferrer"
// href="https://forms.gle/GQ3k8ZbtfULfVYxq6"
href="https://docs.google.com/forms/d/e/1FAIpQLSfs5nQk58vOudnXEra2Tb76bn6poFHrNpe-TZ7cvyyxmCFzZg/viewform?usp=sf_link"
width='205px'
height='50px'
fontSize='0.75rem'
borderRadius='6px'
textColor='#2C2543'
backgroundColor="#00DBCE"
isHover
disabled
>
Applications Open October 6th!
Apply Now
</Button>
<Button
isOutline
target="_blank"
rel="noopener noreferrer"
// href="https://docs.google.com/forms/d/e/1FAIpQLScA2RtmikDSTaeLqi7vadLDq4Wom4N9N1wDVZu0rpZ5Xk2sow/viewform"
href="https://forms.gle/kqAwC6tzVwC4Te1j8"
width='205px'
height='50px'
fontSize='0.75rem'
borderRadius='6px'
borderColor="#00DBCE"
textColor="#00DBCE"
backgroundColor="transparent"
isHover
disabled
>
Applications Open October 6th!
Become a mentor
</Button>
</ButtonContainer>
</MediaContainer>
Expand Down
Loading