-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
70 lines (63 loc) · 1.69 KB
/
index.html
File metadata and controls
70 lines (63 loc) · 1.69 KB
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
<!doctype html>
<html lang="pt-br">
<head>
<link rel="shortcut icon" href="/brand.svg" type="image/svg">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lucas Fernando - Portfolio</title>
<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@300;400&family=Jost:wght@400;500&family=Roboto+Condensed:wght@500&display=swap"
rel="stylesheet">
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.path {
--stroke-dasharray: 15;
stroke-dasharray: var(--stroke-dasharray);
stroke: #F2F3F7;
animation: dash 5s linear infinite;
animation-delay: -1s;
}
@keyframes dash {
to {
stroke-dashoffset: 200;
}
}
.loading {
display: grid;
place-items: center;
background: #121212;
height: 100vh;
width: 100vw;
position: fixed;
z-index: 10;
transform-origin: center;
transition: 350ms ease-out;
}
</style>
</head>
<body>
<div id="root">
<div class="loading">
<svg width="29" height="24" viewBox="0 0 29 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path class="path" d="M14.3564 0L28.2128 24H0.5L14.3564 0Z" />
</svg>
</div>
</div>
<script type="module" src="/src/main.tsx">
</script>
<script>
(() => {
const redirect = sessionStorage.redirect;
delete sessionStorage.redirect;
if (redirect && redirect !== location.href) {
history.replaceState(null, null, redirect);
}
})();
</script>
</body>
</html>