diff --git a/src/widgets/WpPost/WpPost.tsx b/src/widgets/WpPost/WpPost.tsx
index 57d97c5..ab4c9ce 100644
--- a/src/widgets/WpPost/WpPost.tsx
+++ b/src/widgets/WpPost/WpPost.tsx
@@ -24,6 +24,8 @@ export default function WpPost({
const title = post.title;
const customComponent = getCustomProject(title);
+ const isSpecialTitle = title === "Программно-аппаратный комплекс для мониторинга управления мусорных контейнеров";
+
return (
{customComponent ? (
@@ -31,14 +33,24 @@ export default function WpPost({
) : (
<>
- {post.title}
+ {title}
{Array.isArray(post.content) &&
post.content.map((el, index) => {
if (el.type === "mediablock") {
- return
;
+ const media =
;
+ return isSpecialTitle ? media : (
+
+ {media}
+
+ );
} else if (el.type === "slider") {
- return
;
+ const slider =
;
+ return isSpecialTitle ? slider : (
+
+ {slider}
+
+ );
}
return (
@@ -51,4 +63,4 @@ export default function WpPost({
)}
);
-}
\ No newline at end of file
+}