---
const { list, routeName } = Astro.props;

import CardEditorial from "./CardEditorial.astro";
---

<ul role="list">
	{
		list.map((item) => (
			<li class="list__item">
				<CardEditorial item={item} routeName={routeName} />
			</li>
		))
	}
</ul>
