diff --git a/app/[lang]/posts/[...slug]/page.tsx b/app/[lang]/posts/[...slug]/page.tsx index a97b448..a0f5ff5 100644 --- a/app/[lang]/posts/[...slug]/page.tsx +++ b/app/[lang]/posts/[...slug]/page.tsx @@ -6,6 +6,7 @@ import Link from "next/link"; import { getDictionary, languageLabels } from "@/dictionaries"; import { SiX } from "@icons-pack/react-simple-icons"; import { Metadata } from "next"; +import Image from "next/image"; import classNames from "classnames"; export const runtime = "edge"; @@ -72,57 +73,72 @@ export default async function PostPage({ return (
-
-

{post.title}

-
-
- - {displayDate(post.date, params.lang)} -
- - {otherLanguages.length ? ( +
+
+

{post.title}

+
- - {otherLanguages.map((post) => ( - - {languageLabels[post.lang]} - - ))} + + {displayDate(post.date, params.lang)}
- ) : undefined} -
-

{post.description}

-
- {/*
+ + {otherLanguages.length ? ( +
+ + {otherLanguages.map((post) => ( + + {languageLabels[post.lang]} + + ))} +
+ ) : undefined} +
+

{post.description}

+
+ {/*
*/} -
-
-
- {dictionary.labels.shareTo} - - - -
-
+
+
+
+ {dictionary.labels.shareTo} + + + +
+
+ + + {dictionary.postAdvertising.title} +
+
{dictionary.postAdvertising.title}
+
{dictionary.postAdvertising.description}
+
+
+ +