diff --git a/Checkfailed.html b/Checkfailed.html index 84cf7b0..1bf52a5 100644 --- a/Checkfailed.html +++ b/Checkfailed.html @@ -32,4 +32,3 @@

Thank you for using nginx.

- diff --git a/index.html b/index.html index 743486e..2f93031 100644 --- a/index.html +++ b/index.html @@ -3,17 +3,9 @@ - - - - - - - - + + + + + + ); +} diff --git a/src/index.tsx b/src/index.tsx index b6e6945..07d40bd 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2,6 +2,7 @@ import { render } from "preact"; import { Suspense, lazy } from "preact/compat"; import { LoadSuspense } from "./LoadSuspense"; import { Helmet } from "react-helmet"; +import Meta from "./components/Meta"; const Routes = lazy(() => import("./routes")); @@ -10,6 +11,8 @@ const theme = localStorage.getItem("theme") || "main"; export default function App() { return (
+ {window.location.origin === "https://nebulaproxy.io" && } + {/* {window.location.origin === "http://localhost:8080" && } */} diff --git a/src/pages/Faq.css b/src/pages/Faq.css index 3c35ea7..d8570a5 100644 --- a/src/pages/Faq.css +++ b/src/pages/Faq.css @@ -1,4 +1,4 @@ .highlighted { background-color: var(--navbar-text-color); - transition: background-color 1s ease; + transition: background-color 1s ease; } diff --git a/src/pages/Home.tsx b/src/pages/Home.tsx index 7700497..26e6d84 100644 --- a/src/pages/Home.tsx +++ b/src/pages/Home.tsx @@ -45,7 +45,7 @@ export function Home() { const usUrl = "https://us." + nonProtocolOrigin; const jpUrl = "https://jp." + nonProtocolOrigin; - console.log(usUrl, jpUrl) + console.log(usUrl, jpUrl); const [usTime, jpTime] = await Promise.all([ ping(usUrl), @@ -157,7 +157,7 @@ export function Home() { } >
{ if (event.key === "Enter") { - handleChange() + handleChange(); } }} id="input" - className="font-roboto flex h-14 w-56 flex-row rounded-2xl border border-input-border-color bg-input p-4 text-center text-xl" + className="font-roboto flex h-14 w-56 flex-row rounded-2xl border border-input-border-color bg-input p-4 text-center text-xl text-input-text" />
{t("settings.bare.select")} diff --git a/src/pages/Settings/ProxyInput.tsx b/src/pages/Settings/ProxyInput.tsx index 14682f0..6c397d7 100644 --- a/src/pages/Settings/ProxyInput.tsx +++ b/src/pages/Settings/ProxyInput.tsx @@ -116,17 +116,17 @@ function ProxyInput(props: BareInputProps) { } }} id="pinput" - className="font-roboto flex h-14 w-56 flex-row rounded-2xl border border-input-border-color bg-input p-4 text-center text-sm" + className="font-roboto flex h-14 w-56 flex-row rounded-2xl border text-input-text border-input-border-color bg-input p-4 text-center text-sm" />
{t("settings.bare.select")}
{t("settings.httpProxy.reset")}