Skip to content

Commit

Permalink
update support page
Browse files Browse the repository at this point in the history
  • Loading branch information
secondl1ght committed Mar 6, 2024
1 parent acd716e commit eb7dc2c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 18 deletions.
4 changes: 1 addition & 3 deletions src/components/SupportSection.svelte
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
<script lang="ts">
export let title: 'Company' | 'Community';
export let supporters: { url: string; logoDark?: string; logo: string; title: string }[];
export let placeholders: number;
import { theme } from '$lib/store';
import { detectTheme } from '$lib/utils';
</script>

<div>
<h3 class="mb-4 text-xl font-semibold text-body dark:text-white">{title}</h3>
<div class="mt-4">
<div class="mx-auto w-full grid-cols-3 gap-10 space-y-10 lg:grid lg:w-[830px] lg:space-y-0">
{#each supporters as supporter}
<a
Expand Down
19 changes: 4 additions & 15 deletions src/routes/support-us/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,18 +41,10 @@
);
};
const company = [
const supporters = [
{ url: 'https://coinos.io/', title: 'coinos', logo: 'coinos.svg', logoDark: 'coinos-dark.svg' },
{ url: 'https://www.walletofsatoshi.com/', title: 'Wallet of Satoshi', logo: 'wos.png' }
];
const community = [
{ url: 'https://btccuracao.com/', title: 'BTC Curacao', logo: 'btccuracao.png' },
{
url: 'https://pouch.ph/bitcoinisland',
title: 'Bitcoin Island Philippines',
logo: 'bitcoin-island-philippines.jpeg'
}
{ url: 'https://www.walletofsatoshi.com/', title: 'Wallet of Satoshi', logo: 'wos.png' },
{ url: 'https://btccuracao.com/', title: 'BTC Curacao', logo: 'btccuracao.png' }
];
</script>

Expand Down Expand Up @@ -140,10 +132,7 @@
>Become a Sponsor</a
>

<div class="mt-4 space-y-16">
<SupportSection title="Company" supporters={company} placeholders={1} />
<SupportSection title="Community" supporters={community} placeholders={1} />
</div>
<SupportSection {supporters} placeholders={0} />
</section>

<section id="node">
Expand Down
Binary file not shown.

0 comments on commit eb7dc2c

Please sign in to comment.