diff --git a/src/app/documento/[id]/DocumentViewClient.tsx b/src/app/documento/[id]/DocumentViewClient.tsx index d9da866..8a3c864 100644 --- a/src/app/documento/[id]/DocumentViewClient.tsx +++ b/src/app/documento/[id]/DocumentViewClient.tsx @@ -14,8 +14,8 @@ import { ZoomIn, ZoomOut, Maximize2, + Home, } from "lucide-react"; -import Link from "next/link"; import { Document, Page, pdfjs } from "react-pdf"; import "react-pdf/dist/Page/AnnotationLayer.css"; import "react-pdf/dist/Page/TextLayer.css"; @@ -175,7 +175,7 @@ export default function DocumentViewClient({ style={{ backgroundColor: primaryColor }} >
-
+ {organization.logoUrl ? ( {organization.name}

Portal de Transparência

-
- {backUrl ? ( - +
+ {backUrl ? ( + + + Voltar + + ) : null} + - - - Voltar à Pasta - Voltar - - ) : ( -
- - - Documento Público -
- )} + + Início +
+
diff --git a/src/app/portal/PortalClient.tsx b/src/app/portal/PortalClient.tsx index 5b8f1fd..f01b6e5 100644 --- a/src/app/portal/PortalClient.tsx +++ b/src/app/portal/PortalClient.tsx @@ -10,10 +10,7 @@ import { FileText, ChevronRight, Building2, - Home, } from "lucide-react"; -import Link from "next/link"; -import { useRouter } from "next/navigation"; import { Badge } from "@/components/ui/badge"; import { Input } from "@/components/ui/input"; import { DynamicFavicon } from "@/components/DynamicFavicon"; @@ -43,7 +40,6 @@ export default function PortalClient({ organization: Organization; folders: FolderType[]; }) { - const router = useRouter(); const [searchTerm, setSearchTerm] = useState(""); const filteredFolders = folders.filter((folder) => @@ -67,7 +63,7 @@ export default function PortalClient({ {/* Header */}
- + {organization.logoUrl ? ( {organization.name} ) : ( @@ -79,7 +75,7 @@ export default function PortalClient({

{organization.name}

Portal da Transparência

- + Ambiente Seguro diff --git a/src/app/visualizar/pasta/[id]/FolderViewClient.tsx b/src/app/visualizar/pasta/[id]/FolderViewClient.tsx index 6799f89..2eec7a3 100644 --- a/src/app/visualizar/pasta/[id]/FolderViewClient.tsx +++ b/src/app/visualizar/pasta/[id]/FolderViewClient.tsx @@ -11,8 +11,8 @@ import { Search, ExternalLink, ChevronRight, + Home, } from "lucide-react"; -import Link from "next/link"; import { Badge } from "@/components/ui/badge"; import { Input } from "@/components/ui/input"; import { Button } from "@/components/ui/button"; @@ -105,7 +105,7 @@ export default function FolderViewClient({ {/* Header */}
- + {organization.logoUrl ? ( {organization.name} ) : ( @@ -117,10 +117,19 @@ export default function FolderViewClient({

{organization.name}

Portal da Transparência

- - - Ambiente Seguro - + +
+ + + Início + + + Ambiente Seguro + +
@@ -157,9 +166,9 @@ export default function FolderViewClient({
{folder.breadcrumbs.map((crumb) => ( - + {crumb.name} - + ))} @@ -239,7 +248,7 @@ export default function FolderViewClient({ transition={{ delay: idx * 0.05 }} className="relative bg-white border border-slate-100 p-4 rounded-xl hover:border-slate-200 transition-all group flex flex-col md:flex-row md:items-center justify-between gap-4" > - +
@@ -261,17 +270,14 @@ export default function FolderViewClient({
- + + Visualizar + {doc.fileUrl && doc.isDownloadable && (