feat: add recruitment dashboard

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Daniel Noulet 2026-09-20 08:36:54 +02:00
parent 06c708b160
commit 06b16064f8
7 changed files with 647 additions and 9 deletions

View file

@ -34,7 +34,7 @@ export function useAuthSession() {
function completeLogin() {
setAuthenticated(true)
setSessionExpired(false)
navigate('/jobs', { replace: true })
navigate('/', { replace: true })
}
function logout() {

View file

@ -2,7 +2,7 @@ import { Link } from 'react-router-dom'
function Logo() {
return (
<Link className="logo" to="/jobs" aria-label="Go Guess home">
<Link className="logo" to="/" aria-label="Go Guess home">
<span className="logo-mark" aria-hidden="true">
G
</span>

View file

@ -1,7 +1,7 @@
import {
BriefcaseBusiness,
CalendarDays,
CircleHelp,
LayoutDashboard,
LogOut,
UserRound,
UsersRound,
@ -30,6 +30,7 @@ export function SideBar({
</div>
<nav aria-label="Primary navigation">
<p className="nav-label">Workspace</p>
<NavItem to="/" label="Dashboard" icon={<LayoutDashboard size={20} />} close={close} />
<NavItem to="/jobs" label="Jobs" icon={<BriefcaseBusiness size={20} />} close={close} />
<NavItem
to="/participants"