diff --git a/src/components/Activity.tsx b/src/components/Activity.tsx index 9171864..9026208 100644 --- a/src/components/Activity.tsx +++ b/src/components/Activity.tsx @@ -8,12 +8,12 @@ import { prettyPrintTime } from '~/utils/prettyPrintTime'; import { JsonModal } from '~/components/JsonModal'; import mempoolTxUrl from '~/utils/mempoolTxUrl'; -const THREE_COLUMNS = 'grid grid-cols-[auto,1fr,auto] gap-4 py-2 px-2 border-b border-neutral-800 last:border-b-0' -const CENTER_COLUMN = 'min-w-0 overflow-hidden max-w-full' -const MISSING_LABEL = 'py-1 px-2 bg-white/10 rounded inline-block text-sm' -const RIGHT_COLUMN = 'flex flex-col items-right text-right max-w-[8rem]' +export const THREE_COLUMNS = 'grid grid-cols-[auto,1fr,auto] gap-4 py-2 px-2 border-b border-neutral-800 last:border-b-0' +export const CENTER_COLUMN = 'min-w-0 overflow-hidden max-w-full' +export const MISSING_LABEL = 'py-1 px-2 bg-white/10 rounded inline-block text-sm' +export const RIGHT_COLUMN = 'flex flex-col items-right text-right max-w-[8rem]' -type OnChainTx = { +export type OnChainTx = { txid: string received: number sent: number diff --git a/src/routes/Activity.tsx b/src/routes/Activity.tsx new file mode 100644 index 0000000..9a7805c --- /dev/null +++ b/src/routes/Activity.tsx @@ -0,0 +1,109 @@ +import { For, ParentComponent, createMemo, createSignal } from "solid-js"; +import { CENTER_COLUMN, MISSING_LABEL, OnChainTx, RIGHT_COLUMN, THREE_COLUMNS } from "~/components/Activity"; +import { DeleteEverything } from "~/components/DeleteEverything"; +import { JsonModal } from "~/components/JsonModal"; +import KitchenSink from "~/components/KitchenSink"; +import NavBar from "~/components/NavBar"; +import { Card, DefaultMain, Hr, LargeHeader, NodeManagerGuard, SafeArea, SmallAmount, SmallHeader, VStack } from "~/components/layout"; +import { BackButton } from "~/components/layout/BackButton"; +import { StyledRadioGroup } from "~/components/layout/Radio"; +import mempoolTxUrl from "~/utils/mempoolTxUrl"; +import send from '~/assets/icons/send.svg'; +import receive from '~/assets/icons/receive.svg'; +import { prettyPrintTime } from "~/utils/prettyPrintTime"; + +const NAMES = ["alice", "bob", "carol", "dave", "ethan", "frank", "graham", "hancock"] + +function ContactRow() { + return ( +
+ ) +} + +const CHOICES = [ + { value: "mutiny", label: "Mutiny", caption: "Your wallet activity" }, + { value: "nostr", label: "Zaps", caption: "Your friends on nostr" }, +] + +const SubtleText: ParentComponent = (props) => { + returnIf you know what you're doing you're in the right place!