-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
117 lines (113 loc) · 3.16 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Abhishek Kalia</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="normalize.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/3.7.0/animate.min.css"
/>
<link rel="stylesheet" type="text/css" media="screen" href="main.css" />
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/2.0.2/TweenMax.min.js"></script>
</head>
<body>
<div class="home-grid">
<img src="images/0.jpeg" alt="My photo" class="my-image" width="100px" />
<div class="home-content">
<h1>Hi! I'm Abhishek</h1>
<div class="roles">
<h2>
<span class="line"
>A <span id="role">software engineer</span> working on building
<span id="work">sclabale apps</span></span
>
<span class="line"
>A <span id="role">UI designer</span> striving for
<span id="work">effective user experiences</span></span
>
<span class="line"
>A <span id="role">blogger</span> writing about
<span id="work">web tech</span></span
>
</h2>
</div>
<nav>
<div class="nav-item-dev">
<p>
<a href="https://github.com/kaliaabhishek"
><i data-feather="code" class="nav-icon"></i
><br />development</a
>
</p>
</div>
<div class="nav-item-des">
<p>
<a href="/new.html"
><i data-feather="image" class="nav-icon"></i><br />design</a
>
</p>
</div>
<div class="nav-item-hir">
<p>
<a href="/portfolio.html"
><i data-feather="briefcase" class="nav-icon"></i
><br />Portfolio</a
>
</p>
</div>
<div class="nav-item-con">
<p>
<a href="mailto:[email protected]"
><i data-feather="phone-call" class="nav-icon"></i><br />contact
me</a
>
</p>
</div>
</nav>
</div>
</div>
<script>
feather.replace();
var line = document.getElementsByClassName("line");
var tl = new TimelineLite({
onComplete: function() {
tl.restart();
}
});
TweenLite.defaultEase = Circ.easeInOut;
var time = 0.9;
var y = 100;
tl.add(
TweenMax.staggerFromTo(
line,
time,
{
opacity: 0,
y: y
},
{
opacity: 1,
y: 0
},
2
)
).add(
TweenMax.staggerTo(
line,
time,
{
delay: time,
opacity: 0,
y: -y
},
2
),
1.3
);
</script>
</body>
</html>