diff --git a/.gitignore b/.gitignore index 3b462cb..4683401 100644 --- a/.gitignore +++ b/.gitignore @@ -21,3 +21,6 @@ Thumbs.db # Vite vite.config.js.timestamp-* vite.config.ts.timestamp-* + +# Local notes (not pushed) +docs/ diff --git a/src/lib/components/ui/create/BudgetSlider.svelte b/src/lib/components/ui/create/BudgetSlider.svelte new file mode 100644 index 0000000..73c4a0d --- /dev/null +++ b/src/lib/components/ui/create/BudgetSlider.svelte @@ -0,0 +1,71 @@ + + +
+
+

Budget

+

+ ₩{budget.toLocaleString('ko-KR')} +

+
+ +
+
+
+
+ +
+
+ ₩10,000 + ₩150,000+ +
+
+
+ + diff --git a/src/lib/components/ui/create/ContextForm.svelte b/src/lib/components/ui/create/ContextForm.svelte new file mode 100644 index 0000000..2e66d3e --- /dev/null +++ b/src/lib/components/ui/create/ContextForm.svelte @@ -0,0 +1,66 @@ + + +
+
+ {#if !hasAnySelection} +

+ Who are we making flowers for? +

+

Pick a few details below

+ {:else} +

+ {#if whatFor} + A {whatFor} + bouquet for + {:else} + A bouquet for + {/if} + {#if who} + {who} + {:else} + ... + {/if} +

+

+ {style ?? '—'} | ₩{budget.toLocaleString('ko-KR')} +

+ {/if} +
+ +
+ (who = v)} /> + (whatFor = v)} + /> + (style = v)} + /> + +
+
diff --git a/src/lib/components/ui/create/OptionGroup.svelte b/src/lib/components/ui/create/OptionGroup.svelte new file mode 100644 index 0000000..5781c43 --- /dev/null +++ b/src/lib/components/ui/create/OptionGroup.svelte @@ -0,0 +1,21 @@ + + +
+

{label}

+
+ {#each options as option (option)} + + {/each} +
+
diff --git a/src/lib/components/ui/message/MessageForm.svelte b/src/lib/components/ui/message/MessageForm.svelte new file mode 100644 index 0000000..c422bc6 --- /dev/null +++ b/src/lib/components/ui/message/MessageForm.svelte @@ -0,0 +1,34 @@ + + +
+
+ +
+
+ + (message = preset)} + /> +
diff --git a/src/lib/components/ui/message/MessagePresetList.svelte b/src/lib/components/ui/message/MessagePresetList.svelte new file mode 100644 index 0000000..b4d0e17 --- /dev/null +++ b/src/lib/components/ui/message/MessagePresetList.svelte @@ -0,0 +1,19 @@ + + +
+ {#each options as option (option)} + + {/each} +
diff --git a/src/routes/create/+page.svelte b/src/routes/create/+page.svelte index 5d368c1..8baa806 100644 --- a/src/routes/create/+page.svelte +++ b/src/routes/create/+page.svelte @@ -1 +1,42 @@ -

/create page

+ + + +
+
+ +
+ + +
+ +
+
+
diff --git a/src/routes/message/+page.svelte b/src/routes/message/+page.svelte new file mode 100644 index 0000000..12b7c98 --- /dev/null +++ b/src/routes/message/+page.svelte @@ -0,0 +1,29 @@ + + + +
+
+ +
+ + +
+ +
+
+