Skip to content

Commit

Permalink
[update] to app closed view (#51)
Browse files Browse the repository at this point in the history
* update hero text, remove registration button

* remove unused import
  • Loading branch information
jinkang-0 authored Feb 17, 2024
1 parent d6dbe45 commit 418cfa9
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 17 deletions.
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
.github/
.vscode/
dist/

README.md

Expand Down
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>
12 changes: 5 additions & 7 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { Image } from 'astro:assets';
import Button from './Button.astro';
import TitleAccent from './TitleAccent.astro';
import arrowsIcon from '../graphics/arrows.svg';
import redirectArrow from '../graphics/redirect_arrow.svg';
import heroGraphicLeft from '../graphics/hero_shapes_left.svg';
import heroGraphicRight from '../graphics/hero_shapes_right.svg';
import bearLeft from '../graphics/bear_orange.svg';
Expand All @@ -21,12 +20,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 +40,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 +224,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 418cfa9

Please sign in to comment.