-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
233 lines (192 loc) · 6.14 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>alpinj</title>
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="black-bg" id="hero-section">
<!-- Top Navbar -->
<header class="pad-lr">
<div id="logo">
<a href="" id="logo-text">alpinj.</a>
</div>
<nav>
<ul id="navigation-list">
<li class="navigation-items"><a href="">skills</a></li>
<li class="navigation-items"><a href="">design</a></li>
<li class="navigation-items"><a href="">about</a></li>
</ul>
</nav>
</header>
<!-- Hero Section -->
<div class="pad-lr" id="hero-content">
<div id="hero-title">
<h1>Hi,</h1>
<p class="body-text">I am Alpin Jestinera, UX Designer based in Bandung, Indonesia. I have 2+ years experience in UI/UX Design. Nice to e-meet you!</p>
<button type="button">explore</button>
</div>
<div id="hero-illustration">
<div class="illustraion-container">
<input type="range" min="1" max="100" value="75" id="slider-input">
</div>
<div class="illustraion-container">
<div id="knob"></div>
</div>
</div>
</div>
</div>
<div>
asd
</div>
<!-- Skills & Work Section | The content is looping with js below-->
<div class="section white-bg pad-lr" id="skills-work-section">
<div id="skill-section">
<h2 class="section-title">skills</h2>
<p class="body-text">I design an app on webiste that are usable and feasible to be developed by developer. I also create UI styleguide for further development. I have experienced the entire design process from end-to-end. From user research to usability testing.</p>
<ul id="skill-pills"></ul>
</div>
<div id="work-exp-section">
<h2 class="section-title">experiences</h2>
<ul id="work-exp-list"></ul>
</div>
</div>
<!-- Portfolio Gallery Section |The content is looping with js below-->
<div class="section white-bg pad-lr" id="design-section">
<h2 class="section-title">design</h2>
<div id="portfolio-gallery">
</div>
</div>
<!-- About Section -->
<div class="section black-bg pad-lr" id="about-section">
<div id="about-text-section">
<h2 class="section-title">about</h2>
<p class="body-text">
I started to design when I was in college. In every project, I always get the designer role in the group. I always fascinated by the app that prevent you to do things or sometime encourage you to do things.
Are you interested to collaborate with me? Contact me on linkedin or write me an e-mail by pressing the button below
</p>
</div>
</div>
</body>
<!-- Scripts -->
<script>
// Skill Pills
const skills = ['UX Design',
'UI Design',
'Prototyping',
'Design System',
'User Reseach',
'Data Visualization',
'User Flow',
'Analytics',
'Amplitude',
'Office',
'Figma',
'Notion',
'Miro',
'HTML',
'CSS',
'Python',
'C#',
'Java']
skills.forEach(function(element) {
let li = document.createElement("li");
li.className = "pill-items body-3-text";
li.appendChild(document.createTextNode(element));
document.getElementById("skill-pills").appendChild(li);
});
//Work Experience Looping
const workExp = [
{
year: "2021 – Present",
company: "Freelance",
position: "UI/UX Design"
},
{
year: "Jun 2022 – Oct 2022",
company: "UX Indonesia",
position: "Experience Designer (Contractor)"
},
{
year: "Dec 2019 – Jul 2022",
company: "Nectico",
position: "UI/UX Designer"
},
{
year: "Jul 2018 – Sep 2018",
company: "PT. Pertamina (Persero)",
position: "Web Developer (Internship)"
}
]
workExp.forEach(function(element) {
// let text = ""
let li = document.createElement("li");
li.className = "work-exp-items";
let pYear = document.createElement("p");
pYear.className = "body-3-text";
pYear.appendChild(document.createTextNode(element.year));
let pCompany = document.createElement("p");
pCompany.className = "body-text semibold";
pCompany.appendChild(document.createTextNode(element.company));
let pPosition = document.createElement("p");
pPosition.className = "body-2-text";
pPosition.appendChild(document.createTextNode("– " + element.position));
li.appendChild(pYear);
li.appendChild(pCompany);
li.appendChild(pPosition);
document.getElementById("work-exp-list").appendChild(li)
});
// Gallery Looping
const gallery = [
{
title: "Redesign Member Apps UI",
role_client: "Nectico / UI & UX Designer",
image_path: "./img/1/cover.jpg"
}
]
gallery.forEach(function (element) {
let divGalleryItem = document.createElement("div");
divGalleryItem.className = "gallery-item";
let gImage = document.createElement("img");
gImage.className = "gallery-item-img";
gImage.src = element.image_path;
let gTitle = document.createElement("p");
gTitle.className = "body-text semibold";
gTitle.appendChild(document.createTextNode(element.title));
let gRoleClient = document.createElement("p");
gRoleClient.className = "body-3-text";
gRoleClient.appendChild(document.createTextNode(element.role_client));
divGalleryItem.appendChild(gImage);
divGalleryItem.appendChild(gTitle);
divGalleryItem.appendChild(gRoleClient);
document.getElementById("portfolio-gallery").appendChild(divGalleryItem);
});
// const knob = document.getElementById("knob");
// function calculateDegree(e) {
// const x1 = window.innerWidth / 2;
// const y1 = window.innerHeight / 2;
// const x2 = e.clientX;
// const y2 = e.clientY;
// const deltaX = x1 - x2;
// const deltaY = y1 - y2;
// const rad = Math.atan2(deltaY, deltaX);
// let deg = rad * (180 / Math.PI);
// return deg;
// }
// knob.addEventListener("mousedown", function () {
// console.log("mousedown")
// knob.addEventListener("mousemove", rotate);
// function rotate(e) {
// const result = Math.floor(calculateDegree(e) - 90);
// console.log(result);
// knob.style.transform = 'rotate(' + result + 'deg)';
// }
// knob.addEventListener("mouseup", function () {
// console.log("mouseup");
// knob.removeEventListener("mousemove", rotate);
// });
// });
</script>
</html>