Skip to content

Commit

Permalink
update hero text, remove registration button
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed Feb 12, 2024
1 parent d6dbe45 commit 2a88f21
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 16 deletions.
12 changes: 7 additions & 5 deletions src/components/Button.astro
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,14 @@ if (variant === 'menu') classes.push('menu');
a.primary {
background-color: colors.$primary;

&:hover {
background-color: $primary-hover;
}
&:not(.disabled) {
&:hover {
background-color: $primary-hover;
}

&:active {
background-color: $primary-pressed;
&:active {
background-color: $primary-pressed;
}
}
}
</style>
11 changes: 5 additions & 6 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,11 @@ import Brand from './Brand.astro';
to tackle social challenges
</h1>
<article>
<Button variant="primary" href="http://tinyurl.com/hackforimpactregister">
<p class="btn-text">Register now!</p>
<Image src={redirectArrow} alt="external" />
<Button variant="primary">
<p class="btn-text">Applications are closed!</p>
</Button>
<span>
Registration will close Feb. 16th. Follow
Follow

<a
href="https://www.instagram.com/calblueprint/"
Expand All @@ -42,7 +41,7 @@ import Brand from './Brand.astro';
referrerpolicy="no-referrer">@calhacks</a
>

on Instagram for updates!
on Instagram for future events and updates!
</span>
</article>

Expand Down Expand Up @@ -226,7 +225,7 @@ import Brand from './Brand.astro';
.bear-right {
position: absolute;
right: -$offset-right;
top: 50%;
top: 55%;
transform: translate(
calc(25px + clamp(#{-$offset-right}, -12vw, 0px)),
calc(-160px - 50%)
Expand Down
5 changes: 0 additions & 5 deletions src/components/Navbar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { motion, AnimatePresence } from 'framer-motion';
import styles from './style.module.scss';
import logo from '../../graphics/tentative logo.svg';
import { useEffect, useRef } from 'react';
import Button from '../Button';

interface Link {
name: string;
Expand Down Expand Up @@ -56,10 +55,6 @@ export default function NavBar({ links }: Props) {
<h5>{l.name}</h5>
</a>
))}
{/* registration button */}
<Button variant="menu" href="https://tinyurl.com/hackforimpactregister">
REGISTER
</Button>
</section>

{/* backdrop */}
Expand Down

0 comments on commit 2a88f21

Please sign in to comment.