-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.js
39 lines (39 loc) · 1.56 KB
/
index.js
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
"use strict";
const h1Bio = document.getElementById('h1-bio');
const img = document.querySelectorAll(".bio-status")[0];
const typedCategory = new Typed('.bio-typing', {
strings: [
'<a href="https://www.youtube.com/channel/UCH-f_szwD2msRXhwMmePeiA" class="bio-text red" target="_blank"><i class="fab fa-youtube"> Ютубер</i></a>',
'<a href="https://www.twitch.tv/kredwi" class="bio-text purple" target="_blank"><i class="fab fa-twitch"> Стример</i></a>',
'🎮 Немного геймер',
],
typeSpeed: 150,
backSpeed: 100,
startDelay: 1000,
showCursor: true,
loop: true
})
const h1Words = [
'Kredwi - Нубик в любой сфере',
'Kredwi - Ну етить колотить!!',
'Kredwi - Нубик в любой сфере',
'🤔 Шо как оно?',
'☝️ У меня есть новый сайт',
'🧐 А ты шо думал?',
'Научи меня Java ПЖ',
'Ну скильки можно??'
]
h1Bio.innerHTML = h1Words[Math.floor(Math.random() * (h1Words.length - 0) + 0)];
setInterval(() => img.src = img.src, 1 * 60 * 1000);
// window.onload = function() {
// snowStorm.flakesMaxActive = 30;
// snowStorm.snowCharacter = '<i class="fas fa-snowflake"></i>';
// snowStorm.vMaxX = 2;
// snowStorm.vMaxY = 1;
// snowStorm.zIndex = -99999;
// snowStorm.useTwinkleEffect = true;
// snowStorm.followMouse = false;
// snowStorm.flakeWidth = 20;
// snowStorm.flakeHeight = 20;
// snowStorm.start();
// };