Added contact form with email sending

This commit is contained in:
Jose Selesan
2026-07-13 12:27:44 -03:00
parent f923dd2f56
commit 915c8928c8
4 changed files with 1584 additions and 2 deletions

View File

@@ -322,7 +322,9 @@ posthog.capture('$pageview');
<p class="flex items-center gap-3"><span class="h-2.5 w-2.5 rounded-full bg-white"></span>Sede Central, Hub de Innovación Digital</p>
</div>
</div>
<form class="rounded-xl border border-white/20 bg-white p-6 text-ink shadow-panel">
<form action="https://formsubmit.co/hola@2pidev.com" method="POST" class="rounded-xl border border-white/20 bg-white p-6 text-ink shadow-panel">
<input type="hidden" name="_next" value="https://2pidev.com/gracias">
<input type="hidden" name="_captcha" value="false">
<div class="grid gap-4 sm:grid-cols-2">
<label class="text-sm font-bold">Nombre
<input class="mt-2 w-full rounded-md border border-line px-4 py-3 font-normal outline-none focus:border-azure focus:ring-2 focus:ring-blue-100" type="text" name="nombre" placeholder="Juan Pérez">