diff --git a/src/features/core/components/base-wrapper.tsx b/src/features/core/components/base-wrapper.tsx
index 05b2b50..85aee11 100644
--- a/src/features/core/components/base-wrapper.tsx
+++ b/src/features/core/components/base-wrapper.tsx
@@ -3,7 +3,7 @@
import { Abstraxion, useModal } from "@burnt-labs/abstraxion";
import Link from "next/link";
-import { basePath } from "@/constants";
+import { basePath, isTestnet } from "@/constants";
import NavAccount from "./nav-account";
@@ -21,10 +21,20 @@ export default function RootLayout({
style={{ borderBottom: "1px solid #333" }}
>
-
+
+
+ {isTestnet ? "Testnet" : "Mainnet"}
+
diff --git a/src/features/core/components/base.tsx b/src/features/core/components/base.tsx
index 455974a..8e2ad13 100644
--- a/src/features/core/components/base.tsx
+++ b/src/features/core/components/base.tsx
@@ -199,7 +199,7 @@ type ButtonProps = React.DetailedHTMLProps<
HTMLButtonElement
> & {
isLoading?: boolean;
- variant?: "danger" | "default" | "success";
+ variant?: "danger-naked" | "danger" | "default" | "success";
};
export const Button = ({
@@ -212,6 +212,9 @@ export const Button = ({
if (variant === "danger")
return "text-danger disabled:text-typo-150 bg-[#D745061A]";
+ if (variant === "danger-naked")
+ return "text-danger disabled:text-typo-150 bg-transparent border-[1px] border-danger disabled:border-typo-150";
+
if (variant === "success")
return "bg-success text-black disabled:bg-green-400";
diff --git a/src/features/core/components/nav-account.tsx b/src/features/core/components/nav-account.tsx
index 4cc0645..33678e5 100644
--- a/src/features/core/components/nav-account.tsx
+++ b/src/features/core/components/nav-account.tsx
@@ -5,49 +5,51 @@ import {
useAbstraxionSigningClient,
useModal,
} from "@burnt-labs/abstraxion";
-import { Button } from "@burnt-labs/ui";
-import { isTestnet } from "@/constants";
+import AddressShort from "@/features/staking/components/address-short";
import { wallet } from "../lib/icons";
-import { ButtonPill, FloatingDropdown } from "./base";
+import { Button, ClipboardCopy, FloatingDropdown } from "./base";
const Account = () => (
- Account{" "}
-
- {isTestnet ? "Testnet" : "Mainnet"}
-
);
const NavAccount = () => {
const [, setShowAbstraxion] = useModal();
- const { isConnected } = useAbstraxionAccount();
+ const { data, isConnected } = useAbstraxionAccount();
const { logout } = useAbstraxionSigningClient();
return (
{isConnected ? (
-
-
-
+
+
+
) : (
diff --git a/src/features/core/components/table.tsx b/src/features/core/components/table.tsx
index 0437fbf..ecffd23 100644
--- a/src/features/core/components/table.tsx
+++ b/src/features/core/components/table.tsx
@@ -3,6 +3,7 @@ import type { PropsWithChildren } from "react";
import { chevron } from "../lib/icons";
type Props = PropsWithChildren & {
+ mobile?: boolean;
onSort?: (method: SortMethod) => void;
rigthAlign?: boolean;
sort?: SortMethod;
@@ -11,6 +12,7 @@ type Props = PropsWithChildren & {
export const HeaderTitleBase = ({
children,
+ mobile,
onSort,
rigthAlign,
sort,
@@ -22,8 +24,9 @@ export const HeaderTitleBase = ({
return (