diff --git a/frontend/app/components/ReleaseCard/ReleaseCard.jsx b/frontend/app/components/ReleaseCard/ReleaseCard.jsx index ba7ab01..561d6e1 100644 --- a/frontend/app/components/ReleaseCard/ReleaseCard.jsx +++ b/frontend/app/components/ReleaseCard/ReleaseCard.jsx @@ -5,7 +5,7 @@ import Link from "next/link"; export const ReleaseCard = (props) => { return ( -
+
{`${props.title.substring(0, 36)}${[...props.title].length > 36 ? "..." : ""}`}
diff --git a/frontend/app/page.js b/frontend/app/page.js index 8830ad1..23a1efb 100644 --- a/frontend/app/page.js +++ b/frontend/app/page.js @@ -92,22 +92,27 @@ export default function Home() { завершено
+ {releases ? ( + <> +
+ +
-
- {releases ? : } -
- - + + + ) : ( + + )} ); }