Skip to content

Commit

Permalink
Add championship Ws to player pages
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRandomMelon committed Sep 3, 2024
1 parent 1a1808c commit 3351f57
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 0 deletions.
21 changes: 21 additions & 0 deletions _layouts/players.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,27 @@
</div>
</div>

{% if page.championships %}
<div class="flex w-full rounded-2xl mt-4 box-champ sm:flex-row flex-col">
<div class="flex-auto">
<div class="sm:p-6 p-4 flex items-center space-x-2">
<img style="filter: drop-shadow(0px 0px 3px #00000071);" src="/img/trophy.png" class="w-[32px] h-[32px]" />

<div class="ml-6 flex items-center">
<table>
<tbody>
<tr>
<td><b class="default-text-shadow text-2xl mr-4">Leagueopoly Championships Won</b></td>
<td><p class="default-text-shadow">{{ page.championships }}</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
{% endif %}

{% if page.awards %}

{% assign awardBySeason = page.awards | split: "-" %}
Expand Down
1 change: 1 addition & 0 deletions players/cstro.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
website: twitch.tv/cstro216
website_url: https://twitch.tv/cstro216
awards: Season 2|Chance Conference MVP
championships: Season 2
---
1 change: 1 addition & 0 deletions players/hydrogen.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,5 @@
website: thehydrogen.xyz
website_url: https://thehydrogen.xyz
awards: Season 3|Chance Conference MVP
championships: Season 3
---
1 change: 1 addition & 0 deletions players/josephine.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@
activities: Musician
website: zleepyheadzoloft.bandcamp.com
website_url: https://zleepyheadzoloft.bandcamp.com
championships: Season 1
---

0 comments on commit 3351f57

Please sign in to comment.