diff --git a/messages/en.json b/messages/en.json index a93c9cb..89ab309 100644 --- a/messages/en.json +++ b/messages/en.json @@ -83,6 +83,7 @@ "location": "Location", "unitsAvailable": "Units available", "tableDescription": "A list of your shopping cart items.", + "backToStorage": "Back to storage", "cartEmpty": "Your shopping cart is empty." } } diff --git a/messages/no.json b/messages/no.json index bd292e4..80953f0 100644 --- a/messages/no.json +++ b/messages/no.json @@ -83,6 +83,7 @@ "location": "Plass", "unitsAvailable": "Stk tilgjengelig", "tableDescription": "En liste over handlekurven din.", + "backToStorage": "Tilbake til lageret", "cartEmpty": "Handlekurven din er tom." } } diff --git a/src/app/[locale]/(default)/storage/shopping-cart/page.tsx b/src/app/[locale]/(default)/storage/shopping-cart/page.tsx index 6ff8668..2985d8b 100644 --- a/src/app/[locale]/(default)/storage/shopping-cart/page.tsx +++ b/src/app/[locale]/(default)/storage/shopping-cart/page.tsx @@ -1,5 +1,8 @@ import { ShoppingCartTable } from '@/components/storage/ShoppingCartTable'; import ShoppingCartTableSkeleton from '@/components/storage/ShoppingCartTableSkeleton'; +import { Button } from '@/components/ui/Button'; +import { Link } from '@/lib/navigation'; +import { ArrowLeft } from 'lucide-react'; import { useTranslations } from 'next-intl'; import { Suspense } from 'react'; @@ -21,6 +24,12 @@ export default function StorageShoppingCartPage() { }> + + + ); }