Make sure this builds
This commit is contained in:
@@ -49,9 +49,11 @@ const path = Astro.url.pathname;
|
||||
<a href="/" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path === '/' ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||
<Icon name="lucide:house" class="text-lg w-6 h-6" /> Home
|
||||
</a>
|
||||
<a href="/games" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/games') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||
{/** This needs to be added later
|
||||
<a href="/games" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/games') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||
<Icon name="lucide:gamepad" class="text-lg w-6 h-6" /> Games
|
||||
</a>
|
||||
</a>
|
||||
*/}
|
||||
<a href="/apps" class=`flex flex-row gap-2 items-center rounded-lg h-10 w-full whitespace-nowrap px-4 py-2 font-medium text-sm ${path.includes('/apps') ? 'bg-(--secondary)': 'bg-(--background)'} transition-all duration-200 hover:bg-(--secondary) hover:scale-105 focus:ring-(--ring) focus:ring-2`>
|
||||
<Icon name="lucide:layout-grid" class="text-lg w-6 h-6" /> Apps
|
||||
</a>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
const init = async () => {
|
||||
settings.searchEngine();
|
||||
settings.proxy();
|
||||
await sw.wispServer();
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ const { active, title } = Astro.props;
|
||||
<Layout>
|
||||
<div class="h-full w-full flex font-inter">
|
||||
<div class="w-1/4 bg-(--background) flex mt-14">
|
||||
<SettingsNav active={active} />
|
||||
<SettingsNav active={active} title={title} />
|
||||
</div>
|
||||
<div class="h-full mt-14 flex-grow px-12 py-8 flex flex-col">
|
||||
<h1 class="text-4xl font-semibold"> {title} </h1>
|
||||
|
||||
@@ -7,32 +7,32 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||
<p> Thanks to all the wonderful people who have contributed! </p>
|
||||
<ul class="list-disc pl-5 mt-2 font-bold">
|
||||
<li>
|
||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/hyperficial" target="_blank" ref="noopener noreferrer">
|
||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/hyperficial" target="_blank" rel="noopener noreferrer">
|
||||
Owski
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/proudparrot2" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
<a href="https://github.com/proudparrot2" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
ProudParrot
|
||||
<a>
|
||||
</li>
|
||||
<li>
|
||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/motortruck1221" target="_blank" ref="noopener noreferrer">
|
||||
<a class="underline hover:text-(--accent) transition-colors duration-300" href="https://github.com/motortruck1221" target="_blank" rel="noopener noreferrer">
|
||||
MotorTruck1221
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://mercurywork.shop" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
<a href="https://mercurywork.shop" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
The wonderful people over at MercuryWorkshop
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/titaniumnetwork-dev" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
<a href="https://github.com/titaniumnetwork-dev" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
Everyone over at TitaniumNetwork
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/RadiusProxy/Radius/graphs/contributors" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
<a href="https://github.com/RadiusProxy/Radius/graphs/contributors" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) transition-colors duration-300">
|
||||
And Everyone else who has contributed!
|
||||
</a>
|
||||
</li>
|
||||
@@ -42,22 +42,22 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||
<p class="mt-2"> Projects that we use: </p>
|
||||
<ul class="list-disc pl-5 mt-2 font-bold">
|
||||
<li>
|
||||
<a href="https://github.com/titaniumnetwork-dev/ultraviolet" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
<a href="https://github.com/titaniumnetwork-dev/ultraviolet" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
Ultraviolet
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/mercuryworkshop/scramjet" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
<a href="https://github.com/mercuryworkshop/scramjet" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
Scramjet
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/ading2210/libcurl.js" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
<a href="https://github.com/ading2210/libcurl.js" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
Libcurl.js
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="https://github.com/mercuryworkshop/epoxy-tls" target="_blank" ref="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
<a href="https://github.com/mercuryworkshop/epoxy-tls" target="_blank" rel="noopener noreferrer" class="underline transition-colors duration-300 hover:text-(--accent)">
|
||||
Epoxy TLS
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -8,7 +8,7 @@ import SettingsLayout from "@layouts/SettingsLayout.astro";
|
||||
<li> TikTok: @radiusproxy </li>
|
||||
<li> YouTube: @RadiusProxy </li>
|
||||
<li> Discord:
|
||||
<a href="https://discord.gg/cCfytCX6Sv" target="_blank" ref="noopener noreferrer" class="underline hover:text-(--accent) duration-300 transition-colors">
|
||||
<a href="https://discord.gg/cCfytCX6Sv" target="_blank" rel="noopener noreferrer" class="underline hover:text-(--accent) duration-300 transition-colors">
|
||||
Join Now!
|
||||
</a>
|
||||
</li>
|
||||
|
||||
@@ -72,8 +72,8 @@ class Settings {
|
||||
: document.documentElement.className = theme || this.#storageManager.getVal('theme');
|
||||
}
|
||||
|
||||
proxy(prox: 'uv' | 'sj') {
|
||||
this.#storageManager.setVal('proxy', prox);
|
||||
proxy(prox?: 'uv' | 'sj') {
|
||||
this.#storageManager.setVal('proxy', prox || 'uv');
|
||||
}
|
||||
|
||||
searchEngine(engine?: string) {
|
||||
|
||||
Reference in New Issue
Block a user