Skip to content

Commit

Permalink
removed date from supporters details
Browse files Browse the repository at this point in the history
  • Loading branch information
jdvlpr committed Sep 24, 2024
1 parent b2628eb commit 5a238d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "temperature-blanket-web-app",
"version": "4.2.2",
"version": "4.2.3",
"description": "Weather Data + Art! Web app for creating a temperature blanket",
"main": "index.html",
"private": true,
Expand Down
15 changes: 3 additions & 12 deletions src/lib/components/Supporters.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ If not, see <https://www.gnu.org/licenses/>. -->
</div>
<div class="flex-grow border-t border-surface-300-600-token"></div>
</div>
{#each SUPPORTERS?.gold as { name, href, linkText, imageSrc, date }}
{#each SUPPORTERS?.gold as { name, href, linkText, imageSrc }}
<div
class="bg-surface-200-700-token text-token px-2 py-4 rounded-container-token w-full flex flex-col justify-center"
>
Expand All @@ -63,9 +63,6 @@ If not, see <https://www.gnu.org/licenses/>. -->
<a {href} target="_blank" class="link break-all">
{linkText}
</a>
<p class="text-sm font-normal">
Since {new Date(date).toLocaleDateString()}
</p>
</div>
</div>
{/each}
Expand All @@ -92,15 +89,12 @@ If not, see <https://www.gnu.org/licenses/>. -->
</div>
<div class="flex-grow border-t border-surface-300-600-token"></div>
</div>
{#each SUPPORTERS.silver as { name, href, linkText, date }}
{#each SUPPORTERS.silver as { name, href, linkText }}
<div
class="h-fit bg-surface-200-700-token text-token p-4 rounded-container-token flex flex-col items-center"
>
<p class="text-xl font-bold">{name}</p>
<a {href} target="_blank" class="link">{linkText}</a>
<p class="text-sm font-normal w-fit">
Since {new Date(date).toLocaleDateString()}
</p>
</div>
{/each}
{/if}
Expand All @@ -126,14 +120,11 @@ If not, see <https://www.gnu.org/licenses/>. -->
</div>
<div class="flex-grow border-t border-surface-300-600-token"></div>
</div>
{#each SUPPORTERS?.bronze as { name, date }}
{#each SUPPORTERS?.bronze as { name }}
<div
class="h-fit bg-surface-200-700-token text-token p-4 rounded-container-token flex flex-col items-center"
>
<p class="text-xl font-bold">{name}</p>
<p class="text-sm font-normal w-fit">
Since {new Date(date).toLocaleDateString()}
</p>
</div>
{/each}
{/if}
Expand Down

0 comments on commit 5a238d4

Please sign in to comment.