2022-09-09 11:53:35 +00:00
|
|
|
---
|
|
|
|
import { FeedPage } from '../../components/Views/Feed'
|
|
|
|
import Zine from '../../layouts/zine.astro'
|
|
|
|
import { apiClient } from '../../utils/apiClient'
|
|
|
|
|
2022-09-09 14:08:17 +00:00
|
|
|
const recentArticles = await apiClient.getRecentAllArticles({})
|
2022-09-09 11:53:35 +00:00
|
|
|
const shoutSlugs = recentArticles.map((s) => s.slug)
|
|
|
|
const reactions = await apiClient.getReactionsForShouts({ shoutSlugs })
|
|
|
|
---
|
|
|
|
|
|
|
|
<Zine>
|
2022-09-09 14:08:17 +00:00
|
|
|
<FeedPage recentArticles={recentArticles} reactions={reactions} client:load />
|
2022-09-09 11:53:35 +00:00
|
|
|
</Zine>
|