From 1b32925add3a938ab8c0b330aa22fed4dc45c76d Mon Sep 17 00:00:00 2001 From: andrewlalis Date: Sat, 6 Sep 2025 15:19:44 -0400 Subject: [PATCH] Add fancier Account Card. --- web-app/src/components/AccountCard.vue | 110 ++++++++++++++++++++++ web-app/src/pages/home/AccountsModule.vue | 29 +----- 2 files changed, 112 insertions(+), 27 deletions(-) create mode 100644 web-app/src/components/AccountCard.vue diff --git a/web-app/src/components/AccountCard.vue b/web-app/src/components/AccountCard.vue new file mode 100644 index 0000000..6a1dc00 --- /dev/null +++ b/web-app/src/components/AccountCard.vue @@ -0,0 +1,110 @@ + + + diff --git a/web-app/src/pages/home/AccountsModule.vue b/web-app/src/pages/home/AccountsModule.vue index 1bcf983..3faf20a 100644 --- a/web-app/src/pages/home/AccountsModule.vue +++ b/web-app/src/pages/home/AccountsModule.vue @@ -2,6 +2,7 @@ import { AccountApiClient, type Account, type CurrencyBalance } from '@/api/account' import { formatMoney } from '@/api/data' import { getSelectedProfile } from '@/api/profile' +import AccountCard from '@/components/AccountCard.vue' import AppButton from '@/components/AppButton.vue' import HomeModule from '@/components/HomeModule.vue' import { onMounted, ref, type Ref } from 'vue' @@ -26,33 +27,7 @@ onMounted(async () => {