-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1289 from ThatConference/cs/claimTicket
feat: adds claim ticket
- Loading branch information
Showing
59 changed files
with
948 additions
and
686 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<script> | ||
import { getContext } from 'svelte'; | ||
import Ticket from '$elements/svgs/Ticket.svelte'; | ||
const { state } = getContext('claimTicket'); | ||
</script> | ||
|
||
{#if ['claim.pending'].some($state.matches)} | ||
<div class="relative flex items-center justify-center"> | ||
<div class="ml-4 rounded-full p-1 hover:bg-thatBlue-500 hover:text-white focus:text-white"> | ||
<a href="/orders/claim/"> | ||
<Ticket /> | ||
<span class="absolute bottom-0 right-0 block animate-pulse"> | ||
<span | ||
class="inline-flex h-4 w-4 items-center justify-center rounded-full bg-thatRed-500" /> | ||
</span> | ||
</a> | ||
</div> | ||
</div> | ||
{/if} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.