Misc changes, notably moving ProxyRegistrar out of Layout.astro
This commit is contained in:
parent
772ad1a884
commit
760e1b8ec8
3 changed files with 2 additions and 3 deletions
|
|
@ -9,7 +9,6 @@ const proxyList = [
|
||||||
{ name: t("settings.proxy.auto"), value: "auto" },
|
{ name: t("settings.proxy.auto"), value: "auto" },
|
||||||
{ name: t("ultraviolet"), value: "ultraviolet" },
|
{ name: t("ultraviolet"), value: "ultraviolet" },
|
||||||
{ name: "Rammerhead", value: "rammerhead" },
|
{ name: "Rammerhead", value: "rammerhead" },
|
||||||
{ name: "Dynamic", value: "dynamic" },
|
|
||||||
];
|
];
|
||||||
|
|
||||||
const searchEngineList = [
|
const searchEngineList = [
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@ import Footer from "@components/UI/Footer.astro";
|
||||||
import ThemeLoader from "@components/ThemeLoader.astro";
|
import ThemeLoader from "@components/ThemeLoader.astro";
|
||||||
import CloakLoader from "@components/CloakLoader.astro";
|
import CloakLoader from "@components/CloakLoader.astro";
|
||||||
import WelcomeLogging from "@components/WelcomeLogging.astro";
|
import WelcomeLogging from "@components/WelcomeLogging.astro";
|
||||||
import ProxyRegistrar from "@components/ProxyRegistrar.astro";
|
|
||||||
|
|
||||||
type Preload = {
|
type Preload = {
|
||||||
href: string;
|
href: string;
|
||||||
|
|
@ -70,7 +69,6 @@ const { title, optionalPreloads } = Astro.props;
|
||||||
<Header />
|
<Header />
|
||||||
<slot transition:animate={"fade"} />
|
<slot transition:animate={"fade"} />
|
||||||
<WelcomeLogging />
|
<WelcomeLogging />
|
||||||
<ProxyRegistrar />
|
|
||||||
<Footer />
|
<Footer />
|
||||||
<style is:global>
|
<style is:global>
|
||||||
:root {
|
:root {
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,7 @@ import Layout from "../../layouts/Layout.astro";
|
||||||
|
|
||||||
import { STATIC_PATHS, i18n } from "@i18n/utils";
|
import { STATIC_PATHS, i18n } from "@i18n/utils";
|
||||||
import Link from "@components/UI/Link.astro";
|
import Link from "@components/UI/Link.astro";
|
||||||
|
import ProxyRegistrar from "@components/ProxyRegistrar.astro";
|
||||||
const t = i18n.inferLangUseTranslations(Astro.url);
|
const t = i18n.inferLangUseTranslations(Astro.url);
|
||||||
|
|
||||||
export function getStaticPaths() {
|
export function getStaticPaths() {
|
||||||
|
|
@ -60,6 +61,7 @@ export function getStaticPaths() {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<ProxyRegistrar />
|
||||||
</Layout>
|
</Layout>
|
||||||
<script>
|
<script>
|
||||||
import { TransportMgr } from "@components/ts/TransportManager";
|
import { TransportMgr } from "@components/ts/TransportManager";
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue