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('title')}

- - - - - - -

{t('tooltips.viewShoppingCart')}

-
-
-
-
- {children} - - ); -} diff --git a/src/app/[locale]/(default)/storage/page.tsx b/src/app/[locale]/(default)/storage/page.tsx index 26128df..6ab9832 100644 --- a/src/app/[locale]/(default)/storage/page.tsx +++ b/src/app/[locale]/(default)/storage/page.tsx @@ -24,6 +24,14 @@ import { SelectValue, } from '@/components/ui/Select'; +import { + Tooltip, + TooltipContent, + TooltipProvider, + TooltipTrigger, +} from '@/components/ui/Tooltip'; +import { ShoppingCart } from 'lucide-react'; + export async function generateMetadata({ params: { locale }, }: { @@ -84,6 +92,21 @@ export default function StoragePage({ return ( <> +
+

{t('title')}

+ + + + + + +

{t('tooltips.viewShoppingCart')}

+
+
+
+