-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
136 lines (135 loc) · 6.73 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
<!DOCTYPE html>
<html lang="en">
<head profile="http://www.w3.org/2005/10/profile">
<link href="https://fonts.googleapis.com/css?family=Lato:100,200,300,400,700,900" rel="stylesheet">
<meta name="Description" content="Author: Lukasz Szczepanski, Copyrights: Lukasz Szczepanski">
<title>szczepan.me</title>
<link rel="icon" type="image/png" href="images/szczepan_ico.png"/>
<link rel="stylesheet" href="./css/styles.css" media="screen">
<script>let exports = {}</script>
<script src="./dist/js/canvas-gradient.js" defer></script>
<script src="./dist/js/gradient-generator.js" defer></script>
<script src="./dist/js/scripts.js" defer></script>
<script src="./paper-js/paper-full.min.js"></script>
<script>
paper.install(window);
window.addEventListener('DOMContentLoaded', () => {
let Gradient = new GradientGenerator();
let Init = new InitScripts(Gradient);
Init.addBrowserSupportClasses();
Init.startInitialTransition(true);
Init.changRoleText();
Init.addEventsToHeartButton();
Init.toggleTooltipClassNamesOnHover();
let canvas = document.getElementById('myCanvas');
paper.setup(canvas);
});
</script>
<meta name="viewport" content="initial-scale=1.0, minimum-scale=1.0, maximum-scale=2.0">
</head>
<body>
<div class="outer full-height active">
<main class="flex-grid-container">
<div class="grid-container full-fill">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<div class="flex-grid-item"></div>
<div class="flex-grid-item content translate--y">
<figure class="inner active">
<svg xmlns="http://www.w3.org/2000/svg">
<use class="logo" xlink:href="svg/all.svg#logo">
</use>
<use class="was" xlink:href="svg/all.svg#was">
</use>
</svg>
</figure>
<h1 class="hello">Hello.</h1>
<h2 class="comingSoon">My name is Lukasz and I am a
<br/>
<span class="glitch role" data-text=" ">UI Developer.</span>
</h2>
<nav class="navigation">
<a class="more shake-little" rel="noopener" target="_blank" href="https://github.com/lukasz81">
<span class="text indent">Visit Github website </span>
<figure class="github">
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#github"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#github"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#github"></use>
</svg>
</figure>
</a>
<a class="more shake-little" rel="noopener" target="_blank" href="https://www.behance.net/szczepan">
<span class="text indent">Visit Behance website</span>
<figure class="behance">
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#behance"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#behance"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#behance"></use>
</svg>
</figure>
</a>
<a class="more shake-little" rel="noopener" target="_blank" href="https://twitter.com/szczeps81">
<span class="text indent">Follow me on Twitter</span>
<figure class="twitter">
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#twitter"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#twitter"></use>
</svg>
<svg>
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="svg/all.svg#twitter"></use>
</svg>
</figure>
</a>
</nav>
</div>
<div class="flex-grid-item tooltip-container">
<div class="tooltip-wrapper">
<div class="tooltip">
<p id="tooltip-text">
<span id="action-type">Click </span>to change the mood !
</p>
<svg version="1.1" id="panel" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 300 96" style="enable-background:new 0 0 300 96;" xml:space="preserve">
<style type="text/css">
.shape {
fill: url(#SVGID_1_);
}
</style>
<g>
<radialGradient id="SVGID_1_" cx="150" cy="42" r="110.0402" gradientUnits="userSpaceOnUse">
<stop offset="0" style="stop-color:var(--gradient-two);stop-opacity:0.28"/>
<stop offset="0.9791" style="stop-color:var(--gradient-two);stop-opacity:5.698085e-03"/>
<stop offset="0.9995" style="stop-color:var(--gradient-two);stop-opacity:0"/>
</radialGradient>
<path class="shape" d="M300,83.4 161.8,83.4 150,95.4 137.5,83.4 0,83.4 0,12.6 137.5,12.6 150,12.6 161.8,12.6 300,12.6 z"/>
</g>
<path class="line-up" d="M0,12.6 137.5,12.6 150,12.6 161.8,12.6 300,12.6 "/>
<path class="line-down" d="M0,83.4 137.5,83.4 150,95.4 161.8,83.4 300,83.4 "/>
</svg>
</div>
</div>
</div>
<div class="flex-grid-item flex mood-actions active">
<span class="heart"></span>
<div class="spinner">
<span class="glitch shake-little shake-constant" data-text="RELOADING">RELOADING</span>
</div>
</div>
</main>
<canvas id="myCanvas" resize></canvas>
</div>
</body>
</html>