import type { ReactNode } from "react"; import Link from "next/link"; import { cn } from "cn"; import { buttonVariants } from "@/components/ui/button"; type PaginationProps = { page: number; hasNext: boolean; hrefPage: (page: number) => string; }; export function Pagination({ page, hasNext, hrefPage }: PaginationProps) { return (