diff --git a/components/transaction/zksync/era/ConfirmTransactionModal.vue b/components/transaction/zksync/era/ConfirmTransactionModal.vue index 1ae9fff81..a6a5622b0 100644 --- a/components/transaction/zksync/era/ConfirmTransactionModal.vue +++ b/components/transaction/zksync/era/ConfirmTransactionModal.vue @@ -94,7 +94,6 @@ v-else-if="transaction?.type === 'withdrawal'" v-bind="$attrs" :transaction="transactionLineItem" - :in-progress="!transactionCommitted" /> @@ -266,7 +265,7 @@ const makeTransaction = async () => { }) .catch((err) => { transactionCommitted.value = false; - error.value = err; + error.value = err as Error; status.value = "not-started"; }); } diff --git a/components/transaction/zksync/era/EraTransferSuccessfulModal.vue b/components/transaction/zksync/era/EraTransferSuccessfulModal.vue index d2cba2b48..8a69e527f 100644 --- a/components/transaction/zksync/era/EraTransferSuccessfulModal.vue +++ b/components/transaction/zksync/era/EraTransferSuccessfulModal.vue @@ -66,7 +66,7 @@ import ProgressPlane from "@/assets/lottie/progress-plane.json"; import SuccessConfetti from "@/assets/lottie/success-confetti.json"; import type { EraTransaction } from "@/utils/zksync/era/mappers"; -import type { PropType } from "nuxt/dist/app/compat/capi"; +import type { PropType } from "vue"; import { useDestinationsStore } from "@/store/destinations"; import { useEraProviderStore } from "@/store/zksync/era/provider"; diff --git a/components/transaction/zksync/era/EraWithdrawalSuccessfulModal.vue b/components/transaction/zksync/era/EraWithdrawalSuccessfulModal.vue index aa45866da..8a94e6ae1 100644 --- a/components/transaction/zksync/era/EraWithdrawalSuccessfulModal.vue +++ b/components/transaction/zksync/era/EraWithdrawalSuccessfulModal.vue @@ -12,7 +12,8 @@

- Your funds will be available on the {{ destinations.ethereum.label }} after a + Your funds will be available on the {{ destinations.ethereum.label }} (L1) + after a - - - + + + diff --git a/components/transaction/zksync/lite/TransferSuccessfulModal.vue b/components/transaction/zksync/lite/TransferSuccessfulModal.vue new file mode 100644 index 000000000..504398523 --- /dev/null +++ b/components/transaction/zksync/lite/TransferSuccessfulModal.vue @@ -0,0 +1,126 @@ + + + + + diff --git a/components/transaction/zksync/lite/WithdrawSuccessfulModal.vue b/components/transaction/zksync/lite/WithdrawSuccessfulModal.vue new file mode 100644 index 000000000..65ef7c288 --- /dev/null +++ b/components/transaction/zksync/lite/WithdrawSuccessfulModal.vue @@ -0,0 +1,98 @@ + + + + + diff --git a/components/transaction/zksync/lite/deposit/ConfirmTransactionModal.vue b/components/transaction/zksync/lite/deposit/ConfirmTransactionModal.vue index bc478faae..79ebefd47 100644 --- a/components/transaction/zksync/lite/deposit/ConfirmTransactionModal.vue +++ b/components/transaction/zksync/lite/deposit/ConfirmTransactionModal.vue @@ -109,9 +109,9 @@

- Your funds will be available on {{ destinations.zkSyncLite.label }} after the - transaction is committed on {{ destinations.ethereum.label }} and then - processed on {{ destinations.zkSyncLite.label }}{{ destinations.zkSyncLite.label }} (L2) + after the transaction is committed on {{ destinations.ethereum.label }} and + then processed on {{ destinations.zkSyncLite.label }}. You are free to close this page.

@@ -292,7 +292,7 @@ const makeTransaction = async () => { }) .catch((err) => { transactionCommitted.value = false; - error.value = err; + error.value = err as Error; status.value = "not-started"; }); } diff --git a/tailwind.config.js b/tailwind.config.js index bef8154e7..35ef06676 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -37,6 +37,19 @@ module.exports = { 800: "#27274E", 900: "#11142B", }, + /* primary: { + 50: "#D9E3FF", + 100: "#A6BFFF", + 200: "#739AFF", + 300: "#4075FF", + 400: "#1755F4", + 500: "#1650E5", + 600: "#2663FF", + 700: "#1347CC", + 800: "#113EB2", + 900: "#0C2C80", + 950: "#071B4D", + }, */ }, }, screens: {