pagination component has two main parameters:
page and total. page indicates the
current page, while total specifies the total number of pages
available. The component will render a pagination control that allows users
to navigate between pages, highlighting the current page and providing
links to other pages based on the total number specified.