From 24587fadd54272c75b3532fd9eedd5b7f92f6b7d Mon Sep 17 00:00:00 2001 From: William Lima Date: Fri, 8 Dec 2023 17:20:14 -0100 Subject: [PATCH] #139 fix news page rwd issues --- components/static/List.tsx | 184 +++++++++++++++++++------------------ 1 file changed, 93 insertions(+), 91 deletions(-) diff --git a/components/static/List.tsx b/components/static/List.tsx index d15d2b4..11697d7 100644 --- a/components/static/List.tsx +++ b/components/static/List.tsx @@ -36,101 +36,103 @@ const List: React.FC = () => { const { posts, meta } = data.posts; return ( -
-

- {t(meta.pagination.total == 1 ? 'article-found' : 'articles-found', { - count: meta.pagination.total, - })} -

- +
+ null} + onPageChange={handlePageChange} + initAtPage={initialPage} + /> +
);