From a51b6a187d9d36aef47670c3183339d9eb4968e5 Mon Sep 17 00:00:00 2001 From: maxiwee69 Date: Wed, 24 Jan 2024 23:37:22 +0100 Subject: [PATCH] fixxed some formatting and added a site for upcoming cs2-esp --- cs2-esp/index.html | 65 ++++++++++ cs2-esp/styles.css | 91 ++++++++++++++ cs2-esp/timer.js | 44 +++++++ index.html | 8 +- projects/index.html | 80 +++++++----- projects/mytweaks/style.css | 210 +++++++++++++++---------------- projects/style.css | 238 ++++++++++++++++++++---------------- projects/timer.js | 12 ++ style.css | 8 +- 9 files changed, 506 insertions(+), 250 deletions(-) create mode 100644 cs2-esp/index.html create mode 100644 cs2-esp/styles.css create mode 100644 cs2-esp/timer.js create mode 100644 projects/timer.js diff --git a/cs2-esp/index.html b/cs2-esp/index.html new file mode 100644 index 0000000..7bda2d5 --- /dev/null +++ b/cs2-esp/index.html @@ -0,0 +1,65 @@ + + + + + CS2-ESP + + + +
+ +
+
+
+
+
+ +
+
+

About this project

+

+ This is a simple External read only ESP for CS2. +

+

+ I would not recommend to use this on your main account as this is more like a thing for me to learn how to make an ESP and game cheats in general. +

+

+ I will try to keep this page updated as much as possible. But I am a lazy person so don't expect too much. +

+

+ You may ask why won't you release it now? It sounds pretty finished, right? +

+

+ Well, I don't want to update it every time the game gets updated. So I will have to implement a patchfinder to automatically find the offsets for the ESP. This will take some time and I am not sure if I will ever finish it. But I will try my best +

+

+ Now you may ask yourself what is the reason for the countdown? Well I want to motivate myself to finish this project. +

+

+ I am a very lazy person and I need some motivation to finish this project. So I thought why not make a countdown and publish it on my website. This way I will have to finish it before the countdown ends. +

+
+
+

CS2 ESP

+

+ ESP for cs2 will be published soon... +

+
+
+

+

+

+

+
+ + + \ No newline at end of file diff --git a/cs2-esp/styles.css b/cs2-esp/styles.css new file mode 100644 index 0000000..e769d46 --- /dev/null +++ b/cs2-esp/styles.css @@ -0,0 +1,91 @@ +/* Body styles */ +body { + margin: 0; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; + overflow-x: hidden; + flex-direction: column; + background-color: #1a1a2e; /* Softer dark blue */ + color: #e0e0e0; /* Lighter text color */ + padding: 20px; + display: flex; + flex-direction: column; + min-height: 100vh; +} + +html { + height: 100%; +} + + /* Hamburger menu styles */ +.hamburger-menu { + position: fixed; + top: 20px; + right: 20px; + display: flex; + flex-direction: column; + justify-content: space-around; + width: 2rem; + height: 2rem; + background: transparent; + border: none; + cursor: pointer; + padding: 0; + z-index: 10; +} + +.logo { + margin-top: -20px; +} + +.hamburger-menu div { + width: 2rem; + height: 0.25rem; + background: #e0e0e0; /* Lighter color for the hamburger menu */ + border-radius: 10px; + transition: all 0.3s linear; + position: relative; + transform-origin: 1px; +} + + /* Menu styles */ +.menu { + transform: translateX(100%); + position: fixed; + top: 0; + right: 0; + height: 100vh; + width: 200px; + background: #0a0a15; /* Darker blue */ + padding: 1rem; + box-sizing: border-box; + transition: transform 0.3s ease-in-out; +} + +.menu a { + display: block; /* Each link will take up its own line */ + color: #e0e0e0; /* Lighter color for the links */ + text-decoration: none; + font-size: 1.2rem; + transition: color 0.3s linear; + margin-bottom: 1rem; /* Add some space between the links */ +} + +.menu a:hover { + color: #ddd; /* Change this to match your design */ +} + +.menu.active { + transform: translateX(0); +} + +.about { + justify-content: center; + padding-top: 20px; +} + + +#countdown { + display: flex; + justify-content: center; /* Adjust this as needed */ + font-size: 2em; +} \ No newline at end of file diff --git a/cs2-esp/timer.js b/cs2-esp/timer.js new file mode 100644 index 0000000..47a9398 --- /dev/null +++ b/cs2-esp/timer.js @@ -0,0 +1,44 @@ +// Set the date we're counting down to +var countDownDate = new Date("Feb 3, 2024 23:59:59").getTime(); + +// Update the count down every 1 second +var countdownfunction = setInterval(function() { + + // Get today's date and time + var now = new Date().getTime(); + + // Find the distance between now and the count down date + var distance = countDownDate - now; + + // Time calculations for days, hours, minutes and seconds + var days = Math.floor(distance / (1000 * 60 * 60 * 24)); + var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)); + var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60)); + var seconds = Math.floor((distance % (1000 * 60)) / 1000); + + // Display the result in the elements with id="days", "hours", "minutes", and "seconds" + document.getElementById("days").innerHTML = days + "d "; + document.getElementById("hours").innerHTML = hours + "h "; + document.getElementById("minutes").innerHTML = minutes + "m "; + document.getElementById("seconds").innerHTML = seconds + "s "; + + // If the count down is finished, write some text + if (distance < 0) { + clearInterval(countdownfunction); + document.getElementById("countdown").innerHTML = "RELEASED!"; + } +}, 1000); + + +const hamburgerMenu = document.querySelector('.hamburger-menu'); +const menu = document.querySelector('.menu'); + +hamburgerMenu.addEventListener('click', () => { + menu.classList.toggle('active'); +}); + +document.addEventListener('click', (event) => { + if (!menu.contains(event.target) && !hamburgerMenu.contains(event.target)) { + menu.classList.remove('active'); + } +}); \ No newline at end of file diff --git a/index.html b/index.html index 2ff7c1a..ae076b7 100644 --- a/index.html +++ b/index.html @@ -17,7 +17,6 @@

Maxiwee

-