-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
128 lines (125 loc) · 4.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Envía mensajes de Whatsapp sin agendar números"
/>
<title>Wa Link</title>
<script src="https://cdn.tailwindcss.com"></script>
<script src="scripts.js" defer></script>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Montserrat&display=swap"
rel="stylesheet"
/>
<link rel="icon" type="x-icon" href="/img/wa-link-enri.ico" />
<link
rel="stylesheet"
href="https://use.fontawesome.com/releases/v5.7.1/css/all.css"
integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr"
crossorigin="anonymous"
/>
<script>
tailwind.config = {
theme: {
fontFamily: {
sans: ["Montserrat"],
},
},
};
</script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/css/intlTelInput.css"
/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.8/js/intlTelInput.min.js"></script>
</head>
<body class="font-Montserrat">
<nav class="bg-teal-500 p-7">
<p class="text-white">🆕 Nuevo: área de mensaje ampliada</p>
</nav>
<div id="info" class="m-10">
<h1 class="text-4xl font-bold">Envía mensajes de Whatsapp</h1>
<h2 class="text-3xl mt-4">Sin agendar números</h2>
</div>
<div id="message-form" class="mt-14 mx-10">
<form class="w-full h-auto" action="">
<div class="md:flex md:items-center mb-6">
<div class="md:w-1/3">
<label
class="block text-gray-500 font-bold md:text-right mb-1 md:mb-0 pr-4"
for="inline-full-name"
>
Número del contacto:
</label>
</div>
<div class="md:w-2/3">
<input
class="bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full py-2 px-4 text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-purple-500"
id="contact-number"
type="tel"
name="contact-number"
/>
</div>
</div>
<div class="md:flex md:items-center mb-6">
<div class="md:w-1/3">
<label
class="block text-gray-500 font-bold md:text-right mb-1 md:mb-0 pr-4"
for="message"
>
Mensaje
</label>
</div>
<div class="md:w-2/3">
<textarea
id="message"
name="message"
rows="4"
cols="30"
placeholder="Hola. Bienvenido a WaLink!"
class="bg-gray-200 appearance-none border-2 border-gray-200 rounded w-full py-6 px-4 text-gray-700 leading-tight focus:outline-none focus:bg-white focus:border-purple-500"
></textarea>
</div>
</div>
<div class="md:flex md:items-center">
<div class="md:w-1/3"></div>
<div class="md:w-2/3">
<button
class="shadow bg-teal-500 hover:bg-teal-700 focus:shadow-outline focus:outline-none text-white font-bold py-2 px-6 rounded"
type="button"
>
Enviar
</button>
</div>
</div>
</form>
</div>
<div class="m-6 text-center bg-gray-200 text-sm p-2">
<div class="">
<a
class="text-blue-800 underline-offset-2 mr-3"
href="https://github.com/enrique-zarate"
target="_blank"
><i class="fab fa-github"></i> GitHub</a
>
<a
class="text-blue-800 underline-offset-2"
href="https://twitter.com/enri_zarate"
target="_blank"
><i class="fab fa-twitter"></i> Twitter</a
>
</div>
<p class="text-slate-700 mt-2">© 2022 Enrique Zárate.</p>
</div>
<div
class="w-32 h-12 bg-gray-200"
style="display: none"
id="alert-info"
></div>
</body>
</html>