From 86dc44d0968556c0778b322f3189e67d8a27cc43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Thu, 12 Jan 2023 16:21:40 +0800 Subject: [PATCH] Add empty state for wallet transactions view --- app/views/wallet/transactions.html.erb | 14 +++++++++++--- .../illustrations/undraw_digital_currency_qpak.svg | 1 + 2 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 public/img/illustrations/undraw_digital_currency_qpak.svg diff --git a/app/views/wallet/transactions.html.erb b/app/views/wallet/transactions.html.erb index 9228d48..44859e3 100644 --- a/app/views/wallet/transactions.html.erb +++ b/app/views/wallet/transactions.html.erb @@ -42,9 +42,17 @@ <% end %> <% else %> -

- No transactions yet. As soon as you start receiving sats, you will find some entries here. -

+
+

+ <%= image_tag("/img/illustrations/undraw_digital_currency_qpak.svg", class: 'h-48') %> +

+

+ No transactions yet +

+

+ As soon as you start receiving sats, you will find some entries here. +

+
<% end %> <% end %> diff --git a/public/img/illustrations/undraw_digital_currency_qpak.svg b/public/img/illustrations/undraw_digital_currency_qpak.svg new file mode 100644 index 0000000..acbbfc6 --- /dev/null +++ b/public/img/illustrations/undraw_digital_currency_qpak.svg @@ -0,0 +1 @@ +digital currency \ No newline at end of file