feat(ui): adjust visual elements and remove scheduling button

This commit is contained in:
Jonas Francisco 2025-11-06 19:17:09 -03:00
parent a2f4a37eb0
commit b42ef99471
3 changed files with 1 additions and 32 deletions

View File

@ -8,7 +8,6 @@ import { EventManager, type Event } from "@/components/features/general/event-ma
import { v4 as uuidv4 } from 'uuid'; // Usado para IDs de fallback import { v4 as uuidv4 } from 'uuid'; // Usado para IDs de fallback
// Imports mantidos // Imports mantidos
import { Button } from "@/components/ui/button";
import "./index.css"; import "./index.css";
export default function AgendamentoPage() { export default function AgendamentoPage() {

View File

@ -1,29 +1,10 @@
"use client"; "use client";
import Link from "next/link";
import { usePathname } from "next/navigation";
export default function HeaderAgenda() { export default function HeaderAgenda() {
const pathname = usePathname();
const isAg = pathname?.startsWith("/agenda");
return ( return (
<header className="border-b bg-background border-border"> <header className="border-b bg-background border-border">
<div className="mx-auto w-full max-w-7xl px-8 py-3 flex items-center justify-between"> <div className="mx-auto w-full max-w-7xl px-8 py-3 flex items-center justify-between">
<h1 className="text-[18px] font-semibold text-foreground">Novo Agendamento</h1> <h1 className="text-[18px] font-semibold text-foreground">Novo Agendamento</h1>
<nav role="tablist" aria-label="Navegação de Agendamento" className="flex items-center gap-2">
<Link
href="/agenda"
role="tab"
className={`px-4 py-1.5 text-[13px] font-medium border rounded-md ${
isAg
? "bg-primary text-white border-primary dark:bg-primary dark:text-white"
: "text-foreground hover:bg-muted border-input"
}`}
>
Agendamento
</Link>
</nav>
</div> </div>
</header> </header>
); );

View File

@ -16,7 +16,7 @@ import {
DialogTitle, DialogTitle,
} from "@/components/ui/dialog" } from "@/components/ui/dialog"
import { Badge } from "@/components/ui/badge" import { Badge } from "@/components/ui/badge"
import { ChevronLeft, ChevronRight, Plus, Calendar, Clock, Grid3x3, List, Search, X } from "lucide-react" import { ChevronLeft, ChevronRight, Calendar, Clock, Grid3x3, List, Search, X } from "lucide-react"
import { cn } from "@/lib/utils" import { cn } from "@/lib/utils"
export interface Event { export interface Event {
@ -343,17 +343,6 @@ export function EventManager({
<span className="ml-1">Lista</span> <span className="ml-1">Lista</span>
</Button> </Button>
</div> </div>
<Button
onClick={() => {
setIsCreating(true)
setIsDialogOpen(true)
}}
className="w-full sm:w-auto"
>
<Plus className="mr-2 h-4 w-4" />
Novo Evento
</Button>
</div> </div>
</div> </div>