-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
228 lines (226 loc) · 10.9 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
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!doctype html>
<html lang="en" prefix="og: https://ogp.me/ns#">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#ffffff" />
<link
rel="icon"
type="image/png"
sizes="196x196"
href="/icons/favicon-196.png"
/>
<link
rel="shortcut icon"
type="image/x-icon"
href="/icons/favicon.ico"
/>
<link rel="apple-touch-icon" href="/icons/apple-icon-180.png" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="application-name" content="Happy Diwali Wishes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-title" content="Happy Diwali Wishes" />
<title>
Happy Diwali Image Maker in Tamil - இனிய தீபாவளி நல்வாழ்த்துக்கள்
</title>
<meta
name="description"
content="Happy Diwali Greeting Generator - Create Happy Diwali Greeting Wishes with your Name - Diwali Wishes in Tamil."
/>
<meta property="og:title" content="Happy Diwali Image Maker in Tamil" />
<meta
property="og:description"
content="Happy Diwali Greeting Generator - Create Happy Diwali Greeting Wishes with your Name - Diwali Wishes in Tamil."
/>
<meta property="og:type" content="image/png" />
<meta
property="og:image"
content="https://img.sanweb.info/dt/dt?name=your-name"
/>
<meta property="og:image:alt" content="Happy Diwali Greetings" />
<meta property="og:image:width" content="1080" />
<meta property="og:image:height" content="1080" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link rel="preconnect" href="https://cdn.jsdelivr.net" />
<link rel="preconnect" href="https://img.sanweb.info" />
<link rel="preconnect" href="https://www.googletagmanager.com" />
<link rel="manifest" href="/manifest.json" />
<meta
name="google-site-verification"
content="b0koExdwK4cybMVZwggKXV4WEYBFGKDQIYHczjQVm0k"
/>
<link rel="stylesheet" type="text/css" href="/css/style.css" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/toastify-js@1.12.0/src/toastify.min.css"
/>
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-16C4S2MMTJ"
></script>
<link rel="preconnect" href="https://cloud.umami.is" />
<script defer src="https://cloud.umami.is/script.js" data-website-id="d4d0e37d-eca6-4711-b702-016ba7b0c6ee"></script>
</head>
<body>
<div
class="min-h-screen px-4 py-16 mx-auto sm:px-6 lg:px-8 bg-gray-200"
>
<div class="max-w-lg mx-auto">
<div class="aspect-w-16 aspect-h-9">
<div style="font-family: 'Anek Tamil', sans-serif">
<canvas
class="w-full"
id="Canvas"
width="1080px"
height="1080px"
></canvas>
</div>
</div>
<div id="result"></div>
<hr class="h-px my-8 bg-green-500 border-0" />
<div
class="flex flex-wrap mt-4 mb-8 items-center justify-center"
style="overflow: auto"
role="group"
>
<button
class="rounded text-white bg-gradient-to-br from-green-500 to-green-400 hover:bg-gradient-to-bl font-bold rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 font-medium uppercase"
id="dw-share"
>
🎁 Share
</button>
<button
class="rounded text-white bg-gradient-to-br from-blue-500 to-blue-400 hover:bg-gradient-to-bl font-bold rounded-lg text-sm px-5 py-2.5 text-center mr-2 mb-2 font-medium uppercase"
id="clipboardButton"
>
📋 Copy
</button>
</div>
<form
method="get"
accept-charset="UTF-8"
class="p-8 mt-6 mb-0 space-y-4 rounded-lg shadow-2xl"
style="background-color: #94a3b8"
>
<div class="relative mt-1">
<input
type="text"
id="name"
name="name"
class="w-full p-4 pr-12 text-sm border-gray-200 rounded-lg shadow-sm text-lg"
placeholder="Your Name"
maxlength="30"
autocomplete="off"
required
/>
</div>
<button
type="submit"
class="block w-full px-5 py-3 text-lg font-medium text-gray-700 bg-orange-200 rounded-lg"
>
Create Now
</button>
</form>
<br />
<br />
<div
class="border-b border-gray-200 shadow-xl transition-shadow hover:shadow-lg overflow-auto"
>
<table class="divide-y divide-gray-300">
<thead class="bg-gray-50">
<tr>
<th
class="px-4 py-5 font-bold p-2 border-b bg-violet-500 text-white"
>
© Happy Diwali Wishes -
wishes.tamilwords.net
</th>
</tr>
</thead>
<tbody class="bg-white divide-y divide-gray-300">
<tr
class="whitespace-nowrap odd:bg-gray-100 hover:!bg-stone-200"
>
<td
class="bg-emerald-100 px-6 py-8 font-bold text-sm"
>
அனைத்து விதமான இன்பங்களும் <br />
உங்கள் குடும்பத்திற்கு <br />
வந்தடைய <br />
இனிய தீபாவளி நல்வாழ்த்துக்கள் <br /><br />
இந்த தீபத்திருநாள் முதல் <br />
குடும்பத்தில் <br />
ஒற்றுமை <br />
அமைதி <br />
ஆரோக்கியம் <br />
செல்வம் அனைத்தும் பெற்று <br />
மகிழ்ச்சியுடன் வாழ வாழ்த்துகள் <br />
இனிய தீபாவளி நல்வாழ்த்துக்கள்
<br /><br />
<p class="text-purple-900">
➡ Happy Diwali Wishes Tamil
</p>
<p class="text-purple-900">
➡ Tamil Happy Diwali Wishes
</p>
<p class="text-purple-900">
➡ Diwali Kavithai in Tamil - Diwali
Wishes in Tamil
</p>
<p class="text-purple-900">
➡ Diwali image Maker - Diwali Greeting
Generator
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<br />
</div>
<script type="module" src="/main.js"></script>
<script src="https://cdn.jsdelivr.net/npm/toastify-js@1.12.0/src/toastify.min.js"></script>
<script>
window.addEventListener('DOMContentLoaded', event => {
const dwshare = document.getElementById('dw-share');
const get_title = document.getElementsByTagName("title")[0];
const title = get_title.innerHTML
const pathname =
typeof window !== 'undefined' ? window.location.href : '';
const description = document
.querySelector("meta[name='description']")
.getAttribute('content');
if (dwshare) {
dwshare.addEventListener('click', () => {
if (navigator.share) {
navigator
.share({
title: title,
text: description,
url: pathname,
})
.then(() => {
console.log('Callback after sharing');
})
.catch(console.error);
} else {
Toastify({
text: 'Native Web Share is not supported in this browser - Try to Download image and share.',
duration: 2500,
close: true,
gravity: 'bottom',
position: 'center',
style: {
background: '#FC427B',
},
}).showToast();
}
});
}
});
</script>
</body>
</html>