refactor: set release poster to center on release page on mobile

BREAKING: disable all image rendering
This commit is contained in:
Kentai Radiquum 2025-03-25 20:39:25 +05:00
parent b79c07f4c2
commit d2b38dcbe2
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
3 changed files with 36 additions and 13 deletions

View file

@ -0,0 +1,22 @@
import Image from "next/image";
export const Poster = (props: {
image: string;
alt?: string;
// title: { ru: string; original: string };
// note: string | null;
// description: string;
type?: "image_only";
className?: string;
}) => {
return (
<Image
className={`object-cover rounded-lg shadow-md ${props.className}`}
// className="w-[285px] max-h-[385px] object-cover border border-gray-200 rounded-lg shadow-md dark:border-gray-700"
src={props.image}
alt={props.alt || ""}
width={285}
height={385}
/>
);
};