diff --git a/src/components/AreaPage.svelte b/src/components/AreaPage.svelte index 51ac8c9e..9f557114 100644 --- a/src/components/AreaPage.svelte +++ b/src/components/AreaPage.svelte @@ -147,6 +147,7 @@ linkedin = area['contact:linkedin']; rss = area['contact:rss']; signal = area['contact:signal']; + simplex = area['contact:simplex']; if (area['tips:lightning_address']) { lightning = { @@ -283,6 +284,7 @@ let linkedin: string | undefined; let rss: string | undefined; let signal: string | undefined; + let simplex: string | undefined; let lightning: { destination: string; type: TipType } | undefined; let eventElements: ActivityEvent[] = []; @@ -368,6 +370,7 @@ {linkedin} {rss} {signal} + {simplex} /> {:else}
diff --git a/src/components/CommunityCard.svelte b/src/components/CommunityCard.svelte index 25ce08b9..f524fffe 100644 --- a/src/components/CommunityCard.svelte +++ b/src/components/CommunityCard.svelte @@ -24,6 +24,7 @@ $: linkedin = tags['contact:linkedin'] && tags['contact:linkedin']; $: rss = tags['contact:rss'] && tags['contact:rss']; $: signal = tags['contact:signal'] && tags['contact:signal']; + $: simplex = tags['contact:simplex'] && tags['contact:simplex']; $: tip = (tags['tips:lightning_address'] && { destination: tags['tips:lightning_address'], @@ -77,6 +78,7 @@ {linkedin} {rss} {signal} + {simplex} style="border-t border-t-statBorder p-4 w-full" />
diff --git a/src/components/Socials.svelte b/src/components/Socials.svelte index a4050043..3b857f93 100644 --- a/src/components/Socials.svelte +++ b/src/components/Socials.svelte @@ -17,6 +17,7 @@ export let linkedin: undefined | string = undefined; export let rss: undefined | string = undefined; export let signal: undefined | string = undefined; + export let simplex: undefined | string = undefined; export let style: undefined | string = undefined; @@ -122,4 +123,9 @@ signal {/if} + {#if simplex} + + simplex + + {/if} diff --git a/src/lib/types.ts b/src/lib/types.ts index 1cc82207..bd85efaa 100644 --- a/src/lib/types.ts +++ b/src/lib/types.ts @@ -41,6 +41,7 @@ export type AreaTags = { ['contact:linkedin']?: string; ['contact:rss']?: string; ['contact:signal']?: string; + ['contact:simplex']?: string; ['tips:lightning_address']?: string; ['tips:url']?: string; sponsor?: boolean; diff --git a/src/routes/communities/map/+page.svelte b/src/routes/communities/map/+page.svelte index 32446396..ff1ff002 100644 --- a/src/routes/communities/map/+page.svelte +++ b/src/routes/communities/map/+page.svelte @@ -150,7 +150,8 @@ facebook: community.tags['contact:facebook'], linkedin: community.tags['contact:linkedin'], rss: community.tags['contact:rss'], - signal: community.tags['contact:signal'] + signal: community.tags['contact:signal'], + simplex: community.tags['contact:simplex'] } }); } diff --git a/static/icons/socials/simplex.svg b/static/icons/socials/simplex.svg new file mode 100644 index 00000000..6872614c --- /dev/null +++ b/static/icons/socials/simplex.svg @@ -0,0 +1,16 @@ + + + + 7D1F159A-EDEB-4E00-A1B8-9D852C99C1C8 + Created with sketchtool. + + + + + + + + + + + \ No newline at end of file