+
+ {months[data.created_at.slice(5, 7)]}{" "}
+ {data.created_at.slice(8, 10) === "0"
+ ? data.created_at.slice(9, 10)
+ : data.created_at.slice(8, 10)}
+ , {data.created_at.slice(0, 4)}
+
+
+
+
+
+
+
+
+
+ );
+};
+
+export default NewsDetails;
diff --git a/src/entities/NewsCard.tsx b/src/entities/NewsCard.tsx
index b8ac8f7..11c84e1 100644
--- a/src/entities/NewsCard.tsx
+++ b/src/entities/NewsCard.tsx
@@ -1,3 +1,4 @@
+import { Link } from "@/shared/config/navigation";
import { Title } from "@/shared/ui";
import Image, { StaticImageData } from "next/image";
@@ -28,21 +29,28 @@ const NewsCard = ({ id, image, title, content, date }: INewsCard) => {
};
return (