правки поехавшей разметки

This commit is contained in:
Kayashov.SM
2025-09-29 15:32:12 +04:00
parent b2854a9010
commit 770e2b4a7b

View File

@@ -28,18 +28,18 @@ const Home = () => {
Фильмы Фильмы
</Accordion.Header> </Accordion.Header>
<Accordion.Body> <Accordion.Body>
<Row className='row-cols-auto'> <Row>
{/*{loading ?*/} {loading ?
{/* (*/} (
{/* // Отображаем 10 скелетонов*/} // Отображаем 10 скелетонов
{/* Array.from({length: 10}, (_, index) => (*/} Array.from({length: 10}, (_, index) => (
{/* <Col key={`skeleton-${index}`}>*/} <Col key={`skeleton-${index}`}>
{/* <SkeletonCompact key={index} width={300} height={400}/>*/} <SkeletonCompact key={index} width={300} height={400}/>
{/* </Col>*/} </Col>
{/* ))*/} ))
{/* )*/} )
{/* :*/} :
{movies.map(rec => ( movies.map(rec => (
<Col key={`col-${rec.title}-${rec.year}`}> <Col key={`col-${rec.title}-${rec.year}`}>
<CardCompact item={rec} key={`${rec.title}-${rec.year}`}/> <CardCompact item={rec} key={`${rec.title}-${rec.year}`}/>
</Col> </Col>