padronização das paginações

This commit is contained in:
m1guelmcf 2025-11-26 10:56:59 -03:00
parent adfeb3097f
commit 83bdaed7aa
3 changed files with 32 additions and 34 deletions

View File

@ -50,7 +50,7 @@ export default function PacientesPage() {
const [isModalOpen, setIsModalOpen] = useState(false); const [isModalOpen, setIsModalOpen] = useState(false);
// --- Lógica de Paginação INÍCIO --- // --- Lógica de Paginação INÍCIO ---
const [itemsPerPage, setItemsPerPage] = useState(5); const [itemsPerPage, setItemsPerPage] = useState(10);
const [currentPage, setCurrentPage] = useState(1); const [currentPage, setCurrentPage] = useState(1);
const totalPages = Math.ceil(pacientes.length / itemsPerPage); const totalPages = Math.ceil(pacientes.length / itemsPerPage);

View File

@ -1,8 +1,6 @@
@import 'tailwindcss'; @import "tailwindcss";
@import 'tw-animate-css'; @import "tw-animate-css";
@custom-variant dark (&:is(.dark *)); @custom-variant dark (&:is(.dark *));
:root { :root {
--background: oklch(1 0 0); --background: oklch(1 0 0);
--foreground: oklch(0.145 0 0); --foreground: oklch(0.145 0 0);
@ -75,33 +73,33 @@
} }
.high-contrast { .high-contrast {
--background: oklch(0 0 0); --background: oklch(0 0 0);
--foreground: oklch(1 0.5 100); --foreground: oklch(1 0.5 100);
--card: oklch(0 0 0); --card: oklch(0 0 0);
--card-foreground: oklch(1 0.5 100); --card-foreground: oklch(1 0.5 100);
--popover: oklch(0 0 0); --popover: oklch(0 0 0);
--popover-foreground: oklch(1 0.5 100); --popover-foreground: oklch(1 0.5 100);
--primary: oklch(1 0.5 100); --primary: oklch(1 0.5 100);
--primary-foreground: oklch(0 0 0); --primary-foreground: oklch(0 0 0);
--secondary: oklch(0 0 0); --secondary: oklch(0 0 0);
--secondary-foreground: oklch(1 0.5 100); --secondary-foreground: oklch(1 0.5 100);
--muted: oklch(0 0 0); --muted: oklch(0 0 0);
--muted-foreground: oklch(1 0.5 100); --muted-foreground: oklch(1 0.5 100);
--accent: oklch(0 0 0); --accent: oklch(0 0 0);
--accent-foreground: oklch(1 0.5 100); --accent-foreground: oklch(1 0.5 100);
--destructive: oklch(0.5 0.3 30); --destructive: oklch(0.5 0.3 30);
--destructive-foreground: oklch(0 0 0); --destructive-foreground: oklch(0 0 0);
--border: oklch(1 0.5 100); --border: oklch(1 0.5 100);
--input: oklch(0 0 0); --input: oklch(0 0 0);
--ring: oklch(1 0.5 100); --ring: oklch(1 0.5 100);
--sidebar: oklch(0 0 0); --sidebar: oklch(0 0 0);
--sidebar-foreground: oklch(1 0.5 100); --sidebar-foreground: oklch(1 0.5 100);
--sidebar-primary: oklch(1 0.5 100); --sidebar-primary: oklch(1 0.5 100);
--sidebar-primary-foreground: oklch(0 0 0); --sidebar-primary-foreground: oklch(0 0 0);
--sidebar-accent: oklch(0 0 0); --sidebar-accent: oklch(0 0 0);
--sidebar-accent-foreground: oklch(1 0.5 100); --sidebar-accent-foreground: oklch(1 0.5 100);
--sidebar-border: oklch(1 0.5 100); --sidebar-border: oklch(1 0.5 100);
--sidebar-ring: oklch(1 0.5 100); --sidebar-ring: oklch(1 0.5 100);
} }
@theme inline { @theme inline {

View File

@ -100,7 +100,7 @@ export default function InicialPage() {
<Link href="/login"> <Link href="/login">
<Button <Button
variant="outline" variant="outline"
className="rounded-full px-6 py-2 border-2 border-[#007BFF] text-[#007BFF] hover:bg-[#007BFF] hover:text-white transition" className="rounded-full px-6 py-2 border-2 border-[#007BFF] text-[#007BFF] hover:bg-[#007BFF] hover:text-white transition cursor-pointer"
> >
Login Login
</Button> </Button>