diff --git a/frontend/src/lib/components/DaysOfWeekSelector.svelte b/frontend/src/lib/components/DaysOfWeekSelector.svelte index c7b3ccf3..c3e38acf 100644 --- a/frontend/src/lib/components/DaysOfWeekSelector.svelte +++ b/frontend/src/lib/components/DaysOfWeekSelector.svelte @@ -11,7 +11,7 @@ } -
+
{#each Object.entries(daysOfWeek) as [day, value]} {#if day === 'monday' || day === 'tuesday' || day === 'wednesday' || day === 'thursday' || day === 'friday' || day === 'saturday' || day === 'sunday'}
diff --git a/frontend/src/routes/create-goals/+page.svelte b/frontend/src/routes/create-goals/+page.svelte index 6cb617da..b222046e 100644 --- a/frontend/src/routes/create-goals/+page.svelte +++ b/frontend/src/routes/create-goals/+page.svelte @@ -49,21 +49,6 @@ console.log(error); } } - - let showModal = false; // Modal state - - const openModal = () => { - showModal = true; - }; - - const closeModal = () => { - showModal = false; - }; - - const handleEdit = () => { - // Handle the edit logic here... - closeModal(); - };
@@ -95,211 +80,379 @@
-
- -
-
-
-

Specific

+ +
+
+
+

Specific

+
-
- -
-
-
-
+ +
+ + +
- -
-
-
-

Measurable

+ +
+
+
+

Measurable

+
-
- -
-
-
-
+ +
+ + +
- -
-
-
-

Attainable

+ +
+
+
+

Attainable

+
-
- -
-
-
-
+ +
+ + +
- -
-
-
-

Relevant

+ +
+
+
+

Relevant

+
-
- -
-
-
-
+ +
+ + + - -
-
-
-

Time-Bound

+ +
+
+
+

Time-Bound

+
-
- -
+ +
+
+
+
+ +
+
+
+
+ {#if goal.days_of_week} +
+

Days

+ +
+ + +
+
+ + {/if}
-
+ +
-
-
- {#if goal.days_of_week} - Select the Days Your SMART Goal Repeats: - - - {/if} -
-
-
-
- - -
-
-
-
-
-
- - -
-
-
-
-
-
-
- -
-
-
+
+

Time

+ +
+ +
-
-
-
- -
- -
+
+
+
- {#if showModal} -
-
-
+
+ +