feat: add recruitment dashboard
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
parent
06c708b160
commit
06b16064f8
7 changed files with 647 additions and 9 deletions
|
|
@ -34,7 +34,7 @@ export function useAuthSession() {
|
|||
function completeLogin() {
|
||||
setAuthenticated(true)
|
||||
setSessionExpired(false)
|
||||
navigate('/jobs', { replace: true })
|
||||
navigate('/', { replace: true })
|
||||
}
|
||||
|
||||
function logout() {
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue