add props and link to home section

This commit is contained in:
2025-06-01 08:57:49 +02:00
parent 017b04116d
commit 3af1e72c06
4 changed files with 36 additions and 8 deletions

View File

@@ -16,9 +16,9 @@ export default function Home() {
return (
<ScrollView showsVerticalScrollIndicator={false} className='m-2'>
<CategorySection title="Polecane kategorie" notices={notices} />
<NoticeSection title="Najnowsze ogłoszenia" notices={latestNotices}/>
<NoticeSection title="Najnowsze ogłoszenia" notices={latestNotices} ctaLink="/notices?sort=latest"/>
<UserSection title="Popularni sprzedawcy" notices={notices} />
<NoticeSection title="Proponowane ogłoszenia" notices={recomendedNotices}/>
<NoticeSection title="Proponowane ogłoszenia" notices={recomendedNotices} ctaLink="/notices"/>
</ScrollView>
);
}