feat(web): add staff sign-in entrance (judge / instructor) to landing
The landing page only routed attendees; /judge and /admin were unlinked. Add a subtle "Staff sign-in ▾" disclosure in the header linking to the judge and instructor consoles (both already gated by AccessGate). Attendee hero is unchanged. Co-Authored-By: Claude Opus 4.8 <[email protected]>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
6688ced6b3
commit
88789b3f5c
@@ -33,6 +33,12 @@ describe('Landing', () => {
|
||||
ctas.forEach((cta) => expect(cta).toHaveAttribute('href', '/workshop'))
|
||||
})
|
||||
|
||||
it('exposes staff sign-in entrances for judge and instructor', () => {
|
||||
renderLanding()
|
||||
expect(screen.getByRole('link', { name: /judge/i })).toHaveAttribute('href', '/judge')
|
||||
expect(screen.getByRole('link', { name: /instructor/i })).toHaveAttribute('href', '/admin')
|
||||
})
|
||||
|
||||
it('lists the programme timeline with at least 5 phases', () => {
|
||||
renderLanding()
|
||||
const programme = screen.getByTestId('programme')
|
||||
|
||||
Reference in New Issue
Block a user