-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
121 lines (109 loc) · 3.83 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" type="icon" href="media/favicon.png">
<title>Rommmmaha</title>
<meta property="og:title" content="Rommmmaha">
<meta property="og:description" content="Kordyban Roman
10d/12m/2005y
Ukraine/Chernivtsi">
<meta property="og:url" content="https://rommmmaha.github.io/">
<meta property="og:image" content="https://rommmmaha.github.io/media/avatar.png">
<meta name="theme-color" data-react-helmet="true" content="#FFFFFF">
<style>
body {
user-select: none;
width: 100vw;
height: 100vh;
margin: 0;
display: flex;
overflow: hidden;
justify-content: center;
align-items: center;
background-color: #000;
}
.container {
position: relative;
}
.container>a {
position: absolute;
transition: all 0.3s ease;
border-radius: 50%;
}
.center-image {
width: 400px;
height: 400px;
left: -200px;
top: -200px;
box-shadow: 0px 0px 300px rgba(255, 255, 255, 0.8);
}
.center-image>img {
background-color: rgba(255, 255, 255, 0.1);
}
.center-image:hover {
transform: scale(1.1);
box-shadow: 0px 0px 300px rgba(255, 255, 255, 1);
}
.link-item {
width: 100px;
height: 100px;
box-shadow: 0px 0px 100px rgba(0, 0, 0, 1);
}
.link-item:hover {
transform: scale(1.8);
box-shadow: 0px 0px 50px rgba(255, 255, 255, 0.8);
}
img {
width: 100%;
height: 100%;
border-radius: 50%;
}
.background {
width: 100%;
height: 100%;
position: fixed;
object-fit: cover;
z-index: -1;
filter: blur(30px) brightness(50%);
}
</style>
</head>
<body>
<div class="container">
<a class="center-image" href="https://dub.sh/rommmmaha"><img src="media/avatar.png"></a>
</div>
<video src="media/background.mp4" class="background" autoplay loop muted playsinline></video>
<script>
function addLink(url, imageUrl, style = "") {
const container = document.querySelector('.container');
const link = document.createElement('a');
const img = document.createElement('img');
link.href = url;
link.className = 'link-item';
img.src = 'media/' + imageUrl + '.png';
link.appendChild(img);
const radius = 300;
const links = [...container.querySelectorAll('.link-item'), link];
links.forEach((link, index) => {
const currentAngle = index * (360 / links.length) * Math.PI / 180;
const x = Math.cos(currentAngle) * radius - 50;
const y = Math.sin(currentAngle) * radius - 50;
link.style.left = `${x}px`;
link.style.top = `${y}px`;
});
container.appendChild(link);
}
addLink('https://x.com/rommmmaha', 'x');
addLink('https://tiktok.com/@rommmmaha', 'tiktok');
addLink('https://github.com/rommmmaha', 'github');
addLink('https://steamcommunity.com/profiles/76561199095711243', 'steam');
addLink('https://reddit.com/user/Rommmmaha', 'reddit');
addLink('https://discord.com/users/rommmmaha', 'discord');
addLink('https://t.me/rommmmaha', 'telegram');
addLink('https://twitch.tv/rommmmaha', 'twitch');
addLink('https://youtube.com/@rommmmaha', 'youtube');
</script>
</body>
</html>