'use client' import { useState } from 'react' import { useApp } from '@/lib/app-context' export default function Header() { const { userRole, userName, shortlist, setRole, setUserName } = useApp() const [showAuth, setShowAuth] = useState(false) const signIn = (role: 'client'|'vendor'|'admin', name: string) => { setRole(role) setUserName(name) setShowAuth(false) } const signOut = () => { setRole(null) setUserName(null) } return (
💍 Evermore
{userRole ? (
{userRole} {userName}
) : ( )}
{/* Auth modal */} {showAuth && (
setShowAuth(false)}>
e.stopPropagation()}>

Demo Sign In

Select a role to explore the platform. Auth will be wired to Cognito in production.

No password required — this is a demo. Real auth uses OIDC + PKCE with Cognito/Keycloak.

)}
) }