правки поехавшей разметки
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user