diff --git a/src/lib/components/habits/SectionHabits.svelte b/src/lib/components/habits/SectionHabits.svelte deleted file mode 100644 index fbb54b3..0000000 --- a/src/lib/components/habits/SectionHabits.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - -
- {#if habits.length > 0} -
-

Habits

-
- - -
-
- -
- -
- {:else} -
-

- You have created any habits yet. Start your journey by select new daily challenges -

- -
- {/if} -
diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index b26e8f4..4ab5af1 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -1,9 +1,12 @@ @@ -25,6 +28,27 @@ {#if isLoading} {:else} - +
+ {#if habitsData} +
+

Habits

+
+ + +
+
+ +
+ +
+ {:else} +
+

+ You have created any habits yet. Start your journey by select new daily challenges +

+ +
+ {/if} +
{/if}