From b052f741d935abd2f51423abf3fcda9157844b5c Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sat, 11 Apr 2026 14:42:43 -0700 Subject: initial commit --- src/lib/component/Social.svelte | 112 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 112 insertions(+) create mode 100644 src/lib/component/Social.svelte (limited to 'src/lib/component/Social.svelte') diff --git a/src/lib/component/Social.svelte b/src/lib/component/Social.svelte new file mode 100644 index 0000000..1e469eb --- /dev/null +++ b/src/lib/component/Social.svelte @@ -0,0 +1,112 @@ + + + + +

social.webb.page/mastodon

+ +{#if mastodonLoaded} +
+ {@html mastodonPostContent} + + {#if mastodonPostMedia.length} +
+ {#each mastodonPostMedia as media} + {#if videoRegex.test(media)} + + + {:else} +
+ mastodon media +
+
+ {/if} + {/each} +
+ {/if} + +

— + + + +

+
+{:else} +
+

loading…

+
+{/if} -- cgit v1.2.3