-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
158 lines (154 loc) · 8.99 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
<!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>
<!-- <script src="main.js"></script> -->
<!-- <script src="sound.js"></script> -->
<!-- <script src="improved_sound.js"></script> -->
<script src="Music_player.js"></script>
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css">
<link rel="shortcut icon" href="images/log.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Ash's Site</title>
</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">
<div align="right">
<!-- <iframe width="71" height="75" scrolling="no" frameborder="Yes" allow="autoplay" src="https://w.soundcloud.com/player/?url=https%3A//api.soundcloud.com/tracks/1444764334&color=%2322c55e&auto_play=true&hide_related=false&show_comments=false&show_user=false&show_reposts=false&show_teaser=false&visual=True"></iframe> -->
</div>
<br>
<br>
<br>
<center>
<img src="https://readme-typing-svg.herokuapp.com?font=Caveat&weight=600&size=100&duration=3500&pause=1200¢er=true&vCenter=true&width=1080&height=100&lines=Hey there! %2C+I'm+Ashmit;I'm+a+Software+Engineer+"alt="Typing SVG" align="center" /> </a>
</center>
<div class="halua">
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
<div
class="lg:flex-grow md:w-1/2 lg:pr-24 md:pr-16 flex flex-col md:items-start md:text-left mb-16 md:mb-0 items-center text-center">
<h1 class="title-font sm:text-4xl text-3xl mb-4 font-medium text-white"> Let's get ready to code!
</h1>
<p class="mb-8 leading-relaxed">Hi! I am Ashmit, a Btech. CSE student. This site will keep updating as my web
development journey progresses. Peace out.
<div class="flex justify-center">
<button
class="inline-flex text-white bg-cyan-500 border-0 py-2 px-6 focus:outline-none hover:bg-cyan-600 rounded text-lg"><a
href="https://github.com/Ash-codes18" target="_blank">Github</a></button>
<button
class="ml-4 inline-flex text-gray-400 bg-gray-800 border-0 py-2 px-6 focus:outline-none hover:bg-gray-700 hover:text-white rounded text-lg"><a
href="https://www.linkedin.com/in/ashmit-mehta" target="_blank">LinkedIn</a></button>
</div>
</div>
<div class="lg:max-w-lg lg:w-full md:w-1/2 w-5/6">
<img class="object-cover object-center rounded" alt="hero" src="https://source.unsplash.com/720x600/?coding">
</div>
</div>
</section>
<section class="text-gray-400 bg-gray-900 body-font">
<div class="container mx-auto flex px-5 py-24 md:flex-row flex-col items-center">
<div class="lg:max-w-lg lg:w-full md:w-1/2 w-5/6 md:mb-0 mb-10">
<!-- <img class="object-cover object-center rounded" alt="hero" src="https://dummyimage.com/720x600"> -->
<iframe src="https://spotify-github-profile.vercel.app/api/view?uid=qgud5fpnqqswx4pfad4e032i7&cover_image=true&theme=default&show_offline=false&background_color=121212" height="445" width="320"></iframe>
</div>
<div class="lg:flex-grow md:w-1/2 lg:pl-2 md:pl-1 flex flex-col md:items-start md:text-left items-center text-center">
<h1 class="title-font sm:text-4xl text-3xl mb-4 font-medium text-white"><strong>N O W   P L A Y I N G</strong>
</h1>
<p class="mb-8 leading-relaxed">To visit my Spotify Profile.</p>
<div class="flex justify-center">
<a href="https://open.spotify.com/user/qgud5fpnqqswx4pfad4e032i7?si=ef7b53aea3934027" target="_blank">
<button class="inline-flex text-white bg-green-500 border-0 py-2 px-6 focus:outline-none hover:bg-pink-600 rounded text-lg">Click here</button>
</a>
</div>
</div>
</div>
</section>
<footer class="text-gray-400 bg-gray-900 body-font">
<div class="container px-5 py-8 mx-auto flex items-center sm:flex-row flex-col">
<a class="flex title-font font-medium items-center md:justify-start justify-center text-white">
<img src="images/log.png" height="100px" width="90px">
<span class="ml-3 text-xl">Ash codesx</span>
</a>
<p class="text-sm text-gray-400 sm:ml-4 sm:pl-4 sm:border-l-2 sm:border-gray-800 sm:py-2 sm:mt-0 mt-4">© 2022
Ash_Writes —
<a href="" class="text-gray-500 ml-1" target="_blank"
rel="noopener noreferrer">@ashmitmehta</a>
</p>
<span class="inline-flex sm:ml-auto sm:mt-0 mt-4 justify-center sm:justify-start">
<a class="text-gray-400" 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-3 text-gray-400" 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>
<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>
</footer>
</body>
</html>