From b8237e43ecea66e377eda6387184efd70301b791 Mon Sep 17 00:00:00 2001 From: Gabriel Santana de Menezes Date: Sun, 3 May 2026 19:23:39 -0400 Subject: [PATCH] voltar ou fechar modal de buscar empresa --- frontend/src/pages/JoinOrganizationPage.tsx | 27 +++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/JoinOrganizationPage.tsx b/frontend/src/pages/JoinOrganizationPage.tsx index 72b3e4e..ea2d8f2 100644 --- a/frontend/src/pages/JoinOrganizationPage.tsx +++ b/frontend/src/pages/JoinOrganizationPage.tsx @@ -1,6 +1,7 @@ import React, { useState } from "react"; import { motion } from "framer-motion"; -import { Search, Building2, Send, CheckCircle2 } from "lucide-react"; +import { Search, Building2, Send, CheckCircle2, ArrowLeft, X } from "lucide-react"; +import { useNavigate } from "react-router-dom"; import { organizationService } from "../services/organizationService"; interface OrgResult { @@ -9,6 +10,7 @@ interface OrgResult { } export const JoinOrganizationPage: React.FC = () => { + const navigate = useNavigate(); const [query, setQuery] = useState(""); const [results, setResults] = useState(null); const [isLoading, setIsLoading] = useState(false); @@ -53,7 +55,28 @@ export const JoinOrganizationPage: React.FC = () => { animate={{ opacity: 1, scale: 1 }} className="w-full max-w-2xl relative z-10" > -
+
+
+ +
+ +
+ +