Skip to content

Commit

Permalink
feat: Add hyrox stockholm 2024 (#1090)
Browse files Browse the repository at this point in the history
  • Loading branch information
georgegillams authored Dec 8, 2024
1 parent 41e85c0 commit 1a24f21
Show file tree
Hide file tree
Showing 2 changed files with 52 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/containers/Medals/Container.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,14 @@ const Medals = () => {
stravaLink="https://www.strava.com/activities/10829008206"
showDarkModeOutline
/>
<EventPatch
background="#000000"
foreground={HYROX_YELLOW}
title="HYROX Stockholm"
year="2024"
stravaLink="https://www.strava.com/activities/13063999212"
showDarkModeOutline
/>
</StyledMedalShelf>
</Subsection>
</SectionWithScroll>
Expand Down
44 changes: 44 additions & 0 deletions src/containers/Medals/tests/__snapshots__/Container.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -4423,6 +4423,50 @@ exports[`<Medals /> should render correctly 1`] = `
</a>
</div>
</div>
<div
class="c64"
>
<span
class="c50 c51"
>
HYROX Stockholm
</span>
<span
class="c24 c52"
>
2024
</span>
<div
class="c53"
>
<a
class="c65 "
href="https://www.strava.com/activities/13063999212"
rel="noopener noreferrer"
target="_blank"
>
<span
class="c24"
>
<svg
class="c55"
height="18"
viewBox="0 0 24 24"
width="18"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M10.5714 1.2381L4.28571 13.5238H8L10.5714 8.66667L13.1429 13.5238H16.9524L10.5714 1.2381Z"
/>
<path
d="M15.0476 22.7619L10.381 13.5238H13.2381L15.0476 17.2381L16.9524 13.5238H19.7143L15.0476 22.7619Z"
fill-opacity="0.5"
/>
</svg>
</span>
</a>
</div>
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 1a24f21

Please sign in to comment.