|
107 | 107 | <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">Contactar un vededor</h2>
|
108 | 108 | <p class="mt-2 text-lg leading-8 text-gray-600">En las próximas 24h será atendido por uno de nuestros vededores.</p>
|
109 | 109 | </div>
|
110 |
| - <form action="#" method="POST" class="mx-auto mt-16 max-w-xl sm:mt-20"> |
| 110 | + <form action="/enviar.php" method="POST" class="mx-auto mt-16 max-w-xl sm:mt-20"> |
111 | 111 | <div class="grid grid-cols-1 gap-x-8 gap-y-6 sm:grid-cols-2">
|
112 | 112 | <div>
|
113 | 113 | <label for="first-name" class="block text-sm font-semibold leading-6 text-gray-900">Nombre</label>
|
114 | 114 | <div class="mt-2.5">
|
115 |
| - <input type="text" name="first-name" id="first-name" autocomplete="given-name" class="block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 115 | + <input required type="text" name="first-name" id="first-name" autocomplete="given-name" class="form-control block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" placeholder="Primer Nombre"> |
116 | 116 | </div>
|
117 | 117 | </div>
|
118 | 118 | <div>
|
119 | 119 | <label for="last-name" class="block text-sm font-semibold leading-6 text-gray-900">Apellido</label>
|
120 | 120 | <div class="mt-2.5">
|
121 |
| - <input type="text" name="last-name" id="last-name" autocomplete="family-name" class="block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 121 | + <input required type="text" name="last-name" id="last-name" autocomplete="family-name" class="form-control block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" placeholder="Primer Apellido "> |
122 | 122 | </div>
|
123 | 123 | </div>
|
124 | 124 |
|
125 | 125 | <div class="sm:col-span-2">
|
126 | 126 | <label for="email" class="block text-sm font-semibold leading-6 text-gray-900">Email</label>
|
127 | 127 | <div class="mt-2.5">
|
128 |
| - <input type="email" name="email" id="email" autocomplete="email" class="block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 128 | + <input required type="email" name="email" id="email" autocomplete="email" class="form-control block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" placeholder="ejemplo@ejemplo.com "> |
129 | 129 | </div>
|
130 | 130 | </div>
|
131 | 131 | <div class="sm:col-span-2">
|
132 | 132 | <label for="phone-number" class="block text-sm font-semibold leading-6 text-gray-900">Número de teléfono</label>
|
133 |
| - <div class="relative mt-2.5"> |
134 |
| - <div class="absolute inset-y-0 left-0 flex items-center"> |
135 |
| - |
136 |
| - |
137 |
| - |
138 |
| - </div> |
139 |
| - <input type="tel" name="phone-number" id="phone-number" autocomplete="tel" class="block w-full rounded-md border-0 px-3.5 py-2 pl-20 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"> |
| 133 | + <div class="mt-2.5"> |
| 134 | + <input required type="tel" name="phone-number" id="phone-number" autocomplete="tel" class="block w-full rounded-md border-0 px-3.5 py-2 pl-20 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" placeholder="+(País)-(Área)-(Número de Teléfono)"> |
140 | 135 | </div>
|
141 | 136 | </div>
|
142 | 137 | <div class="sm:col-span-2">
|
143 | 138 | <label for="message" class="block text-sm font-semibold leading-6 text-gray-900">Mensaje</label>
|
144 | 139 | <div class="mt-2.5">
|
145 |
| - <textarea name="message" id="message" rows="4" class="block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6"></textarea> |
| 140 | + <textarea required name="message" id="message" rows="4" class="block w-full rounded-md border-0 px-3.5 py-2 text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 placeholder:text-gray-400 focus:ring-2 focus:ring-inset focus:ring-indigo-600 sm:text-sm sm:leading-6" placeholder="Mensaje . . ." ></textarea> |
146 | 141 | </div>
|
147 | 142 | </div>
|
148 | 143 |
|
149 | 144 | </div>
|
| 145 | + <div class="form-group mt-2.5 block text-sm font-semibold leading-6 text-gray-900"> |
| 146 | + <input type="checkbox" required> Acepto la política de privacidad. |
| 147 | + </div> |
150 | 148 | <div class="mt-10">
|
151 | 149 | <button type="submit" class="block w-full rounded-md bg-indigo-600 px-3.5 py-2.5 text-center text-sm font-semibold text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">Enviar</button>
|
152 | 150 | </div>
|
|
0 commit comments