Skip to content

Commit

Permalink
feat: add link to shop
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Sep 27, 2024
1 parent f5cfa81 commit dd433f8
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/Footer.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ import AnchorButton from "./AnchorButton.astro";
</div>
<div class="half texts">
<div class="line texts-line">
<a href={links.shop} rel="noreferrer" target="_blank">Shop</a>
<a href="/code-of-conduct">Code of Conduct</a>
</div>
<div class="logos">
Expand Down Expand Up @@ -112,7 +113,7 @@ import AnchorButton from "./AnchorButton.astro";

.texts-line {
display: flex;
flex-direction: column;
gap: 2rem;
justify-content: right;
text-align: right;
width: 100%;
Expand Down
4 changes: 4 additions & 0 deletions src/components/PrimaryHero.astro
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ import TicketsButton from "./TicketsButton.astro";
Attendee Volunteering Event
<Image alt="" class="link-out" src={LinkOut} />
</a>
<a class="sub-mention" href={links.shop} target="_blank" rel="noreferrer">
Shop
<Image alt="" class="link-out" src={LinkOut} />
</a>
</div>

<ThemeToggle />
Expand Down
1 change: 1 addition & 0 deletions src/data/links.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export const links = {
scholarship: "https://forms.gle/pnoAmVgijk3p4j5C7",
shop: "https://shop.squiggle.tools",
tickets: "https://ticket.squiggleconf.com",
volunteer: "https://volunteer.squiggleconf.com",
volunteering: "https://forms.gle/EhSEqs3HD5QsFhCz9",
Expand Down

0 comments on commit dd433f8

Please sign in to comment.