-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·370 lines (352 loc) · 14.6 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
<!DOCTYPE html>
<html lang="en" class="astro-VCBD3CHP">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap"
rel="stylesheet"
/>
<title>roberta andrade</title>
<link rel="stylesheet" href="./assets/index.01242d8f.css" />
<link rel="stylesheet" href="./assets/Home.71d64331.css" />
</head>
<body class="astro-VCBD3CHP">
<div class="container astro-VCBD3CHP">
<div
class="hero astro-DODQM2UL"
style="
--heropink: #39273f98;
--buttonpink: rgba(235, 213, 213, 0.75);
--textpink: #713535;
--main: #721d46;
"
>
<nav class="astro-DODQM2UL">
<a href="#whoami" class="astro-DODQM2UL">whoami</a>
<a href="#cases" class="astro-DODQM2UL">cases</a>
<a href="#contact" class="astro-DODQM2UL">contact me</a>
</nav>
<div class="background-wrapper astro-DODQM2UL">
<div class="img img-1 astro-DODQM2UL"></div>
<div class="img img-2 astro-DODQM2UL"></div>
<div class="img img-3 astro-DODQM2UL"></div>
<div class="img img-4 astro-DODQM2UL"></div>
</div>
<div class="message astro-DODQM2UL">
<h1 class="astro-DODQM2UL">
Hi I am Roberta, i am a digital illustrator
</h1>
</div>
<div class="calltoaction-wrapper astro-DODQM2UL">
<button class="calltoaction astro-DODQM2UL">
<a href="#whoami" class="astro-DODQM2UL">Know more</a>
</button>
</div>
</div>
<div class="bar astro-WEVEDUAP"></div>
<div
class="whoami astro-3CYYWJUL"
id="whoami"
style="--purplemain: #721d46"
>
<div class="container astro-3CYYWJUL">
<div class="text-content astro-3CYYWJUL">
<div class="text-wrapper astro-3CYYWJUL">
<h2 class="astro-3CYYWJUL">Who am i</h2>
<p class="astro-3CYYWJUL">
I am an 18 years old digital illustrator, currently studying
Systems Analysis and Development and passionate about games.
I worked in the area of Illustration as a freelancer for a
few years, developing aptitude for a certain visual organization.
Now I intend to use my design skills.
</p>
</div>
</div>
<div class="image-wrapper astro-3CYYWJUL">
<div class="avatar astro-3CYYWJUL">
<img
src="./images/avatar/avatar.svg"
alt=""
class="astro-3CYYWJUL"
/>
</div>
</div>
</div>
</div>
<div class="bar astro-WEVEDUAP">
<div class="text astro-WEVEDUAP">Some cases</div>
</div>
<div
class="cases astro-OPBSL5YL"
id="cases"
style="--purplemain: #721d46; --secondpurple: #821248"
>
<div class="container astro-OPBSL5YL">
<div class="content astro-OPBSL5YL">
<div class="menu astro-OPBSL5YL">
<ul class="astro-OPBSL5YL">
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">Deep Eyes</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">lollipop</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">ballerine</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">cat</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">forest</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">man</span>
</button>
</li>
<li class="astro-OPBSL5YL">
<button class="button astro-OPBSL5YL">
<span class="astro-OPBSL5YL">sunflower</span>
</button>
</li>
</ul>
</div>
<div class="showcases astro-OPBSL5YL" id="showcases"></div>
<div class="img-wrapper astro-OPBSL5YL" id="img">
<img
src="./images/showcase/deepeyes.jpg"
alt=""
class="astro-OPBSL5YL"
/>
<span class="sub astro-OPBSL5YL">Deep Eyes</span>
</div>
</div>
</div>
</div>
<script defer>
const cases = [
{ url: './images/showcase/deepeyes.jpg', title: 'Deep Eyes' },
{ url: './images/showcase/lollipop.jfif', title: 'lollipop' },
{ url: './images/showcase/ballerine.jfif', title: 'ballerine' },
{ url: './images/showcase/cat.jfif', title: 'cat' },
{ url: './images/showcase/forest.jpeg', title: 'forest' },
{ url: './images/showcase/man.jfif', title: 'man' },
{ url: './images/showcase/sunflower.jfif', title: 'sunflower' },
];
const buttons = document.getElementsByClassName('button');
const image = document.getElementById('img');
const bgImage = document.getElementById('showcases');
const isMobile = navigator.userAgentData.mobile;
let i = 0;
let clicked = false;
setInterval(() => {
if (clicked || isMobile) return;
const { url, title } = cases[i];
const button = buttons[i];
select(button);
setAttr(image.children[0], 'src', url);
setStyle(bgImage, 'backgroundImage', `url(${url})`);
setTitle(image.children[1], title);
i++;
if (i === cases.length) return (i = 0);
}, 3000);
function setTitle(element, value) {
element.innerText = value;
}
function setAttr(image, attr, value) {
image.setAttribute(attr, value);
}
function setStyle(image, attr, value) {
image.style[attr] = value;
}
function handleClick(button, idx) {
clicked = true;
const { url, title } = cases[idx];
select(button);
setAttr(image.children[0], 'src', url);
setStyle(bgImage, 'backgroundImage', `url(${url})`);
setTitle(image.children[1], title);
}
function select(button) {
for (let btn of buttons) {
btn.parentNode.classList.remove('selected');
}
button.parentNode.classList.add('selected');
}
function addListeners(elm, type, callback, ...args) {
elm.addEventListener(type, () => {
callback(...args);
});
}
for (let c = 0; c < buttons.length; c++) {
const button = buttons[c];
addListeners(button, 'click', handleClick, button, c);
}
</script>
<div class="bar astro-WEVEDUAP"></div>
<div
class="contact astro-7SJL2WJ7"
id="contact"
style="
--heropink: #39273f98;
--buttonpink: rgba(235, 213, 213, 0.75);
--textpink: #713535;
"
>
<div class="container astro-7SJL2WJ7">
<div class="form-wrapper">
<form action="/" method="post">
<div class="title"><h3>Contact</h3></div>
<div class="inputs">
<div class="input-container name">
<label for="name"
><span>Name</span
><input
class="input-field"
type="text"
name="name"
id="name"
placeholder="Ozzy Osbourne"
/></label>
</div>
<div class="input-container email">
<label for="email"
><span>E-mail</span
><input
class="input-field"
type="email"
name="email"
id="email"
placeholder="[email protected]"
/></label>
</div>
<div class="input-container message">
<label for="message"
><span>Message</span
><textarea
class="input-field textarea"
name="message"
id="message"
placeholder="Inform your message here"
></textarea>
</label>
</div>
<button type="submit" class="submit">Submit</button>
</div>
</form>
</div>
<div class="card astro-7SJL2WJ7">
<div class="info-container astro-7SJL2WJ7">
<div class="header astro-7SJL2WJ7">
<h4 class="astro-7SJL2WJ7">Contact Info</h4>
</div>
<div class="sub astro-7SJL2WJ7">
<p class="astro-7SJL2WJ7">
Feel free to contact me via email anytime, i'll answer as soon
as i can, i may not accept calls.
</p>
</div>
<div class="infos astro-7SJL2WJ7">
<div class="info astro-7SJL2WJ7">
<span class="title astro-7SJL2WJ7">Address</span>
<div class="astro-7SJL2WJ7">
<span class="astro-7SJL2WJ7"
>Vila Remo, São Paulo - SP</span
>
</div>
</div>
<div class="info astro-7SJL2WJ7">
<span class="title astro-7SJL2WJ7">Phone</span>
<div class="astro-7SJL2WJ7">
<span class="astro-7SJL2WJ7">+55 (11) 99223-2964</span>
</div>
</div>
<div class="info astro-7SJL2WJ7">
<span class="title astro-7SJL2WJ7">Email</span>
<div class="astro-7SJL2WJ7">
<span class="astro-7SJL2WJ7"
>[email protected]</span
>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="bar astro-WEVEDUAP"></div>
<div class="bar has-text astro-WEVEDUAP">
<div class="media">
<a href="https://www.instagram.com/robbie.arts.ofc" target="_blank"
><span>@robbie.arts.ofc</span
><svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
class="icon"
height="40"
width="40"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M349.33 69.33a93.62 93.62 0 0193.34 93.34v186.66a93.62 93.62 0 01-93.34 93.34H162.67a93.62 93.62 0 01-93.34-93.34V162.67a93.62 93.62 0 0193.34-93.34h186.66m0-37.33H162.67C90.8 32 32 90.8 32 162.67v186.66C32 421.2 90.8 480 162.67 480h186.66C421.2 480 480 421.2 480 349.33V162.67C480 90.8 421.2 32 349.33 32z"
></path>
<path
d="M377.33 162.67a28 28 0 1128-28 27.94 27.94 0 01-28 28zM256 181.33A74.67 74.67 0 11181.33 256 74.75 74.75 0 01256 181.33m0-37.33a112 112 0 10112 112 112 112 0 00-112-112z"
></path></svg></a
><a
href="https://www.linkedin.com/in/robertaandradebr"
target="_blank"
><span>robertaandradedebr</span
><svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
class="icon"
height="40"
width="40"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M444.17 32H70.28C49.85 32 32 46.7 32 66.89v374.72C32 461.91 49.85 480 70.28 480h373.78c20.54 0 35.94-18.21 35.94-38.39V66.89C480.12 46.7 464.6 32 444.17 32zm-273.3 373.43h-64.18V205.88h64.18zM141 175.54h-.46c-20.54 0-33.84-15.29-33.84-34.43 0-19.49 13.65-34.42 34.65-34.42s33.85 14.82 34.31 34.42c-.01 19.14-13.31 34.43-34.66 34.43zm264.43 229.89h-64.18V296.32c0-26.14-9.34-44-32.56-44-17.74 0-28.24 12-32.91 23.69-1.75 4.2-2.22 9.92-2.22 15.76v113.66h-64.18V205.88h64.18v27.77c9.34-13.3 23.93-32.44 57.88-32.44 42.13 0 74 27.77 74 87.64z"
></path></svg></a
><a href="https://github.com/RobertaAndrade" target="_blank"
><span>robertaandrade</span
><svg
stroke="currentColor"
fill="currentColor"
stroke-width="0"
viewBox="0 0 512 512"
class="icon"
height="40"
width="40"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 32C132.3 32 32 134.9 32 261.7c0 101.5 64.2 187.5 153.2 217.9a17.56 17.56 0 003.8.4c8.3 0 11.5-6.1 11.5-11.4 0-5.5-.2-19.9-.3-39.1a102.4 102.4 0 01-22.6 2.7c-43.1 0-52.9-33.5-52.9-33.5-10.2-26.5-24.9-33.6-24.9-33.6-19.5-13.7-.1-14.1 1.4-14.1h.1c22.5 2 34.3 23.8 34.3 23.8 11.2 19.6 26.2 25.1 39.6 25.1a63 63 0 0025.6-6c2-14.8 7.8-24.9 14.2-30.7-49.7-5.8-102-25.5-102-113.5 0-25.1 8.7-45.6 23-61.6-2.3-5.8-10-29.2 2.2-60.8a18.64 18.64 0 015-.5c8.1 0 26.4 3.1 56.6 24.1a208.21 208.21 0 01112.2 0c30.2-21 48.5-24.1 56.6-24.1a18.64 18.64 0 015 .5c12.2 31.6 4.5 55 2.2 60.8 14.3 16.1 23 36.6 23 61.6 0 88.2-52.4 107.6-102.3 113.3 8 7.1 15.2 21.1 15.2 42.5 0 30.7-.3 55.5-.3 63 0 5.4 3.1 11.5 11.4 11.5a19.35 19.35 0 004-.4C415.9 449.2 480 363.1 480 261.7 480 134.9 379.7 32 256 32z"
></path></svg></a>
</div>
<span class="astro-WEVEDUAP"
>© 2023 - Roberta Andrade - All rights reserved.</span
>
</div>
</div>
</body>
</html>