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

[update] to app closed view #51

Merged
merged 2 commits into from
Feb 17, 2024
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
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
Loading