-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
395 lines (315 loc) · 15.7 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Deep Menpara</title>
<link href="CSS/skills.css">
<link href="CSS/preloader.css" rel="stylesheet">
<link href="CSS/nav.css" rel="stylesheet">
<link href="CSS/name.css" rel="stylesheet">
<link rel="stylesheet" href="CSS/skills.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<script src="jquery-3.3.1.min.js"></script>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<link href="https://fonts.googleapis.com/css?family=Bungee+Shade|Monoton|Nosifer|Rye|Shojumaru|Vast+Shadow&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Trade+Winds&display=swap" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<style>
.carousel-inner img {
width: 100%;
height: 53vw;
}
.flowgrad
{
background: linear-gradient(90deg,#9400D3, #4B0082,#0000FF,#00FF00,#bfbf00,#FF7F00,#FF0000, #9400D3);
background-size: 400%;
animation: animate 5s linear infinite;
}
@keyframes animate
{
0%
{
background-position: 0;
}
100%
{
background-position: 400%;
}
}
.nav
{
position: -webkit-sticky;
position: sticky;
top: 0;
padding: 0.4vw;
border-bottom: 0.1vw solid rgb(255, 249, 246);
box-shadow: 3px 3px 10px black;
padding-left: 5px;
border-radius: 0px;
font-size: 20px;
margin-top: -11px;
}
canvas {
border: 1px soild black;
}
h1 {
display: inline-block;
padding: .3em;
font-family: 'Megrim', cursive;
position: absolute;
top: 20%;
left: 50%;
user-select: none;
transform: translate(-50%,-50%);
color: rgba(255,255,255,.68);
}
</style>
</head>
<body style="overflow-x: hidden">
<div id="preloader" class="preldr">
<div class="hex-border">
<div class="hexagons">
<div class="hexagon"></div>
<div class="hexagon"></div>
<div class="hexagon"></div>
<div class="hexagon"></div>
<div class="hexagon"></div>
<div class="hexagon"></div>
<div class="hexagon"></div>
</div>
</div>
</div>
<section class="et-hero-tabs">
<svg style="z-index: 29;background-color:rgba(238,0,198,0);height: 11vw;font-size:8vw;width: 85vw;"><!-- Symbol with text--><symbol id="s-text"><text class="text--line" text-anchor="middle" x="50%" y="50%" dy=".35em"></text></symbol><!-- Clippath with text--><clippath id="cp-text"><text class="text--line" text-anchor="middle" x="50%" y="50%" dy=".35em">Deep Menpara</text></clippath><!-- Group for shadow--><g class="shadow" clip-path="url(#cp-text)"><rect class="anim-shape anim-shape--shadow" width="100%" height="100%"></rect></g><!-- Group with clippath for text--><g class="colortext" clip-path="url(#cp-text)"><rect class="anim-shape" width="100%" height="100%"></rect><rect class="anim-shape" width="90%" height="100%"></rect><rect class="anim-shape" width="80%" height="100%"></rect><rect class="anim-shape" width="70%" height="100%"></rect><rect class="anim-shape" width="60%" height="100%"></rect><rect class="anim-shape" width="50%" height="100%"></rect><rect class="anim-shape" width="40%" height="100%"></rect><rect class="anim-shape" width="30%" height="100%"></rect><rect class="anim-shape" width="20%" height="100%"></rect><rect class="anim-shape" width="10%" height="100%"></rect></g><!-- Transparent copy of text to keep patterned text selectable--><use class="text--transparent" xlink:href="#s-text"></use></svg>
<!--<canvas id="canvas" style="width: 60%;height: 50%; position: absolute;top: -10px;left: -0px;z-index: 2;margin-right: -40px;"></canvas>-->
<!-- <div id="wrap" style="width: 60%;height: 50%; position: absolute;top: -10px;left: -0px;z-index: 2;margin-right: -40px;">
<canvas id="canvas">
canvas not support
</canvas>
</div>-->
<canvas id="canvas" style="width: 100%;height: 100%; position: absolute;top: -10px;left: -0px;z-index: 2;margin-right: -40px;"></canvas>
<h1 style="z-index: 2">Click Anywhere to Blast</h1>
</section>
<nav class="navbar navbar-expand-sm bg-dark navbar-dark sticky-top nav flowgrad">
<a class="navbar-brand" href="#" style="color: #fff;font-weight: bold">PORTFOLIO</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="collapsibleNavbar">
<ul class="navbar-nav">
<li class="nav-item"><a class="nav-link" href="#skills" style="color: white">Skills</a></li>
<li class="nav-item"><a class="nav-link" href="#tab-react" style="color: white">About Me</a></li>
<li class="nav-item"><a class="nav-link" href="#" style="color: white">Contact Me</a></li>
</ul>
</div>
</nav>
<div id="demo" class="carousel slide" data-ride="carousel" style="box-shadow: 3px 3px 9px #000000;text-align: center;background: linear-gradient(170deg, #891e8b,#1CB5E0,#000046,#3fe0c1);;padding: 10px 10px;">
<!-- Indicators -->
<ul class="carousel-indicators">
<li data-target="#demo" data-slide-to="0" class="active"></li>
<li data-target="#demo" data-slide-to="1"></li>
<li data-target="#demo" data-slide-to="2"></li>
</ul>
<!-- The slideshow -->
<div class="carousel-inner">
<div class="carousel-item active" >
<img src="a.jpg" alt="Image Lost!!!" >
</div>
<div class="carousel-item">
<img src="d.jpg" alt="Image Lost!!!" >
</div>
<div class="carousel-item">
<img src="e.jpg" alt="Image Lost!!!" >
</div>
</div>
<!-- Left and right controls -->
<a class="carousel-control-prev" href="#demo" data-slide="prev">
<span class="carousel-control-prev-icon"></span>
</a>
<a class="carousel-control-next" href="#demo" data-slide="next">
<span class="carousel-control-next-icon"></span>
</a>
</div>
<div class="container-fluid" style="padding-left: 40px;padding-bottom: 10px;background: white;margin-top: 50px;" id="skills">
<div class="row align-middle">
<div class="col-md-3 col-lg-4 column">
<div class="card gr-1" style="border: none;">
<div class="txt">
<h1 class="skillh1 skillah1">APP DEVELOPMENT</h1>
<p class="skillp">Mobile app development is the act or process by which a mobile app is developed for mobile devices, such as personal digital assistants, enterprise digital assistants or mobile phones. ... The user is often the focus of interaction with their device, and the interface entails components of both hardware and software.</p>
</div>
<a href="#" class="skilla">HOVER / TAP</a>
<div class="ico-card">
<i class="fa fa-android skilli"></i>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 column">
<div class="card gr-2" style="border: none;">
<div class="txt">
<h1 class="skillh1 skillbh1">WEB DEVELOPMENT</h1>
<p class="skillp">Web development includes many types of web content creation. Some examples include hand coding web pages in a text editor, building a website in a program like Dreamweaver, and updating a blog via a blogging website. In recent years, content management systems like WordPress, Drupal, and Joomla have also become popular means of web development.</p>
</div>
<a href="#" class="skilla">HOVER / TAP</a>
<div class="ico-card">
<i class="fa fa-chrome skilli"></i>
</div>
</div>
</div>
<div class="col-md-6 col-lg-4 column">
<div class="card gr-3" style="border: none;">
<div class="txt">
<h1 class="skillh1 skillch1">GRAPHICS DESIGNING</h1>
<p class="skillp">Graphic design is the craft of creating visual content to communicate messages. Applying visual hierarchy and page layout techniques, graphic designers use typography and pictures to meet users’ specific needs and focus on the logic of displaying elements in interactive designs to optimize the user experience.</p>
</div>
<a href="#" class="skilla">HOVER / TAP</a>
<div class="ico-card">
<i class="fa fa-empire skilli"></i>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript" src="JS/preloader.js"></script>
<script type="text/javascript" src="JS/navigation.js"></script>
<script src="three.js-master/build/three.js"></script>
<!--<script type="text/javascript" src="JS/main_anim.js"></script>-->
<script type="text/javascript" src="JS/name.js"></script>
<script src='https://cdnjs.cloudflare.com/ajax/libs/vue/2.0.1/vue.min.js'></script><script src="./script.js"></script>
<script type="text/javascript" src="JS/skills.js"></script>
<script>
"use strict";
// Little Canvas things
var canvas = document.querySelector("#canvas"),
ctx = canvas.getContext('2d'); // Set Canvas to be window size
canvas.width = window.innerWidth;
canvas.height = window.innerHeight; // Configuration, Play with these
var config = {
particleNumber: 800,
maxParticleSize: 10,
maxSpeed: 40,
colorVariation: 50
}; // Colors
var colorPalette = {
bg: {
r: 12,
g: 9,
b: 29
},
matter: [{
r: 36,
g: 18,
b: 42
}, // darkPRPL
{
r: 78,
g: 36,
b: 42
}, // rockDust
{
r: 252,
g: 178,
b: 96
}, // solorFlare
{
r: 253,
g: 238,
b: 152
} // totesASun
]
}; // Some Variables hanging out
var particles = [],
centerX = canvas.width / 2,
centerY = canvas.height / 2,
drawBg,
// Draws the background for the canvas, because space
drawBg = function drawBg(ctx, color) {
ctx.fillStyle = "rgb(" + color.r + "," + color.g + "," + color.b + ")";
ctx.fillRect(0, 0, canvas.width, canvas.height);
}; // Particle Constructor
var Particle = function Particle(x, y) {
// X Coordinate
this.x = x || Math.round(Math.random() * canvas.width); // Y Coordinate
this.y = y || Math.round(Math.random() * canvas.height); // Radius of the space dust
this.r = Math.ceil(Math.random() * config.maxParticleSize); // Color of the rock, given some randomness
this.c = colorVariation(colorPalette.matter[Math.floor(Math.random() * colorPalette.matter.length)], true); // Speed of which the rock travels
this.s = Math.pow(Math.ceil(Math.random() * config.maxSpeed), .7); // Direction the Rock flies
this.d = Math.round(Math.random() * 360);
}; // Provides some nice color variation
// Accepts an rgba object
// returns a modified rgba object or a rgba string if true is passed in for argument 2
var colorVariation = function colorVariation(color, returnString) {
var r, g, b, a, variation;
r = Math.round(Math.random() * config.colorVariation - config.colorVariation / 2 + color.r);
g = Math.round(Math.random() * config.colorVariation - config.colorVariation / 2 + color.g);
b = Math.round(Math.random() * config.colorVariation - config.colorVariation / 2 + color.b);
a = Math.random() + .5;
if (returnString) {
return "rgba(" + r + "," + g + "," + b + "," + a + ")";
} else {
return {
r: r,
g: g,
b: b,
a: a
};
}
}; // Used to find the rocks next point in space, accounting for speed and direction
var updateParticleModel = function updateParticleModel(p) {
var a = 180 - (p.d + 90); // find the 3rd angle
p.d > 0 && p.d < 180 ? p.x += p.s * Math.sin(p.d) / Math.sin(p.s) : p.x -= p.s * Math.sin(p.d) / Math.sin(p.s);
p.d > 90 && p.d < 270 ? p.y += p.s * Math.sin(a) / Math.sin(p.s) : p.y -= p.s * Math.sin(a) / Math.sin(p.s);
return p;
}; // Just the function that physically draws the particles
// Physically? sure why not, physically.
var drawParticle = function drawParticle(x, y, r, c) {
ctx.beginPath();
ctx.fillStyle = c;
ctx.arc(x, y, r, 0, 2 * Math.PI, false);
ctx.fill();
ctx.closePath();
}; // Remove particles that aren't on the canvas
var cleanUpArray = function cleanUpArray() {
particles = particles.filter(function (p) {
return p.x > -100 && p.y > -100;
});
};
var initParticles = function initParticles(numParticles, x, y) {
for (var i = 0; i < numParticles; i++) {
particles.push(new Particle(x, y));
}
particles.forEach(function (p) {
drawParticle(p.x, p.y, p.r, p.c);
});
}; // That thing
window.requestAnimFrame = function () {
return window.requestAnimationFrame || window.webkitRequestAnimationFrame || window.mozRequestAnimationFrame || function (callback) {
window.setTimeout(callback, 1000 / 60);
};
}(); // Our Frame function
var frame = function frame() {
// Draw background first
drawBg(ctx, colorPalette.bg); // Update Particle models to new position
particles.map(function (p) {
return updateParticleModel(p);
}); // Draw em'
particles.forEach(function (p) {
drawParticle(p.x, p.y, p.r, p.c);
}); // Play the same song? Ok!
window.requestAnimFrame(frame);
}; // Click listener
document.body.addEventListener("click", function (event) {
var x = event.clientX,
y = event.clientY;
cleanUpArray();
initParticles(config.particleNumber, x, y);
}); // First Frame
frame(); // First particle explosion
initParticles(config.particleNumber);
</script>
</body>
</html>