Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat: sold out tag, 1337 ticket #128

Merged
merged 2 commits into from
Jan 25, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/components/tickets/TicketBox.astro
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const formattedPrice = price
}).format(price)
: "";

const boxStyles = `p-6 rounded-3xl sm:mx-auto sm:rounded-2xl ${price ? "bg-white shadow-lg text-black prose-headings:text-black" : "border border-white text-white"} prose`;
const boxStyles = `p-6 rounded-3xl sm:mx-auto sm:rounded-2xl ${price ? "bg-white shadow-lg text-black prose-headings:text-black" : "border border-white text-white"} prose relative`;
---

<div class={boxStyles}>
Expand Down
5 changes: 5 additions & 0 deletions src/pages/tickets/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,11 @@ const buttonStyles =
Sikre deg en ekstra god pris på LANpass! Kun 20 av disse er
tilgjengelig
</p>
<div
class="absolute -top-2 md:-top-5 left-1/2 transform -translate-x-1/2 text-center text-white bg-orange-500 rounded-full px-5 py-1 font-semibold"
>
Utsolgt!
</div>
</TicketBox>
<TicketBox
timespan="Onsdag til Fredag eller Fredag til Søndag"
Expand Down
Loading