diff --git a/apps/machine/src/components/PickaxeIcon.vue b/apps/machine/src/components/PickaxeIcon.vue new file mode 100644 index 0000000..a96a6aa --- /dev/null +++ b/apps/machine/src/components/PickaxeIcon.vue @@ -0,0 +1,86 @@ + + + diff --git a/apps/machine/src/style.css b/apps/machine/src/style.css index a6052e1..870be78 100644 --- a/apps/machine/src/style.css +++ b/apps/machine/src/style.css @@ -526,31 +526,31 @@ animation: float 3s ease-in-out infinite; } -/* Pickaxe mining swing */ +/* Pickaxe mining swing — overhead strike into ground */ @keyframes pickaxe { 0% { - transform: rotate(0deg); + transform: rotate(-135deg); } 20% { - transform: rotate(15deg); + transform: rotate(-150deg); } 40% { - transform: rotate(-60deg); + transform: rotate(-45deg); } 45% { - transform: rotate(-30deg); + transform: rotate(-75deg); } 50% { - transform: rotate(-30deg); + transform: rotate(-75deg); } 100% { - transform: rotate(0deg); + transform: rotate(-135deg); } } @utility animate-pickaxe { animation: pickaxe 0.8s ease-in-out infinite; - transform-origin: bottom right; + transform-origin: 0% 100%; display: inline-block; } diff --git a/apps/machine/src/views/CashInView.vue b/apps/machine/src/views/CashInView.vue index c6c49d1..7956ca7 100644 --- a/apps/machine/src/views/CashInView.vue +++ b/apps/machine/src/views/CashInView.vue @@ -7,6 +7,7 @@ import { Alert, AlertDescription } from '@/components/ui/alert' import { Input } from '@/components/ui/input' import QRCode from '@/components/QRCode.vue' import StepIndicator from '@/components/StepIndicator.vue' +import PickaxeIcon from '@/components/PickaxeIcon.vue' const router = useRouter() const atmStore = useAtmStore() @@ -196,7 +197,7 @@ const isProcessing = computed(() => atmStore.isPayingInvoice) key="fetchingRate" class="flex flex-1 flex-col items-center justify-center gap-6" > - ⛏️ +

Fetching exchange rate...

@@ -300,7 +301,7 @@ const isProcessing = computed(() => atmStore.isPayingInvoice) key="generatingNdebit" class="flex flex-1 flex-col items-center justify-center gap-6" > - ⛏️ +

Preparing your withdraw code...

@@ -326,7 +327,7 @@ const isProcessing = computed(() => atmStore.isPayingInvoice)
- ⛏️ +

Waiting for wallet scan...

@@ -364,13 +365,13 @@ const isProcessing = computed(() => atmStore.isPayingInvoice) class="flex w-full lg:w-[48%] flex-col items-center justify-center bg-foreground/5 p-4 lg:p-6" >
- ⛏️ +
- ⛏️ +

Generating...

diff --git a/apps/machine/src/views/CashOutView.vue b/apps/machine/src/views/CashOutView.vue index 8176fa1..4881346 100644 --- a/apps/machine/src/views/CashOutView.vue +++ b/apps/machine/src/views/CashOutView.vue @@ -7,6 +7,7 @@ import { Badge } from '@/components/ui/badge' import { Alert, AlertDescription } from '@/components/ui/alert' import QRCode from '@/components/QRCode.vue' import StepIndicator from '@/components/StepIndicator.vue' +import PickaxeIcon from '@/components/PickaxeIcon.vue' const router = useRouter() const atmStore = useAtmStore() @@ -162,7 +163,7 @@ function formatFiat(cents: number): string { key="fetchingRate" class="flex flex-1 flex-col items-center justify-center gap-6" > - ⛏️ +

Fetching exchange rate...

@@ -269,7 +270,7 @@ function formatFiat(cents: number): string { key="generatingInvoice" class="flex flex-1 flex-col items-center justify-center gap-6" > - ⛏️ +

Creating invoice...

@@ -296,7 +297,7 @@ function formatFiat(cents: number): string {
- ⛏️ +

Waiting for payment...

@@ -333,7 +334,7 @@ function formatFiat(cents: number): string {
- ⛏️ +

Generating invoice...

@@ -345,7 +346,7 @@ function formatFiat(cents: number): string { key="dispensingCash" class="flex flex-1 flex-col items-center justify-center gap-6" > - ⛏️ +

Dispensing cash...

Please wait