2022-09-09 11:53:35 +00:00
|
|
|
import { For } from 'solid-js'
|
|
|
|
import type { Shout } from '../../graphql/types.gen'
|
2023-05-01 18:32:32 +00:00
|
|
|
import { ArticleCard } from './ArticleCard'
|
2022-09-09 11:53:35 +00:00
|
|
|
|
|
|
|
export default (props: { articles: Shout[] }) => (
|
|
|
|
<div class="floor floor--7">
|
2022-11-20 21:23:12 +00:00
|
|
|
<div class="wide-container">
|
|
|
|
<div class="row">
|
|
|
|
<For each={props.articles}>
|
|
|
|
{(a) => (
|
2023-03-10 17:42:48 +00:00
|
|
|
<div class="col-md-12 col-lg-6">
|
2022-11-20 21:23:12 +00:00
|
|
|
<ArticleCard
|
|
|
|
article={a}
|
|
|
|
settings={{
|
|
|
|
additionalClass: 'shout-card--content-top',
|
|
|
|
isWithCover: true,
|
|
|
|
isBigTitle: true,
|
|
|
|
isVertical: true
|
|
|
|
}}
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
)}
|
|
|
|
</For>
|
|
|
|
</div>
|
2022-09-09 11:53:35 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
)
|