From e7ae505f8745de33ab09acc091bbb323c7ec8f43 Mon Sep 17 00:00:00 2001 From: "Jonny_Bro (Nikita)" Date: Sat, 23 Mar 2024 11:21:52 +0500 Subject: [PATCH] updato --- .gitignore | 3 ++- compile-tw.bat | 2 +- src/index.html | 6 +++--- src/js/main.js | 2 +- tailwind-files/input.css | 4 ++++ 5 files changed, 11 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index 25c8fdb..be1b93c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules -package-lock.json \ No newline at end of file +package-lock.json +src/css/tailwind.css \ No newline at end of file diff --git a/compile-tw.bat b/compile-tw.bat index 1528db1..5495362 100644 --- a/compile-tw.bat +++ b/compile-tw.bat @@ -1 +1 @@ -npx tailwindcss -i ./tailwind-files/input.css -o ./src/css/tailwind.css --watch \ No newline at end of file +npx tailwindcss -i ./tailwind-files/input.css -o ./src/css/tailwind.css \ No newline at end of file diff --git a/src/index.html b/src/index.html index 3268325..bdfedc2 100644 --- a/src/index.html +++ b/src/index.html @@ -41,9 +41,9 @@
I do something about something My Discord Bot
Right Click to Invite
- My Beatrun fork
Right Click to join our Discord
- -
+ My Beatrun Fork
Right Click to check out the source code
+ Beatrun Courses Database
Right Click to check out the source code
+
diff --git a/src/js/main.js b/src/js/main.js index d4c3757..dec3d14 100644 --- a/src/js/main.js +++ b/src/js/main.js @@ -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 } diff --git a/tailwind-files/input.css b/tailwind-files/input.css index f3f00d9..cedfdd9 100644 --- a/tailwind-files/input.css +++ b/tailwind-files/input.css @@ -66,4 +66,8 @@ a { .notification-positive { @apply bg-lime-950 text-green-300; +} + +.notification-negative { + @apply bg-red-950 text-red-300; } \ No newline at end of file