2022-09-09 11:53:35 +00:00
|
|
|
import { For } from 'solid-js'
|
|
|
|
import type { Shout } from '../../graphql/types.gen'
|
|
|
|
import { ArticleCard } from './Card'
|
|
|
|
|
|
|
|
export default (props: { articles: Shout[] }) => (
|
|
|
|
<div class="floor floor--7">
|
|
|
|
<div class="wide-container row">
|
|
|
|
<For each={props.articles}>
|
|
|
|
{(a) => (
|
|
|
|
<div class="col-md-6 col-lg-3">
|
|
|
|
<ArticleCard
|
|
|
|
article={a}
|
2022-10-19 14:26:49 +00:00
|
|
|
settings={{
|
|
|
|
additionalClass: 'shout-card--content-top',
|
|
|
|
isWithCover: true,
|
|
|
|
isBigTitle: true,
|
|
|
|
isVertical: true
|
|
|
|
}}
|
2022-09-09 11:53:35 +00:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
</For>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|