Skip to content

Commit

Permalink
update button text, add icon
Browse files Browse the repository at this point in the history
  • Loading branch information
jinkang-0 committed Jan 27, 2024
1 parent 252b342 commit e6e2ab4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 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 @@ -21,7 +22,8 @@ import Brand from './Brand.astro';
</h1>
<article>
<Button variant="primary" href="http://tinyurl.com/hackforimpactregister">
<p class="btn-text">Click here to register!</p>
<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 e6e2ab4

Please sign in to comment.