diff --git a/apps/helix/src/routes/error.tsx b/apps/helix/src/routes/error.tsx index d62b40fe..340cf2f0 100644 --- a/apps/helix/src/routes/error.tsx +++ b/apps/helix/src/routes/error.tsx @@ -5,7 +5,7 @@ export default function Error() { // console.error(error); return ( -
+

Oops!

Sorry, an unexpected error has occurred.

diff --git a/apps/helix/src/routes/not-found.tsx b/apps/helix/src/routes/not-found.tsx index 60f6cee7..851c9f6e 100644 --- a/apps/helix/src/routes/not-found.tsx +++ b/apps/helix/src/routes/not-found.tsx @@ -1,17 +1,5 @@ -import { Link } from "react-router-dom"; +import { Navigate } from "react-router-dom"; export default function NotFound() { - return ( - <> -

-
-

Not Found !

-

Could not find requested resource

- - Return Home - -
-
- - ); + return ; } diff --git a/apps/helixbox-app/.env.mainnet b/apps/helixbox-app/.env.mainnet index a62dabbe..9559488b 100644 --- a/apps/helixbox-app/.env.mainnet +++ b/apps/helixbox-app/.env.mainnet @@ -1,2 +1,2 @@ -VITE_GRAPHQL_ENDPOINT=https://apollo.helixbridge.app/graphql +VITE_GRAPHQL_ENDPOINT=https://apollo.helix.box/graphql VITE_NETWORK_TYPE=mainnet diff --git a/apps/helixbox-app/.env.testnet b/apps/helixbox-app/.env.testnet index 104031b3..642ce135 100644 --- a/apps/helixbox-app/.env.testnet +++ b/apps/helixbox-app/.env.testnet @@ -1,2 +1,2 @@ -VITE_GRAPHQL_ENDPOINT=https://apollo-test.helixbridge.app/graphql +VITE_GRAPHQL_ENDPOINT=https://apollo-test.helix.box/graphql VITE_NETWORK_TYPE=testnet diff --git a/apps/helixbox-app/src/components/footer.tsx b/apps/helixbox-app/src/components/footer.tsx index ba4ae5ef..88c76a6e 100644 --- a/apps/helixbox-app/src/components/footer.tsx +++ b/apps/helixbox-app/src/components/footer.tsx @@ -33,17 +33,17 @@ function Links() { useEffect(() => { if (window.location.hostname === "app.helix.box") { - setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://testnet.app.helix.box" })); - } else if (window.location.hostname === "testnet.app.helix.box") { + setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://testnet-app.helix.box" })); + } else if (window.location.hostname === "testnet-app.helix.box") { setNetwork((prev) => ({ ...prev, label: "Mainnet", path: "https://app.helix.box" })); - } else if (window.location.hostname === "helix-stg-mainnet.vercel.app") { - setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://helix-stg-testnet.vercel.app" })); - } else if (window.location.hostname === "helix-stg-testnet.vercel.app") { - setNetwork((prev) => ({ ...prev, label: "Mainnet", path: "https://helix-stg-mainnet.vercel.app" })); - } else if (window.location.hostname === "helix-dev-mainnet.vercel.app") { - setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://helix-dev-testnet.vercel.app" })); - } else if (window.location.hostname === "helix-dev-testnet.vercel.app") { - setNetwork((prev) => ({ ...prev, label: "Mainnet", path: "https://helix-dev-mainnet.vercel.app" })); + } else if (window.location.hostname === "helixbox-stg-mainnet.vercel.app") { + setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://helixbox-stg-testnet.vercel.app" })); + } else if (window.location.hostname === "helixbox-stg-testnet.vercel.app") { + setNetwork((prev) => ({ ...prev, label: "Mainnet", path: "https://helixbox-stg-mainnet.vercel.app" })); + } else if (window.location.hostname === "helixbox-dev-mainnet.vercel.app") { + setNetwork((prev) => ({ ...prev, label: "Testnet", path: "https://helixbox-dev-testnet.vercel.app" })); + } else if (window.location.hostname === "helixbox-dev-testnet.vercel.app") { + setNetwork((prev) => ({ ...prev, label: "Mainnet", path: "https://helixbox-dev-mainnet.vercel.app" })); } else { setNetwork((prev) => ({ ...prev, label: "", path: "" })); } diff --git a/apps/helixbox-app/src/routes/not-found.tsx b/apps/helixbox-app/src/routes/not-found.tsx index 60f6cee7..851c9f6e 100644 --- a/apps/helixbox-app/src/routes/not-found.tsx +++ b/apps/helixbox-app/src/routes/not-found.tsx @@ -1,17 +1,5 @@ -import { Link } from "react-router-dom"; +import { Navigate } from "react-router-dom"; export default function NotFound() { - return ( - <> -
-
-

Not Found !

-

Could not find requested resource

- - Return Home - -
-
- - ); + return ; } diff --git a/apps/helixbox-home/public/images/close.svg b/apps/helixbox-home/public/images/close.svg new file mode 100644 index 00000000..d1e4f322 --- /dev/null +++ b/apps/helixbox-home/public/images/close.svg @@ -0,0 +1,6 @@ + + + diff --git a/apps/helixbox-home/src/components/homepage-header.tsx b/apps/helixbox-home/src/components/homepage-header.tsx index 40c27ca1..879f41db 100644 --- a/apps/helixbox-home/src/components/homepage-header.tsx +++ b/apps/helixbox-home/src/components/homepage-header.tsx @@ -21,7 +21,7 @@ const navigations: ( export default function HomepageHeader() { return (
- + Helixbox logo diff --git a/apps/helixbox-home/src/components/homepage-products/index.tsx b/apps/helixbox-home/src/components/homepage-products/index.tsx index 20f74bf0..0c63e12e 100644 --- a/apps/helixbox-home/src/components/homepage-products/index.tsx +++ b/apps/helixbox-home/src/components/homepage-products/index.tsx @@ -16,7 +16,7 @@ export default function HomepageProducts() { ))}
-
+
diff --git a/apps/helixbox-home/tailwind.config.js b/apps/helixbox-home/tailwind.config.js index b895ce0d..10472556 100644 --- a/apps/helixbox-home/tailwind.config.js +++ b/apps/helixbox-home/tailwind.config.js @@ -22,10 +22,10 @@ export default { maxWidth: { "8xl": "90rem", }, - screens: { - xl: "1200px", - "2xl": "1200px", - }, + // screens: { + // xl: "1200px", + // "2xl": "1200px", + // }, keyframes: { "scroll-to-bottom": { "0%": { top: "1lh" },