Merge pull request #86 from goteo/bugfix/shopping-cart-back-button-functionality-
fix: Fix shopping cart back button functionality
This commit is contained in:
@@ -292,7 +292,8 @@
|
||||
"global": {
|
||||
"btn": {
|
||||
"continue": "Continuar",
|
||||
"send": "Enviar"
|
||||
"send": "Enviar",
|
||||
"back": "Atrás"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -397,6 +397,7 @@
|
||||
"global": {
|
||||
"btn": {
|
||||
"continue": "Continuar",
|
||||
"back": "Atrás",
|
||||
"send": "Enviar"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -14,6 +14,25 @@ const accountingIdPlatoniq = Number(getPlatoniqAccountingId() || 0);
|
||||
<main class="wrapper">
|
||||
<div class="flex flex-row gap-8 py-10">
|
||||
<div class="flex w-1/2 flex-col gap-10">
|
||||
<button
|
||||
onclick="history.back()"
|
||||
class="group flex w-fit cursor-pointer items-center gap-2 text-[#575757] transition-colors duration-200 hover:text-[#3D3D3D]"
|
||||
>
|
||||
<svg
|
||||
class="h-5 w-5 transition-transform duration-200 group-hover:-translate-x-1"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
viewBox="0 0 24 24"
|
||||
>
|
||||
<path
|
||||
stroke-linecap="round"
|
||||
stroke-linejoin="round"
|
||||
stroke-width="2"
|
||||
d="M15 19l-7-7 7-7"></path>
|
||||
</svg>
|
||||
<span class="font-medium">{t("global.btn.back")}</span>
|
||||
</button>
|
||||
|
||||
<div class="flex flex-col gap-4">
|
||||
<h2 class="text-[40px]/[48px] font-bold tracking-[0%] text-[#3D3D3D]">
|
||||
{t("checkout.title")}
|
||||
|
||||
Reference in New Issue
Block a user