add random candidato
All checks were successful
Frontend Build and Deploy / build (push) Successful in 1m2s

This commit is contained in:
2025-06-10 20:39:19 -03:00
parent 1e4f288ec4
commit 2764dbdc4e
6 changed files with 76 additions and 12 deletions

View File

@@ -8,6 +8,7 @@ import BasicCandidateInfoComponent from './BasicCandidateInfoComponent';
import SocialMediaComponent from './SocialMediaComponent';
import IncomeExpenseComponent from './IncomeExpenseComponent';
import Button from '../../shared/Button';
import RandomCandButton from '../../shared/RandomCandButton';
import ErrorPage from '../ErrorPage';
const CandidatePage: React.FC = () => {
@@ -126,14 +127,21 @@ const CandidatePage: React.FC = () => {
<main className="flex-grow p-6 max-w-7xl mx-auto">
{/* Header with back button */}
<div className="mb-6">
<Button
onClick={() => navigate('/')}
className="flex items-center text-white mb-4"
hasAnimation={false}
>
<ArrowLeftIcon className="h-5 w-5 mr-2" />
Voltar à busca
</Button>
<div className="flex items-center gap-4 mb-4">
<Button
onClick={() => navigate('/')}
className="flex items-center text-white"
hasAnimation={false}
>
<ArrowLeftIcon className="h-5 w-5 mr-2" />
Voltar à busca
</Button>
<RandomCandButton
className="flex items-center text-white"
hasAnimation={false}
/>
</div>
{candidateDetails && (
<h1 className="text-3xl font-bold text-white">{candidateDetails.nome}</h1>