-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
193 lines (180 loc) · 8.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" />
<link rel="shortcut icon" href="assets/dakshlogo.svg" type="image/x-icon" />
<meta name="description"
content="Personal website of Daksh P. Jain - a programmer and photographer from New Delhi, India." />
<meta name="color-scheme" content="dark" />
<meta name="keywords" content="Daksh P. Jain, Daksh Jain, Daksh, Daksh777, Photographer, Programmer" />
<meta name="title" content="Home - Daksh P. Jain" />
<meta property="og:title" content="Home - Daksh P. Jain" />
<meta property="og:description"
content="Personal website of Daksh P. Jain - a programmer and photographer from New Delhi, India." />
<meta property="og:image" content="assets/banner.png" />
<meta property="og:url" content="https://daksh.eu.org" />
<meta name="twitter:card" content="summary_large_image" />
<meta property="og:site_name" content="Home - Daksh P. Jain" />
<title>Home - Daksh P. Jain</title>
<link rel="stylesheet" href="bootstrap.min.css" />
<link rel="stylesheet" href="dropdown.css" />
<link rel="stylesheet" href="icons.css" />
<link rel="preload" as="style" href="main-styles.css" />
<link rel="stylesheet" href="main-styles.css" type="text/css" />
</head>
<body style="background-color: #232323">
<section class="menu navigation-bar">
<nav class="navbar navbar-dropdown navbar-fixed-top navbar-expand-lg">
<div class="container-fluid">
<div class="navbar-icon">
<span class="navbar-logo">
<img src="assets/dakshlogo.svg" alt="Logo" style="height: 3rem" />
</span>
</div>
<button id="burger" onclick="clickedBurger()" class="navbar-toggler" type="button"
data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarNavAltMarkup"
aria-expanded="false" aria-label="Toggle navigation">
<div class="hamburger">
<span></span>
<span></span>
<span></span>
<span></span>
</div>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav nav-dropdown" data-app-modern-menu="true">
<li class="nav-item">
<a class="nav-link link text-primary display-4" href="index.html">
Home</a>
</li>
<li class="nav-item">
<a class="nav-link link text-primary display-4" href="gallery.html">Gallery</a>
</li>
<li class="nav-item">
<a class="nav-link link text-primary display-4" href="projects.html">Projects</a>
</li>
<li class="nav-item">
<a class="nav-link link text-primary display-4" href="about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link link text-primary display-4" href="contact.html">Contact</a>
</li>
</ul>
</div>
</div>
</nav>
</section>
<div class="animate">
<section class="index-page index-fullscreen">
<div class="align-center container">
<div class="row justify-content-center">
<div class="col-12 col-lg-12">
<img class="home-photo" src="assets/headshot.png" />
<h1 class="section-title white-text font-3 display-1">
<strong>Hi, I'm Daksh P. Jain</strong>
</h1>
<p class="typewriter normal-text white-text display-2">
<span
data-text="Python & Web Developer | Figma Enthusiast | Organizing @ PyDelhi | GitHub Campus Expert"></span>
<br /><br />
</p>
<div class="social-row">
<div class="socials">
<a href="https://www.linkedin.com/in/daksh777" target="_blank">
<span class="iconfont icon-linkedin"></span>
</a>
</div>
<div class="socials">
<a href="https://twitter.com/0xDPJ" target="_blank">
<span class="iconfont icon-twitter"></span>
</a>
</div>
<div class="socials">
<a href="https://instagram.com/dakshjain042" target="_blank">
<span class="iconfont icon-instagram"></span>
</a>
</div>
<div class="socials">
<a href="https://github.com/Daksh777" target="_blank">
<span class="icon-github iconfont"></span>
</a>
</div>
<div class="socials">
<a href="mailto:[email protected]" target="_blank">
<span class="iconfont icon-email"></span>
</a>
</div>
<div class="socials">
<a href="https://t.me/Daksh777" target="_blank">
<span class="iconfont icon-telegram"></span>
</a>
</div>
</div>
</div>
</div>
</div>
</section>
</div>
<!-- Cloudflare Web Analytics -->
<script defer src="https://static.cloudflareinsights.com/beacon.min.js"
data-cf-beacon='{"token": "ad4eae2406134f569cbb24f4b1506c17"}'></script>
<!-- End Cloudflare Web Analytics -->
<script src="jquery.min.js"></script>
<script src="bootstrap.min.js"></script>
<script src="nav-dropdown.js"></script>
<script src="navbar-dropdown.js"></script>
<section class="footer">
<div class="container">
<div class="media-container-row align-center white-text">
<div class="col-12">
<p class="normal-text font-0 display-7">
Copyright © Daksh P. Jain. All Rights Reserved
</p>
</div>
</div>
</div>
</section>
<script>
var span = document.querySelector(".typewriter span");
var textArr = span.getAttribute("data-text").split(" | ");
var maxTextIndex = textArr.length;
var sPerChar = 0.1;
var sBetweenWord = 1;
var textIndex = 0;
typing(textIndex, textArr[textIndex]);
function typing(textIndex, text) {
var charIndex = 0;
var maxCharIndex = text.length - 1;
var typeInterval = setInterval(function () {
span.innerHTML += text[charIndex];
if (charIndex == maxCharIndex) {
clearInterval(typeInterval);
setTimeout(function () {
deleting(textIndex, text);
}, sBetweenWord * 1000);
} else {
charIndex += 1;
}
}, sPerChar * 1000);
}
function deleting(textIndex, text) {
var minCharIndex = 0;
var charIndex = text.length - 1;
var typeInterval = setInterval(function () {
span.innerHTML = text.substr(0, charIndex);
if (charIndex == minCharIndex) {
clearInterval(typeInterval);
textIndex + 1 == maxTextIndex ? (textIndex = 0) : (textIndex += 1);
setTimeout(function () {
typing(textIndex, textArr[textIndex]);
}, sBetweenWord * 1000);
} else {
charIndex -= 1;
}
}, sPerChar * 1000);
}
</script>
</body>
</html>