update links

This commit is contained in:
Jonny_Bro (Nikita) 2024-05-15 19:23:14 +05:00
parent e7ae505f87
commit 183c41b64e
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8
2 changed files with 6 additions and 6 deletions

View file

@ -40,13 +40,13 @@
<div class="main-base justify-center content-center"> <div class="main-base justify-center content-center">
<div class="centered-container grid"> <div class="centered-container grid">
<span class="mb-4 font-bold text-2xl">I do something about something</span> <span class="mb-4 font-bold text-2xl">I do something about something</span>
<a target="_blank" href="https://plsgo.ru/jaba" class="m-1 button transform hover:scale-105" style="padding: 5%;" oncontextmenu="return redirect('https:\/\/discord.com/api/oauth2/authorize?client_id=708637495054565426&scope=bot+applications.commands&permissions=8')">My Discord Bot<br>Right Click to Invite</a> <a target="_blank" href="https://i.plsgo.ru/go/jaba" class="m-1 button transform hover:scale-105" style="padding: 5%;" oncontextmenu="return redirect('https:\/\/discord.com/api/oauth2/authorize?client_id=708637495054565426&scope=bot+applications.commands&permissions=8')">My Discord Bot<br>Right Click to Invite</a>
<a target="_blank" href="https://plsgo.ru/beatrun" class="m-1 button transform hover:scale-105" style="padding: 5%;" oncontextmenu="return redirect('https:\/\/github.com/JonnyBro/beatrun')">My Beatrun Fork<br>Right Click to check out the source code</a> <a target="_blank" href="https://i.plsgo.ru/go/beatrun" class="m-1 button transform hover:scale-105" style="padding: 5%;" oncontextmenu="return redirect('https:\/\/github.com/JonnyBro/beatrun')">My Beatrun Fork<br>Right Click to check out the source code</a>
<a target="_blank" href="https://plsgo.ru/courses" class="m-1 button transform hover:scale-105" style="padding: 2%;" oncontextmenu="return redirect('https:\/\/github.com/JonnyBro/beatrun-courses-server')">Beatrun Courses Database<br>Right Click to check out the source code</a> <a target="_blank" href="https://i.plsgo.ru/go/beatruncourses" class="m-1 button transform hover:scale-105" style="padding: 2%;" oncontextmenu="return redirect('https:\/\/github.com/JonnyBro/beatrun-courses-server')">Beatrun Courses Database<br>Right Click to check out the source code</a>
<div class="mb-4"></div> <div class="mb-4"></div>
<div class="text-center w-full h-full relative"> <div class="text-center w-full h-full relative">
<a class="mx-2" target="_blank" href="https://steamcommunity.com/id/jonny_br0/"><i class="fa-brands fa-steam fa-xl"></i></a> <a class="mx-2" target="_blank" href="https://steamcommunity.com/id/jonny_br0/"><i class="fa-brands fa-steam fa-xl"></i></a>
<a class="mx-2" href="#" onclick="return copy('jonny_bro', 'Copied username to the clipboard!')"><i class="fa-brands fa-discord fa-xl"></i></i></a> <a class="mx-2" href="#" onclick="return copy('jonny_bro', 'Copied username to the clipboard!', true, 1000)"><i class="fa-brands fa-discord fa-xl"></i></i></a>
<a class="mx-2" target="_blank" href="https://github.com/JonnyBro"><i class="fa-brands fa-github fa-xl"></i></i></a> <a class="mx-2" target="_blank" href="https://github.com/JonnyBro"><i class="fa-brands fa-github fa-xl"></i></i></a>
</div> </div>
</div> </div>

View file

@ -62,9 +62,9 @@ function notify(text = "Lorem ipsum dolor sit amet", type = null, time = 3000) {
}, time); }, time);
} }
function copy(content, textToNotify = "Copied to clipboard!") { function copy(content, textToNotify = "Copied to clipboard!", type, time) {
navigator.clipboard.writeText(content); navigator.clipboard.writeText(content);
notify(textToNotify, false, 1000); notify(textToNotify, type, time);
return false; // prevent the context menu from being opened return false; // prevent the context menu from being opened
} }