Icon
{/snippet} {#snippet input()} -Play sound for new activity
{/snippet} {#snippet input()} - +Enable push notifications
{/snippet} {#snippet input()} - +Notify me about new activity
{/snippet} {#snippet input()} - +Always notify me when mentioned
{/snippet} {#snippet input()} - +Notify me about new messages
{/snippet} {#snippet input()} - +Hide sensitive content?
{/snippet} {#snippet input()} - +@@ -81,7 +82,7 @@
Show media?
{/snippet} {#snippet input()} - +Use this to disable link previews and image rendering.
diff --git a/src/routes/settings/hosting/+page.svelte b/src/routes/settings/hosting/+page.svelte new file mode 100644 index 00000000..2f4247a6 --- /dev/null +++ b/src/routes/settings/hosting/+page.svelte @@ -0,0 +1,294 @@ + + +{#snippet methodRow(title: string, icon: string, state: PaymentMethodState, onAction: () => void)} +{title}
+ {#if state.kind === "ok"} +Connected
+ {:else if state.kind === "error"} +{state.message}
+ {:else} +Not set up
+ {/if} +You don't host any spaces yet.
+Create a space to get started.
+No invoices yet.
+ {:else} +Authenticate with unknown relays?
{/snippet} {#snippet input()} - +Controls whether {PLATFORM_NAME} will identify you to relays not in your lists.
@@ -56,7 +53,7 @@Report errors?
{/snippet} {#snippet input()} - +Allow {PLATFORM_NAME} to send error reports to help improve the app.
@@ -67,7 +64,7 @@Report usage?
{/snippet} {#snippet input()} - +Allow {PLATFORM_NAME} to collect anonymous usage data.
diff --git a/src/routes/spaces/[relay]/+layout.svelte b/src/routes/spaces/[relay]/+layout.svelte index 3b56f5a0..c54fb299 100644 --- a/src/routes/spaces/[relay]/+layout.svelte +++ b/src/routes/spaces/[relay]/+layout.svelte @@ -1,10 +1,12 @@ @@ -105,12 +97,6 @@ {/if} {/if} - {#if $userIsAdmin} -+ This space isn't hosted by Coracle Hosting, or you don't administer it. Only the owner of + a hosted relay can manage its plan, policies, and billing here. +
++ The premium experience. We handle the infrastructure, security updates, and scaling so + you can focus on your community. +
+
- - The premium experience. We handle the infrastructure, security updates, and scaling so - you can focus on your community. -
-