From 400f6988a5fc8d23a940ba591eb0b77ef5d01dd1 Mon Sep 17 00:00:00 2001 From: ZeroWave022 <36341766+ZeroWave022@users.noreply.github.com> Date: Thu, 29 Aug 2024 16:52:08 +0200 Subject: [PATCH 01/79] refactor: Move layout back to storage page This is done so it doesn't apply the storage header to all subpages as well --- src/app/[locale]/(default)/storage/layout.tsx | 40 ------------------- src/app/[locale]/(default)/storage/page.tsx | 23 +++++++++++ 2 files changed, 23 insertions(+), 40 deletions(-) delete mode 100644 src/app/[locale]/(default)/storage/layout.tsx diff --git a/src/app/[locale]/(default)/storage/layout.tsx b/src/app/[locale]/(default)/storage/layout.tsx deleted file mode 100644 index c941e8f..0000000 --- a/src/app/[locale]/(default)/storage/layout.tsx +++ /dev/null @@ -1,40 +0,0 @@ -import { useTranslations } from 'next-intl'; - -import { Button } from '@/components/ui/Button'; - -import { - Tooltip, - TooltipContent, - TooltipProvider, - TooltipTrigger, -} from '@/components/ui/Tooltip'; -import { ShoppingCart } from 'lucide-react'; - -export default function StorageLayout({ - children, -}: { - children: React.ReactNode; -}) { - const t = useTranslations('storage'); - - return ( - <> -
{t('tooltips.viewShoppingCart')}
-{t('tooltips.viewShoppingCart')}
+