diff --git a/tools/obscuroscan_v3/frontend/pages/address/[address].tsx b/tools/obscuroscan_v3/frontend/pages/address/[address].tsx new file mode 100644 index 0000000000..bb8a057374 --- /dev/null +++ b/tools/obscuroscan_v3/frontend/pages/address/[address].tsx @@ -0,0 +1,23 @@ +import Layout from "@/src/components/layouts/default-layout"; +import EmptyState from "@/src/components/modules/common/empty-state"; +import { Button } from "@/src/components/ui/button"; +import { useRouter } from "next/router"; +import React from "react"; + +const AddressDetails = () => { + const { push } = useRouter(); + + return ( + + push("/")}>Go Home} + /> + + ); +}; + +export default AddressDetails; diff --git a/tools/obscuroscan_v3/frontend/pages/tx/[hash].tsx b/tools/obscuroscan_v3/frontend/pages/tx/[hash].tsx new file mode 100644 index 0000000000..b1b9ea7402 --- /dev/null +++ b/tools/obscuroscan_v3/frontend/pages/tx/[hash].tsx @@ -0,0 +1,23 @@ +import Layout from "@/src/components/layouts/default-layout"; +import EmptyState from "@/src/components/modules/common/empty-state"; +import { Button } from "@/src/components/ui/button"; +import { useRouter } from "next/router"; +import React from "react"; + +const TransactionDetails = () => { + const { push } = useRouter(); + + return ( + + push("/")}>Go Home} + /> + + ); +}; + +export default TransactionDetails; diff --git a/tools/obscuroscan_v3/frontend/public/assets/images/clock.png b/tools/obscuroscan_v3/frontend/public/assets/images/clock.png new file mode 100644 index 0000000000..68de17ce0b Binary files /dev/null and b/tools/obscuroscan_v3/frontend/public/assets/images/clock.png differ diff --git a/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx b/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx index 8b2d0f52b5..12ca506fa5 100644 --- a/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx +++ b/tools/obscuroscan_v3/frontend/src/components/layouts/footer.tsx @@ -1,35 +1,43 @@ -import { socialLinks, version } from "@/src/lib/constants"; +import Link from "next/link"; +import { socialLinks, version } from "../../lib/constants"; import { GitHubLogoIcon, TwitterLogoIcon, DiscordLogoIcon, } from "@radix-ui/react-icons"; -import Link from "next/link"; export default function Footer() { return ( -
-
-
+
+
+ +
+

+ Version: {version || "Unknown"} +

+
Terms -
- Version: {version} -
diff --git a/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx b/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx index 395376f86c..ba62b14c3b 100644 --- a/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx +++ b/tools/obscuroscan_v3/frontend/src/components/modules/common/empty-state.tsx @@ -4,17 +4,28 @@ const EmptyState = ({ title, description, icon, + imageSrc, + imageAlt, action, }: { title?: string; description?: string; icon?: React.ReactNode; + imageSrc?: string; + imageAlt?: string; action?: React.ReactNode; }) => { return (
{icon &&
{icon}
} + {imageSrc && ( + {imageAlt + )} {title && (

{title} diff --git a/tools/walletextension/frontend/src/lib/constants.ts b/tools/walletextension/frontend/src/lib/constants.ts index 888467541a..c53be91c08 100644 --- a/tools/walletextension/frontend/src/lib/constants.ts +++ b/tools/walletextension/frontend/src/lib/constants.ts @@ -1,6 +1,7 @@ -export const tenGatewayAddress = process.env.NEXT_PUBLIC_API_GATEWAY_URL || "http://127.0.0.1:3000"; +export const tenGatewayAddress = + process.env.NEXT_PUBLIC_API_GATEWAY_URL || "http://127.0.0.1:3000"; -export const tenscanLink = "https://testnet.tenscan.com"; +export const tenscanLink = "https://testnet.tenscan.io"; export const socialLinks = { github: "https://github.com/ten-protocol",