diff --git a/bun.lockb b/bun.lockb index 60b3b28..76aeb27 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index 5330c2f..d412ae2 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "vite": "^5.4.11" }, "dependencies": { - "@tailwindcss/forms": "^0.5.10" + "@tailwindcss/forms": "^0.5.10", + "lucide-svelte": "^0.471.0" }, "private": true } diff --git a/src/lib/components/ContactForm.svelte b/src/lib/components/ContactForm.svelte new file mode 100644 index 0000000..3b5f161 --- /dev/null +++ b/src/lib/components/ContactForm.svelte @@ -0,0 +1,180 @@ + + +{#if submitted} +
+
+

+ Thank You! +

+

+ Your message has been sent successfully. +

+ +
+
+{:else} +
+

Contact Form

+ +
+
+ + + {#if errors.name} +

{errors.name}

+ {/if} +
+ +
+ + + {#if errors.email} +

{errors.email}

+ {/if} +
+ +
+ + + {#if errors.subject} +

{errors.subject}

+ {/if} +
+ +
+ +