-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
134 lines (116 loc) · 4.49 KB
/
index.html
File metadata and controls
134 lines (116 loc) · 4.49 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
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
<!doctype html>
<html lang='en'>
<head>
<meta charset='UTF-8' />
<!-- <link rel='icon' type='image/svg+xml' href='/vite.svg' /> -->
<link rel='icon' type='image/png' href='/src/assets/favicon.png'>
<meta name='viewport' content='width=device-width, initial-scale=1.0' />
<title>Rodrigo Moreno | Frontend Developer | Software developer</title>
<link rel='preconnect' href='https://fonts.googleapis.com' />
<link rel='preconnect' href='https://fonts.gstatic.com' />
<link href='https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700;800&display=swap' rel='stylesheet' />
<meta name='robots' content='follow, index' />
<meta name='description'
content='Learning Engineer at @platzi - Frontend Developer - #JavaScript #TypeScript #Html5 #Css3 #React #Next #Nvim #Web3 #BTC #ETH ' />
<meta property='og:url' content='https://keepsimpleweb.github.io' />
<meta property='og:type' content='website' />
<meta property='og:site_name' content='Rodrigo Moreno aka CheatModes4' />
<meta property='og:description'
content='Learning Engineer at @platzi - Frontend Developer - #JavaScript #TypeScript #Html5 #Css3 #React #Next #Nvim #Web3 #BTC #ETH ' />
<meta property='og:title' content='Rodrigo Moreno' />
<meta property='og:image' content='https://pbs.twimg.com/profile_images/1490328824411787264/aZ4btbsP_400x400.jpg' />
<meta property='og:locale' content='es_ES' />
<meta name='twitter:card' content='summary_large_image' />
<meta name='twitter:title' content='Rodrigo Moreno aka CheatModes4' />
<meta name='twitter:description'
content='Learning Engineer at @platzi - Frontend Developer - #JavaScript #TypeScript #Html5 #Css3 #React #Next #Nvim #Web3 #BTC #ETH' />
<meta name='twitter:image' content='https://pbs.twimg.com/profile_images/1490328824411787264/aZ4btbsP_400x400.jpg' />
<meta name='twitter:site' content='@CheatModes4' />
<meta name='twitter:creator' content='@CheatModes4' />
<meta name='development web apps' content='Skills about me, my projects, my crue' />
<!-- <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=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap"
rel="stylesheet">
-->
<style>
body {
top: 0;
opacity: 0;
filter: blur(13px);
transition: opacity 400ms ease-in-out, filter 4ms ease-in-out;
}
body:after {
content: '';
font-size: .8em;
color: rgba(10, 10, 10, .9);
position: fixed;
width: 100%;
bottom: 1em;
text-align: center;
}
#cloud {
overflow: hidden;
width: 1px;
height: 1px;
margin-top: 30vh;
position: absolute;
z-index: 50;
transform: translate(100%, 100%);
border-radius: 50%;
filter: url(#filter);
opacity: 0;
transition: opacity 1000ms ease-in-out, filter 1s ease-in-out;
}
</style>
<script>
setTimeout(function() {
const main = document.querySelector('body')
main.style.opacity = 1
main.style.filter = 'blur(0px)'
}, 1000)
</script>
</head>
<body class='antialiased text-black bg-white dark:bg-slate-950 dark:text-white'>
<div id='root'></div>
<script type='module' src='/src/main.tsx'></script>
<!-- ------------------------------------------ -->
<!-- ------------- @CLOUDS -------------------- -->
<!-- ------------------------------------------ -->
<div id='cloud' />
<svg width='0'>
<filter id='filter'>
<feTurbulence type='fractalNoise' baseFrequency='.01' numOctaves='10' />
<feDisplacementMap in='SourceGraphic' scale='240' />
</filter>
</svg>
<script>
function rn (from, to) {
return ~~(Math.random() * (to - from + 1)) + from;
}
function rs () {
return arguments[ rn(1, arguments.length) - 1 ];
}
function boxShadows (max) {
let ret = [];
for (let i = 0; i < max; ++i) {
ret.push(`
${rn(1, 100)}vw ${rn(1, 100)}vh ${rn(20, 40)}vmin ${rn(1, 20)}vmin
${rs('#f9f9f9', '#a7a7aa', '#eaeaea', '#f5e2c0')}
`)
}
return ret.join(',');
}
const cloud = document.querySelector('#cloud');
function update () {
cloud.style.boxShadow = boxShadows(13);
}
window.addEventListener('load', update);
document.addEventListener('click', update);
setTimeout(function() {
const main = document.querySelector('#cloud')
main.style.opacity = 1
}, 2000)
</script>
</body>
</html>