Skip to content

Commit

Permalink
primary button - feedback from alex (#45)
Browse files Browse the repository at this point in the history
* Update Hero.astro

* Update Hero.astro

* update button text, add icon

---------

Co-authored-by: jinkang-0 <[email protected]>
  • Loading branch information
sampoder and jinkang-0 authored Jan 27, 2024
1 parent c3883b8 commit ac95488
Showing 1 changed file with 5 additions and 2 deletions.
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

0 comments on commit ac95488

Please sign in to comment.