This commit is contained in:
parent
90f2d72e2a
commit
eb7b131f55
1 changed files with 7 additions and 6 deletions
|
|
@ -15,7 +15,7 @@
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<form id="contact" method="post" use:enhance>
|
<form id="contact" method="post" use:enhance>
|
||||||
<div class="mx-auto grid max-w-3xl grid-flow-col grid-cols-3 grid-rows-7 content-end gap-4 py-8">
|
<div class="mx-auto grid max-w-3xl gap-4 py-8 sm:grid-flow-col sm:grid-cols-3 sm:grid-rows-6">
|
||||||
<div class="col-span-full">
|
<div class="col-span-full">
|
||||||
{#if form?.response?.rejected.length ?? 0 > 0}
|
{#if form?.response?.rejected.length ?? 0 > 0}
|
||||||
<div role="alert" class="alert alert-error w-full">
|
<div role="alert" class="alert alert-error w-full">
|
||||||
|
|
@ -37,21 +37,20 @@
|
||||||
|
|
||||||
<h2 class="col-span-full text-3xl font-light">Reach out! 🤝</h2>
|
<h2 class="col-span-full text-3xl font-light">Reach out! 🤝</h2>
|
||||||
|
|
||||||
<label class="input input-bordered flex w-full items-center">
|
<label class="input input-bordered col-span-full flex w-full items-center sm:col-span-1">
|
||||||
<UserRound />
|
<UserRound />
|
||||||
<input name="name" type="text" class="grow" placeholder="Full Name" />
|
<input name="name" type="text" class="grow" placeholder="Full Name" />
|
||||||
</label>
|
</label>
|
||||||
<label class="input input-bordered flex w-full items-center gap-2">
|
<label class="input input-bordered col-span-full flex w-full items-center gap-2 sm:col-span-1">
|
||||||
<Mail />
|
<Mail />
|
||||||
<input name="email" type="text" class="grow" placeholder="Your Email" />
|
<input name="email" type="text" class="grow" placeholder="Your Email" />
|
||||||
</label>
|
</label>
|
||||||
<label class="input input-bordered flex w-full items-center gap-2">
|
<label class="input input-bordered col-span-full flex w-full items-center gap-2 sm:col-span-1">
|
||||||
<Croissant />
|
<Croissant />
|
||||||
<input name="subject" type="text" class="grow" placeholder="Subject" />
|
<input name="subject" type="text" class="grow" placeholder="Subject" />
|
||||||
</label>
|
</label>
|
||||||
<button type="submit" class="btn btn-primary">Send Message <Send size={20} /></button>
|
|
||||||
|
|
||||||
<div class="col-span-2 row-span-4">
|
<div class="row-span-3 sm:col-span-2">
|
||||||
<textarea
|
<textarea
|
||||||
name="message"
|
name="message"
|
||||||
form="contact"
|
form="contact"
|
||||||
|
|
@ -59,5 +58,7 @@
|
||||||
placeholder="Message"
|
placeholder="Message"
|
||||||
></textarea>
|
></textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<button type="submit" class="btn btn-primary col-span0">Send Message <Send size={20} /></button>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue