This commit is contained in:
Jonny_Bro (Nikita) 2024-03-23 11:21:52 +05:00
parent 7d9fc02201
commit e7ae505f87
No known key found for this signature in database
GPG key ID: 3F1ECC04147E9BD8
5 changed files with 11 additions and 6 deletions

3
.gitignore vendored
View file

@ -1,2 +1,3 @@
node_modules
package-lock.json
package-lock.json
src/css/tailwind.css

View file

@ -1 +1 @@
npx tailwindcss -i ./tailwind-files/input.css -o ./src/css/tailwind.css --watch
npx tailwindcss -i ./tailwind-files/input.css -o ./src/css/tailwind.css

View file

@ -41,9 +41,9 @@
<div class="centered-container grid">
<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://plsgo.ru/beatrun" class="m-1 button transform hover:scale-105" style="padding: 5%;" oncontextmenu="return redirect('https:\/\/discord.gg/93Psubbgsg')">My Beatrun fork<br>Right Click to join our Discord</a>
<!-- <a target="_blank" href="https://plsgo.ru" class="m-1 button transform hover:scale-105" style="padding: 2%;">My link shortener</a> -->
<br>
<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://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>
<div class="mb-4"></div>
<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" href="#" onclick="return copy('jonny_bro', 'Copied username to the clipboard!')"><i class="fa-brands fa-discord fa-xl"></i></i></a>

View file

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

View file

@ -66,4 +66,8 @@ a {
.notification-positive {
@apply bg-lime-950 text-green-300;
}
.notification-negative {
@apply bg-red-950 text-red-300;
}