diff --git a/src/app/(routes)/blog/components/pagination/pagination.tsx b/src/app/(routes)/blog/components/pagination/pagination.tsx index 163cc92..c840e9f 100644 --- a/src/app/(routes)/blog/components/pagination/pagination.tsx +++ b/src/app/(routes)/blog/components/pagination/pagination.tsx @@ -86,53 +86,57 @@ const Pagination: React.FC = ({ meta }) => { }; return ( -
- {/* First Page */} - {current_page > 1 && ( - - First - - )} - - {/* Previous Page */} - {current_page > 1 && ( - - {"<"} - - )} - +
{/* Page Numbers */} - {renderPageNumbers()} +
{renderPageNumbers()}
- {/* Next Page */} - {current_page < last_page && ( - - {">"} - - )} +
+ {/* First Page */} + {current_page > 1 && ( + + First + + )} - {/* Last Page */} - {current_page < last_page && ( - - Last - - )} + {/* Previous Page */} + {current_page > 1 && ( + + {"<"} + + )} +
+ +
+ {/* Next Page */} + {current_page < last_page && ( + + {">"} + + )} + + {/* Last Page */} + {current_page < last_page && ( + + Last + + )} +
); };