From 9e53d6b374bfc799448b00900ef3a77d99015f39 Mon Sep 17 00:00:00 2001 From: Omer Sabic Date: Thu, 30 May 2024 12:27:59 +0200 Subject: [PATCH] hid freebie image --- src/routes/(app)/website/+page.svelte | 72 ++++++++++++++++----------- src/routes/(app)/website/schema.js | 2 +- 2 files changed, 43 insertions(+), 31 deletions(-) diff --git a/src/routes/(app)/website/+page.svelte b/src/routes/(app)/website/+page.svelte index 4a371c4..5136ad6 100644 --- a/src/routes/(app)/website/+page.svelte +++ b/src/routes/(app)/website/+page.svelte @@ -20,7 +20,7 @@ if (e.result.type == 'success') { toast.success('Website configuration successfully updated!'); } else { - console.log(e.result) + console.log(e.result); toast.error('Error when updating website.'); } } @@ -71,9 +71,9 @@
-
+
-

Basics

+

Basics

Blog name @@ -98,7 +98,7 @@ - + Primary color @@ -147,14 +147,19 @@ {#if data.blog_info.subdomain_slug} - You can also access your website at {data.blog_info.subdomain_slug}.{config.sites_url} - + You can also access your website at {data.blog_info.subdomain_slug}.{config.sites_url} {/if}
-

Freebies

+

Freebies

Send freebie @@ -198,36 +203,43 @@ - - - Freebie image -
- - handleFileChange(e, $formData.freebie_image_url).then( - (x) => ($formData.freebie_image_url = x) - )} - bind:disabled={disable_freebies} - /> - -
-
- -
+ + Freebie text
-