-
Notifications
You must be signed in to change notification settings - Fork 1
/
contact.html
129 lines (124 loc) · 8.05 KB
/
contact.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="https://cdn.tailwindcss.com"></script>
<title>Ash's Site</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="shortcut icon" href="images/log.png">
</head>
<body>
<header class="text-gray-400 bg-gray-900 body-font">
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center">
<a class="flex title-font font-medium items-center text-white mb-4 md:mb-0" href="index.html">
<img src="images/log.png" height="100px" width="90px">
<span class="ml-3 text-xl">Ashmit's Codes</span>
</a>
<nav class="md:mr-auto md:ml-4 md:py-1 md:pl-4 md:border-l md:border-gray-700 flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:text-white" href="index.html">Home</a>
<a class="mr-5 hover:text-white" href="about.html" target="_blank">About</a>
<a class="mr-5 hover:text-white" href="webpages.html">Webpages</a>
<a class="mr-5 hover:text-white" href="contact.html">Contact</a>
<audio id="audio-element" src="music/theme1.m4a"></audio>
<button id="toggle-button">
<img class="play-icon" src="https://readme-typing-svg.demolab.com?font=Marck+Script&duration=4500&pause=102500&color=22C55E¢er=true&vCenter=true&width=435&lines=Click+here+to+Enable+Music" alt="Typing SVG" style="display: inline;" />
<img class="pause-icon" src="https://readme-typing-svg.demolab.com?font=Marck+Script&duration=4500&pause=102500&color=22C55E¢er=true&vCenter=true&width=435&lines=Pause" alt="Typing SVG" style="display: none;" />
</button>
<script>
const audioElement = document.getElementById("audio-element");
const toggleButton = document.getElementById("toggle-button");
const playIcon = document.querySelector(".play-icon");
const pauseIcon = document.querySelector(".pause-icon");
toggleButton.addEventListener("click", () => {
if (audioElement.paused) {
playIcon.style.display = "none";
pauseIcon.style.display = "inline-block";
audioElement.play();
} else {
playIcon.style.display = "inline-block";
pauseIcon.style.display = "none";
audioElement.pause();
}
});
</script>
</nav>
<button class="inline-flex items-center bg-red-800 border-0 py-1 px-3 focus:outline-none hover:bg-red-700 rounded text-base mt-4 md:mt-0"><a href="https://www.w3schools.com/html/" target="_blank"> Explore HTML</a>
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-4 h-4 ml-1" viewBox="0 0 24 24">
<path d="M5 12h14M12 5l7 7-7 7"></path>
</svg>
</button>
</div>
</header>
<hr>
<section class="text-gray-400 bg-gray-900 body-font relative">
<div class="container px-5 py-24 mx-auto">
<div class="flex flex-col text-center w-full mb-12">
<h1 class="sm:text-3xl text-2xl font-medium title-font mb-4 text-white">Contact Us</h1>
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">I always try to respond and take action. Thank you for giving me your time.</p>
</div>
<form action="https://api.web3forms.com/submit" method="POST">
<input type="hidden" name="access_key" value="35b86778-6ba7-4a6b-af79-afd0003a24bc">
<div class="lg:w-1/2 md:w-2/3 mx-auto">
<div class="flex flex-wrap -m-2">
<div class="p-2 w-1/2">
<div class="relative">
<label for="name" class="leading-7 text-sm text-gray-400">Name</label>
<input type="text" id="name" name="name" required class="w-full bg-gray-800 bg-opacity-40 rounded border border-gray-700 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out">
</div>
</div>
<div class="p-2 w-1/2">
<div class="relative">
<label for="email" class="leading-7 text-sm text-gray-400">Email</label>
<input type="email" id="email" name="email" required class="w-full bg-gray-800 bg-opacity-40 rounded border border-gray-700 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 text-base outline-none text-gray-100 py-1 px-3 leading-8 transition-colors duration-200 ease-in-out">
</div>
</div>
<div class="p-2 w-full">
<div class="relative">
<label for="message" class="leading-7 text-sm text-gray-400">Message</label>
<textarea id="message" name="message" required class="w-full bg-gray-800 bg-opacity-40 rounded border border-gray-700 focus:border-green-500 focus:bg-gray-900 focus:ring-2 focus:ring-green-900 h-32 text-base outline-none text-gray-100 py-1 px-3 resize-none leading-6 transition-colors duration-200 ease-in-out"></textarea>
</div>
</div>
<!-- <div class="h-captcha" data-captcha="true"></div> -->
<div class="p-2 w-full">
<button class="flex mx-auto text-white bg-green-500 border-0 py-2 px-8 focus:outline-none hover:bg-green-600 rounded text-lg" id="ImageHosting" value="To Image Hosting">Submit</button>
</div>
</form>
<script src="https://web3forms.com/client/script.js" async defer></script>
<div class="p-2 w-full pt-8 mt-8 border-t border-gray-800 text-center">
<a class="text-green-400">[email protected]</a>
<p class="leading-normal my-5">Yamuna Vihar
<br>New Delhi, India 110053
</p>
<span class="inline-flex">
<a class="text-gray-500" href="https://www.facebook.com/ashmit.mehta.142/" target="_blank">
<svg fill="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
<path d="M18 2h-3a5 5 0 00-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 011-1h3z"></path>
</svg>
</a>
<a class="ml-4 text-gray-500" href="https://www.instagram.com/mehta.ashmit/" target="_blank">
<svg fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" class="w-5 h-5" viewBox="0 0 24 24">
<rect width="20" height="20" x="2" y="2" rx="5" ry="5"></rect>
<path d="M16 11.37A4 4 0 1112.63 8 4 4 0 0116 11.37zm1.5-4.87h.01"></path>
</svg>
</a>
<a class="ml-3 text-gray-400" href="https://linkedin.com/in/ashmit-mehta" target="_blank">
<svg fill="currentColor" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="0"
class="w-5 h-5" viewBox="0 0 24 24">
<path stroke="none"
d="M16 8a6 6 0 016 6v7h-4v-7a2 2 0 00-2-2 2 2 0 00-2 2v7h-4v-7a6 6 0 016-6zM2 9h4v12H2z"></path>
<circle cx="4" cy="4" r="2" stroke="none"></circle>
</svg>
</a>
<a class="ml-3 text-gray-400" href="https://github.com/Ash-codes18" target="_blank">
<i class="fa fa-github" style="font-size:24px"></i>
</a>
</span>
</div>
</div>
</div>
</div>
</section>
</body>
</html>