-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
789ea01
commit e90c4d5
Showing
5 changed files
with
60 additions
and
25 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,23 +1,37 @@ | ||
<div class="m-4 classic:bg-df-pink blm:bg-black rounded-lg border-4 border-white flex flex-col items-center justify-between w-full md:w-1/4 p-2 shadow-md"> | ||
<LinkTo | ||
class="m-4 classic:bg-df-pink blm:bg-black rounded-lg border-4 border-white flex justify-between w-full p-2 shadow-md" | ||
@route="home.shrimpos.show" | ||
@model={{@shrimpo.slug}}> | ||
<div> | ||
{{#if @shrimpo.coverArtUrl}} | ||
<img src={{@shrimpo.coverArtUrl}} /> | ||
{{else}} | ||
<img src={{@shrimpo.user.avatarUrlOrDefault}} /> | ||
{{/if}} | ||
</div> | ||
<h2 class="text-xl"> | ||
<LinkTo @route="home.shrimpos.show" @model={{@shrimpo.slug}}> | ||
{{@shrimpo.title}} | ||
</LinkTo> | ||
</h2> | ||
<div> | ||
{{@shrimpo.entriesCount}} entries | ||
<div> | ||
{{#if @shrimpo.coverArtUrl}} | ||
<img | ||
style="height: 6rem;" | ||
src={{@shrimpo.coverArtUrl}} | ||
/> | ||
{{else}} | ||
<img src={{@shrimpo.user.avatarUrlOrDefault}} /> | ||
{{/if}} | ||
</div> | ||
<div class="flex flex-col"> | ||
<h2 class="text-xl"> | ||
{{@shrimpo.title}} | ||
</h2> | ||
<div class="text-white"> | ||
{{@shrimpo.entriesCount}} entries | ||
</div> | ||
</div> | ||
</div> | ||
<div> | ||
{{@shrimpo.status}} | ||
<div class="text-white font-bold"> | ||
{{@shrimpo.status}} | ||
</div> | ||
{{#if (eq @shrimpo.status 'running')}} | ||
<Shrimpo::Countdown @endAt={{@shrimpo.endAt}} /> | ||
{{/if}} | ||
<div class="text-white"> | ||
<span class="font-bold">Host:</span> | ||
{{@shrimpo.username}} | ||
</div> | ||
</div> | ||
{{#if (eq @shrimpo.status 'running')}} | ||
<Shrimpo::Countdown @endAt={{@shrimpo.endAt}} /> | ||
{{/if}} | ||
</div> | ||
</LinkTo> |
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 |
---|---|---|
@@ -1 +1,3 @@ | ||
Time left: {{this.currentTimeLeft}} | ||
<span class="text-white"> | ||
Time left: {{this.currentTimeLeft}} | ||
</span> |
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
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