Skip to content

Commit

Permalink
creacion mailto
Browse files Browse the repository at this point in the history
  • Loading branch information
gutmorgen committed Nov 16, 2023
1 parent fe1874a commit 2053acc
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion adit_agro.html
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion adit_aliment.html
Original file line number Diff line number Diff line change
Expand Up @@ -576,7 +576,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion adit_farm.html
Original file line number Diff line number Diff line change
Expand Up @@ -672,7 +672,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion agro.html
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion alimentos.html
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
File renamed without changes.
File renamed without changes.
21 changes: 10 additions & 11 deletions contacto.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,31 +107,31 @@
<h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">Contactar un vededor</h2>
<p class="mt-2 text-lg leading-8 text-gray-600">En las próximas 24h será atendido por uno de nuestros vededores.</p>
</div>
<form action="" id="form" class="mx-auto mt-16 max-w-xl sm:mt-20">
<form action="mailto:junavi2@gmail.com?subject=pedido de reparación" id="form" method="POST" enctype="text/plain" class="mx-auto mt-16 max-w-xl sm:mt-20">
<div class="grid grid-cols-1 gap-x-8 gap-y-6 sm:grid-cols-2">
<div>
<label for="subject" class="block text-sm font-semibold leading-6 text-gray-900">Nombre</label>
<label for="first-name" class="block text-sm font-semibold leading-6 text-gray-900">Nombre</label>
<div class="mt-2.5">
<input required type="text" name="first-name" id="subject" 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">
<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">
</div>
</div>
<div>
<label for="subject" class="block text-sm font-semibold leading-6 text-gray-900">Apellido</label>
<label for="last-name" class="block text-sm font-semibold leading-6 text-gray-900">Apellido</label>
<div class="mt-2.5">
<input required type="text" name="last-name" id="subject" 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 ">
<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 ">
</div>
</div>

<div class="sm:col-span-2">
<label for="subject" class="block text-sm font-semibold leading-6 text-gray-900">Email</label>
<label for="email" class="block text-sm font-semibold leading-6 text-gray-900">Email</label>
<div class="mt-2.5">
<input required type="email" name="email" id="subject" 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 ">
<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 ">
</div>
</div>
<div class="sm:col-span-2">
<label for="subject" class="block text-sm font-semibold leading-6 text-gray-900">N&uacute;mero de tel&eacute;fono</label>
<label for="phone-number" class="block text-sm font-semibold leading-6 text-gray-900">N&uacute;mero de tel&eacute;fono</label>
<div class="mt-2.5">
<input required type="tel" name="phone-number" id="subject" 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&iacute;s)-(&Aacute;rea)-(N&uacute;mero de Tel&eacute;fono)">
<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&iacute;s)-(&Aacute;rea)-(N&uacute;mero de Tel&eacute;fono)">
</div>
</div>
<div class="sm:col-span-2">
Expand All @@ -147,7 +147,6 @@ <h2 class="text-3xl font-bold tracking-tight text-gray-900 sm:text-4xl">Contacta
</div>
<div class="mt-10">
<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>
<a id="emailA"></a>
</div>
</form>
</div>
Expand Down Expand Up @@ -228,7 +227,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<!-- Cloudflare Web Analytics -->
<script defer src='https://static.cloudflareinsights.com/beacon.min.js' data-cf-beacon='{"token": "40955c324b594ab8a41af51aae6819c2"}'></script>
<!-- End Cloudflare Web Analytics -->
<script src="sendEmail.js"></script>

<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion farmacia.html
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ <h1 class=" max-w-lg text-xl font-semibold tracking-tight text-black xl:text-2xl
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/1.8.1/flowbite.min.js"></script>
<script src="node_modules/@material-tailwind/html@latest/scripts/ripple.js"></script>
<script src="../path/to/flowbite/dist/flowbite.min.js"></script>
<script src="node_modules/flowbite/dist/flowbite.min.js"></script>
<script src="https://cdn.tailwindcss.com"></script>
</body>
</html>
3 changes: 2 additions & 1 deletion tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
module.exports = {
content: [
"./src/**/*.{html,js}",
"./node_modules/flowbite/**/*.js"
"./node_modules/flowbite/**/*.js",
"./node_modules/@material-tailwind/**/*.js"
],
theme: {
extend: {},
Expand Down

0 comments on commit 2053acc

Please sign in to comment.