From 6aae6957992e9f74fcc542cc608941e9989f2648 Mon Sep 17 00:00:00 2001 From: ZeroWave022 <36341766+ZeroWave022@users.noreply.github.com> Date: Sun, 6 Oct 2024 15:46:00 +0200 Subject: [PATCH] refactor: Add margin to main --- src/app/[locale]/(default)/news/(main)/page.tsx | 2 +- src/app/[locale]/(default)/news/[article]/page.tsx | 4 ++-- src/app/[locale]/(default)/storage/(main)/layout.tsx | 2 +- src/app/[locale]/(default)/storage/shopping-cart/loading.tsx | 2 +- src/app/[locale]/(default)/storage/shopping-cart/page.tsx | 2 +- src/components/layout/Main.tsx | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/[locale]/(default)/news/(main)/page.tsx b/src/app/[locale]/(default)/news/(main)/page.tsx index d9edce2..a7bfa8d 100644 --- a/src/app/[locale]/(default)/news/(main)/page.tsx +++ b/src/app/[locale]/(default)/news/(main)/page.tsx @@ -45,7 +45,7 @@ export default function NewsPage({ diff --git a/src/app/[locale]/(default)/news/[article]/page.tsx b/src/app/[locale]/(default)/news/[article]/page.tsx index c4f6e37..a9b96f3 100644 --- a/src/app/[locale]/(default)/news/[article]/page.tsx +++ b/src/app/[locale]/(default)/news/[article]/page.tsx @@ -55,7 +55,7 @@ export default function ArticlePage({ return (
-
+
{`${article.views} ${t('views')}`} -
{article.content}
+
{article.content}
); } diff --git a/src/app/[locale]/(default)/storage/(main)/layout.tsx b/src/app/[locale]/(default)/storage/(main)/layout.tsx index 34d1923..4bddd7a 100644 --- a/src/app/[locale]/(default)/storage/(main)/layout.tsx +++ b/src/app/[locale]/(default)/storage/(main)/layout.tsx @@ -50,7 +50,7 @@ export default function StorageLayout({ return ( <>
-

{t('title')}

+

{t('title')}

diff --git a/src/app/[locale]/(default)/storage/shopping-cart/loading.tsx b/src/app/[locale]/(default)/storage/shopping-cart/loading.tsx index 3dca707..27310cd 100644 --- a/src/app/[locale]/(default)/storage/shopping-cart/loading.tsx +++ b/src/app/[locale]/(default)/storage/shopping-cart/loading.tsx @@ -14,7 +14,7 @@ export default function ShoppingCartSkeleton() { return ( <> -
+
diff --git a/src/app/[locale]/(default)/storage/shopping-cart/page.tsx b/src/app/[locale]/(default)/storage/shopping-cart/page.tsx index 28f00f0..f72474e 100644 --- a/src/app/[locale]/(default)/storage/shopping-cart/page.tsx +++ b/src/app/[locale]/(default)/storage/shopping-cart/page.tsx @@ -37,7 +37,7 @@ export default function StorageShoppingCartPage({ return ( <> -
+