-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
98 lines (81 loc) · 4.22 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
<!DOCTYPE html>
<html lang="en">
<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="stylesheet" href="./public/styles/style.css">
<link rel="stylesheet" href="./public/styles/bootstrap/bootstrap-5.min.css">
<link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" rel="stylesheet"/>
<title>Mirroware</title>
</head>
<body>
<header>
<section class="canvasContainer" id="canvasContainer"></section>
<section class="upperLayer" style="display: none;">
<div class="container" style="width: 50%;">
<div class="row">
<div class="col-md-12 mx-auto">
<h1>Mirroware</h1>
<hr style="opacity: 1; border: solid white 1px">
</div>
</div>
<div class="row">
<div class="col-md-12 mx-auto">
<p class="text-light"></p>
<div class="alertbox">
<span><b class="text-warning">Warning!</b> This project is under construction, you should't be here yet.</span>
</div>
</div>
</div>
<div class="options row mt-5 mx-auto">
<div class="col-md-6">
<button class="left-button">I understand; I will not proceed.</button>
</div>
<div class="col-md-6">
<button class="right-button">I don't care, let me <b>try!</b></button>
</div>
</div>
<div class="options row mt-5 mx-auto">
<div class="col-md-12 text-center">
<p class="text-white text-center">Made in <span class="text-info" style="font-weight: bold;">TypeScript </span> with own framework: <span class="text-warning" style="font-weight: bold;">PlugLightJS</span></p>
</div>
</div>
<div class="row">
<div class="col-md-12 mx-auto">
<hr style="opacity: 1; border: solid white 1px">
<p class="credit text-light text-center mt-4">
Created by
<b class="text-warning">Gabriel R. Fuente</b>: alias
<b class="text-danger">WebAxol ᕒ(^-^)ᓬ</b>, <br> also as
<b class="text-success">@TheFractaLab 🔥</b>.
</p>
<div class="social text-center">
<a target="_blank" href="https://github.com/WebAxol" class="social-link">
<span class="d-inline-block" tabindex="0" data-bs-toggle="popover" data-bs-trigger="hover focus" data-bs-content="My Projects">
<i class="fab fa-solid fa-github mx-3"></i></a>
</span>
<a href="https://www.instagram.com/thefractalab/" class="social-link">
<i class="fab fa-brands fa-instagram mx-3"></i></a>
<a target="_blank" href="https://www.hackerrank.com/webaxol" class="social-link">
<i class="fab fa-solid fa-hackerrank mx-3"></i></a>
</div>
</div>
</div>
</div>
</section>
</header>
<script src="./Mirroware.min.js"></script>
<script>
document.addEventListener('mousemove',(e) => {
let x = e.clientX;
let y = e.clientY;
let midwidth = window.innerWidth / 2;
let midheight = window.innerHeight / 2;
let offsetX = ((x - midwidth) / midwidth) * 45;
let offsetY = ((y - midheight) / midheight) * 45;
document.querySelector('.upperLayer .container').style.transform = `rotateX(${-offsetY}deg) rotateY(${offsetX}deg)`;
});
</script>
</body>
</html>