Skip to content

Commit

Permalink
Ticket link
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed May 28, 2024
1 parent bc81138 commit 7a79222
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/components/AnchorButton.astro
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
interface Props {
class?: string;
href?: string;
target?: string;
}
const { class: className, ...rest } = Astro.props;
Expand All @@ -22,5 +23,14 @@ const { class: className, ...rest } = Astro.props;
font-weight: 700;
padding: 1rem 2rem;
text-decoration: none;
transition:
var(--transitionFast) transform,
var(--transitionFast) box-shadow;
}

.anchor-button:focus,
.anchor-button:hover {
transform: translateY(-3px);
box-shadow: 0 6px 14px var(--colorTextShadow);
}
</style>
8 changes: 7 additions & 1 deletion src/components/PrimaryHero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,11 @@ import HeroName from "./HeroName.astro";

<Hero>
<HeroName align="center" color="inverted" level="h1" />
<AnchorButton>$350 Early Bird Tickets</AnchorButton>
<AnchorButton
href="https://buytickets.at/squiggleconf/1249793/r/website"
target="_blank"
rel="noreferrer"
>
$350 Early Bird Tickets
</AnchorButton>
</Hero>

0 comments on commit 7a79222

Please sign in to comment.