1
0
mirror of https://github.com/lexogrine/cs2-react-hud.git synced 2026-05-03 19:53:11 +02:00

Updated setup to vite and moved to hooks instead of class

This commit is contained in:
Hubert Walczak
2023-11-02 12:11:03 +01:00
parent 44f173f23c
commit f88baa5fc9
90 changed files with 7411 additions and 2706 deletions
+3 -3
View File
@@ -1,13 +1,13 @@
{
"name":"Lexogrine CS2 HUD",
"version":"1.0.0",
"version":"1.0.2",
"author":"Lexogrine",
"legacy": false,
"radar": true,
"killfeed": false,
"game":"cs2",
"boltobserv":{
"css":true,
"maps":true
"css":false,
"maps":false
}
}
-23
View File
@@ -1,23 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<title>React App</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
+8
View File
@@ -2,5 +2,13 @@
{
"bind":"Alt+C",
"action":"toggleCams"
},
{
"bind":"Alt+V",
"action":"radarBigger"
},
{
"bind":"Alt+B",
"action":"radarSmaller"
}
]
-48
View File
@@ -1,48 +0,0 @@
/*
* Use this file to apply custom styles to the radar image
*/
/* Any player dot */
div.dot {}
/* Players that are CT or T */
div.dot.CT {}
div.dot.T {}
/* The player with the bomb */
div.dot.bomb{}
/* The player currently being observed */
div.dot.active {}
/* A dead player */
div.dot.dead {}
/* The number on a player dot */
div.label {}
/* The number on the dot being spectated */
div.label.active {}
/* The dropped or planted bomb on the map */
#bomb {
height: 4vmin;
width: 4vmin;
background-repeat:no-repeat;
}
/* Smoke circles on the map */
#smokes {
display: none;
}
#smokes > div {
display: none;
}
/* Inferno circles on the map */
.inferno > div {}
/* The advisory on screen */
#advisory {
display: none !important;
}