🆙 Release RC-1

This commit is contained in:
DuckieTM
2026-02-27 22:49:33 +01:00
parent 1629f63f9b
commit a38a52fa5d
3 changed files with 15 additions and 84 deletions
+13 -47
View File
@@ -1,67 +1,33 @@
<!doctype html> <!doctype html>
<html lang="en"> <html lang="en">
<head> <head>
<title>Nitro</title>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="/favicon.ico" /> <link rel="icon" href="/favicon.ico" />
<meta <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
name="viewport" <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" <link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png" />
/> <link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png" />
<link <link rel="manifest" crossorigin="use-credentials" href="/site.webmanifest" />
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png"
/>
<link
rel="manifest"
crossorigin="use-credentials"
href="/site.webmanifest"
/>
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" /> <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#000000" />
<meta name="apple-mobile-web-app-title" content="Nitro" /> <meta name="apple-mobile-web-app-title" content="Nitro" />
<meta name="application-name" content="Nitro" /> <meta name="application-name" content="Nitro" />
<meta name="msapplication-TileColor" content="#000000" /> <meta name="msapplication-TileColor" content="#000000" />
<meta name="theme-color" content="#000000" /> <meta name="theme-color" content="#000000" />
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<meta <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
name="apple-mobile-web-app-status-bar-style" <base href="/client/" />
content="black-translucent"
/>
<base href="./" />
<title>Nitro</title>
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root" class="w-full h-full"></div> <div id="root" class="w-full h-full"></div>
<script> <script>
window.NitroConfig = { window.NitroConfig = {
"config.urls": ["/renderer-config.json", "/ui-config.json"], "config.urls": ["renderer-config.json?v=" + Math.random(), "ui-config.json?v=" + Math.random()],
"sso.ticket": "sso.ticket": new URLSearchParams(window.location.search).get("sso") || null,
new URLSearchParams(window.location.search).get("sso") || "forward.type": new URLSearchParams(window.location.search).get("room", ) ? 2 : -1,
null, "forward.id": new URLSearchParams(window.location.search).get("room") || 0,
"forward.type": new URLSearchParams(window.location.search).get( "friend.id": new URLSearchParams(window.location.search).get("friend") || 0,
"room",
)
? 2
: -1,
"forward.id":
new URLSearchParams(window.location.search).get("room") ||
0,
"friend.id":
new URLSearchParams(window.location.search).get("friend") ||
0,
}; };
</script> </script>
<script type="module" src="./src/index.tsx"></script> <script type="module" src="./src/index.tsx"></script>
+2 -2
View File
@@ -4,8 +4,8 @@
"homepage": ".", "homepage": ".",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "vite --host", "start": "vite --base=/client/ --host",
"build": "vite build", "build": "vite --base=/client/ build",
"build:prod": "npx browserslist@latest --update-db && yarn build", "build:prod": "npx browserslist@latest --update-db && yarn build",
"eslint": "eslint ./src" "eslint": "eslint ./src"
}, },
-35
View File
@@ -7,41 +7,6 @@
src: url("@/assets/webfonts/Ubuntu-C.ttf"); src: url("@/assets/webfonts/Ubuntu-C.ttf");
} }
@font-face {
font-family: Habbo;
src: url("@/assets/webfonts/Habbo.ttf");
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: Habbo;
src: url("@/assets/webfonts/Habbo-b.ttf");
font-weight: bold;
font-style: normal;
}
@font-face {
font-family: Habbo;
src: url("@/assets/webfonts/Habbo-i.ttf");
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: Habbo;
src: url("@/assets/webfonts/Habbo-m.ttf");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: Habbo;
src: url("@/assets/webfonts/Habbo-t.ttf");
font-weight: 100;
font-style: normal;
}
html, html,
body { body {
padding: 0; padding: 0;