diff --git a/next.config.js b/next.config.js index d38d470..6c66a41 100644 --- a/next.config.js +++ b/next.config.js @@ -2,7 +2,6 @@ const nextConfig = { reactStrictMode: true, experimental: { - appDir: true, typedRoutes: true, }, images: { diff --git a/src/app/[lang]/page.tsx b/src/app/[lang]/page.tsx index f0456e1..983e7eb 100644 --- a/src/app/[lang]/page.tsx +++ b/src/app/[lang]/page.tsx @@ -23,13 +23,17 @@ async function RootPage({ params: { lang } }: RootParams) { const { metadata } = await getDictionary(lang); return ( - -

- {metadata.title} -

-

{metadata.description}

- -
+ <> + +

+ {metadata.title} +

+

{metadata.description}

+
+ + + + ); } diff --git a/src/app/[lang]/posts/[postId]/page.tsx b/src/app/[lang]/posts/[postId]/page.tsx index 6b6935a..0995456 100644 --- a/src/app/[lang]/posts/[postId]/page.tsx +++ b/src/app/[lang]/posts/[postId]/page.tsx @@ -39,11 +39,13 @@ async function PostPage({ params: { postId } }: PostParams) { return ( <> - -

+ +

{frontmatter.title}

- + +
+
{content}
diff --git a/src/app/[lang]/posts/page.tsx b/src/app/[lang]/posts/page.tsx index cf5a6be..71c3cbd 100644 --- a/src/app/[lang]/posts/page.tsx +++ b/src/app/[lang]/posts/page.tsx @@ -23,13 +23,17 @@ async function RootPage({ params: { lang } }: RootParams) { const { metadata } = await getDictionary(lang); return ( - -

- {metadata.title} -

-

{metadata.description}

- -
+ <> + +

+ {metadata.title} +

+

{metadata.description}

+
+ + + + ); } diff --git a/src/components/Container/Container.tsx b/src/components/Container/Container.tsx index e45be00..5a30749 100644 --- a/src/components/Container/Container.tsx +++ b/src/components/Container/Container.tsx @@ -13,7 +13,8 @@ const Container = forwardRef(