-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.html
43 lines (43 loc) · 1.46 KB
/
template.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Malik Bagwala | Redirector</title>
<script src="https://cdn.tailwindcss.com"></script>
</head>
<body>
<section class="h-screen w-full bg-slate-900 text-slate-100">
<div
class="container mx-auto flex justify-content-center flex flex-col gap-4 h-full py-10"
>
<header>
<h1
class="inline-block bg-gradient-to-r from-pink-500 to-violet-500 bg-clip-text text-5xl font-bold text-transparent py-3"
>
Malik Bagwala
</h1>
<p>CTO @ Vesatogo, Learner, Techie and Fitness Freak.</p>
</header>
<div
class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4 h-full"
>
{{ range $key, $entry := .RedirectMap }} {{ if $entry.Display }}
<a
aria-label="{{$key}}"
target="_blank"
href="{{$entry.URL}}"
class="bg-slate-700 shadow-sm rounded-lg p-3 text-xl flex flex-col items-center justify-center gap-2 hover:bg-slate-800"
>
<h6
class="inline-block bg-gradient-to-r from-pink-400 to-violet-400 bg-clip-text font-bold text-transparent py-3"
>
{{$entry.Title}}
</h6>
</a>
{{ end }} {{ end }}
</div>
</div>
</section>
</body>
</html>