refactor: Release page

factor it in separate components and update grid styling
This commit is contained in:
Kentai Radiquum 2024-07-31 20:21:32 +05:00
parent c2c3a95e6c
commit e548ce060d
Signed by: Radiquum
GPG key ID: 858E8EE696525EED
9 changed files with 542 additions and 429 deletions

View file

@ -0,0 +1,15 @@
import { Card, Carousel } from "flowbite-react";
export const ReleaseInfoScreenshots = (props: {
images: string[];
}) => {
return (
<Card>
<Carousel className="aspect-[16/10]">
{props.images.map((image: string, index: number) => (
<img key={index} className="object-cover" src={image} />
))}
</Carousel>
</Card>
);
};