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

primary button - feedback from alex #45

Merged
merged 3 commits into from
Jan 27, 2024
Merged
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
7 changes: 5 additions & 2 deletions src/components/Hero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ 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 @@ -20,8 +21,9 @@ import Brand from './Brand.astro';
to tackle social challenges
</h1>
<article>
<Button variant="secondary" href="http://tinyurl.com/hackforimpactregister">
<p class="btn-text">Registration is open!</p>
<Button variant="primary" href="http://tinyurl.com/hackforimpactregister">
<p class="btn-text">Register now!</p>
<Image src={redirectArrow} alt="external" />
</Button>
<span>
Registration will close Feb. 16th. Follow
Expand Down Expand Up @@ -105,6 +107,7 @@ import Brand from './Brand.astro';

.btn-text {
width: max-content;
font-weight: 500;

@media (min-width: breakpoints.$phone) {
font-size: 1.25rem;
Expand Down
Loading