diff --git a/src/assets/generic-avatar.jpg b/src/assets/generic-avatar.jpg new file mode 100644 index 000000000..53004a9c4 Binary files /dev/null and b/src/assets/generic-avatar.jpg differ diff --git a/src/components/BalanceBox.tsx b/src/components/BalanceBox.tsx index 59a3fedf4..9c7452f76 100644 --- a/src/components/BalanceBox.tsx +++ b/src/components/BalanceBox.tsx @@ -7,7 +7,8 @@ import { AmountSats, FancyCard, Indicator, - InfoBox + InfoBox, + VStack } from "~/components"; import { useI18n } from "~/i18n/context"; import { useMegaStore } from "~/state/megaStore"; @@ -68,109 +69,127 @@ export function BalanceBox(props: { loading?: boolean; small?: boolean }) { - - {/* */} - }> - - -
- - {i18n.t("common.error_safe_mode")} - -
-
- + + + {/* */} + } + > + + +
+ + {i18n.t("common.error_safe_mode")} + +
+
+ +
+
+ +
+
+ +
+
+
+
+
+
+ + + } + > +
-
-
+
+
- + + {/*
*/} } > -
-
-
- +
+
+
+ +
+
+ +
-
- +
+ + + {i18n.t("common.pending")} + + + +
+ + 0n}> +
+ + swap + +
+
- -
- }> -
-
-
- -
-
- -
-
-
- - - {i18n.t("common.pending")} - - - -
- - 0n}> -
- - swap - -
-
-
-
- - + + ); diff --git a/src/components/LabelCircle.tsx b/src/components/LabelCircle.tsx index d2fc359ee..aacd91dd7 100644 --- a/src/components/LabelCircle.tsx +++ b/src/components/LabelCircle.tsx @@ -1,6 +1,7 @@ import { createResource, createSignal, JSX, Match, Switch } from "solid-js"; import { Dynamic } from "solid-js/web"; +import avatar from "~/assets/generic-avatar.jpg"; import off from "~/assets/icons/download-channel.svg"; import on from "~/assets/icons/upload-channel.svg"; import { HackActivityType } from "~/components"; @@ -88,6 +89,9 @@ export function LabelCircle(props: { channel close + + avatar + {text()} diff --git a/src/components/layout/Misc.tsx b/src/components/layout/Misc.tsx index 728aaae83..5f199a096 100644 --- a/src/components/layout/Misc.tsx +++ b/src/components/layout/Misc.tsx @@ -66,9 +66,14 @@ export const FancyCard: ParentComponent<{ tag?: JSX.Element; }> = (props) => { return ( -
- {props.children} -
+ +
+ {props.title} +
+
+ {props.children} +
+
); }; diff --git a/src/routes/Main.tsx b/src/routes/Main.tsx index 7286156d4..b6e84a908 100644 --- a/src/routes/Main.tsx +++ b/src/routes/Main.tsx @@ -138,9 +138,12 @@ export function WalletHeader(props: { loading: boolean }) { image_url={profileImage()} onClick={() => navigate("/profile")} /> -
+
+ navigate("/settings")}>
- Accounts + {/* Accounts */}