-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
128 lines (128 loc) · 3.44 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
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Saravanapriyan - Web designer, UI developer</title>
<meta name='description' content=''>
<meta name='' content=''>
<meta name=viewport content='width=device-width, initial-scale=1'>
<link rel='stylesheet' href='css/bs-grid.css'>
<link rel='stylesheet' href='css/styles.css'>
</head>
<body>
<div class="page-wrapper">
<div class="container-fluid">
<div class="row full-page">
<div class="col-md-6 text-center">
<h1 class="page-title">
<span>
Hello.<br>
I am Saravanapriyan,<br>
<div>
<span class="typed"></span>
</div>
<a class="contact" href="https://drive.google.com/folderview?id=0B4V9Li5VmqqQaWZGN1JKTld0NW8&usp=sharing" target="_blank">🎨 Portfolio</a>
<button class="contact feedback" onclick="toggleModal()">⭐ Feedback?</button>
<br>
<a class="contact" href="mailto:saravanapriyanm@gmail.com">saravanapriyanm@gmail.com</a>
</span>
</h1>
</div>
<div class="col-md-6 tags-wrap">
<div class="tags">
<h1 class="text-center">SKILLS</h1>
<ul>
<li class="saturn">HTML</li>
<li>CSS</li>
<li>Javascript</li>
<li>VueJs</li>
<li>Angular</li>
<li>Flutter</li>
<li>REST</li>
<li>GulpJS</li>
<li>Node</li>
<li>XD/Figma</li>
<li>Jasmine</li>
<li>GIT</li>
<li>MarkDown</li>
<li>Photoshop</li>
<li>Illustrator</li>
<li>Indesign</li>
</ul>
</div>
</div>
</div>
<!-- <div class="row bg-1">
<div class="col-md-6"><div class="big-sym">?</div></div>
<div class="col-md-6">
<div class="section-content">
<h2>I am web designer<em>(but not limited to it)</em>.</h2>
<p>
<strong>Few things I love:</strong>
<ul>
<li>Beautiful, well structured code</li>
<li>Minimal, data-driven design</li>
<li>Automation</li>
</ul>
</p>
</div>
</div>
</div> -->
</div>
</div>
<div id="modal" style="display:none">
<div>
<div class="flex">
<button onclick="customAlert(true)">
You are good.
</button>
<div class="hiccup">
<button onclick="customAlert(false)">
You are lame.
</button>
</div>
</div>
<a href="javascript:customAlert(true)" class="big-sym">Close (Also means I am good)</a>
</div>
</div>
<div id="alert" style="display:none;"> </div>
<script src="https://cdn.jsdelivr.net/npm/typed.js@2.0.11"></script>
<script>
var options = {
strings: [
'<> Front-end Developer',
'{} CSS Enthusiast',
'✂ Occassional Designer',
'❤ Casual Gamer',
],
typeSpeed: 75,
loop: true
};
var typed = new Typed('.typed', options);
var modalShown = false;
function toggleModal(){
if(modalShown){
document.getElementById('modal').style.display = 'none';
modalShown = false;
} else{
document.getElementById('modal').style.display = 'flex';
modalShown = true;
}
}
function customAlert(isGood){
if(isGood){
document.getElementById('alert').innerHTML = 'Thanks. That means a lot.';
toggleModal();
} else{
document.getElementById('alert').innerHTML = 'Isn\'t it hard to lie?';
toggleModal();
}
document.getElementById('alert').style.display = 'block';
setTimeout(()=>{
console.log('timeout');
document.getElementById('alert').style.display = 'none';
}, 5000);
}
</script>
</body>
</html>