diff --git a/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue b/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue index f60e07f..db63dff 100644 --- a/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue +++ b/src/components/BuyConfirmedComponent/BuyConfirmedComponent.vue @@ -1,7 +1,5 @@ diff --git a/src/components/CustomAlert/CustomAlert.vue b/src/components/CustomAlert/CustomAlert.vue index 6b00253..07ac099 100644 --- a/src/components/CustomAlert/CustomAlert.vue +++ b/src/components/CustomAlert/CustomAlert.vue @@ -6,11 +6,15 @@ const props = defineProps<{ const alertText = ref(""); const alertPaddingLeft = ref("18rem"); +const alertPaddingTop = ref("0rem"); if (props.type === "sell") { - alertPaddingLeft.value = "20rem"; -} else { - alertPaddingLeft.value = "18rem"; + alertPaddingLeft.value = "30%"; +} else if (props.type === "buy") { + alertPaddingLeft.value = "30%"; +} else if (props.type === "redirect") { + alertPaddingLeft.value = "35%"; + alertPaddingTop.value = "8rem"; } switch (props.type) { @@ -22,6 +26,9 @@ switch (props.type) { alertText.value = "Tudo certo! Os tokens já foram reservados e sua oferta está disponível."; break; + case "redirect": + alertText.value = "Existe uma compra em aberto. Continuar?"; + break; }