This repository was archived by the owner on Mar 26, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
app/112SchadeProposalMarch2026/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default function PasswordGate({ children }: { children: React.ReactNode }
4646 height = { 80 }
4747 className = { styles . logoMark }
4848 />
49- < p className = { styles . sub } > Voer het wachtwoord in om dit voorstel te bekijken </ p >
49+ < p className = { styles . sub } > Voer het wachtwoord in om toegang te krijgen tot het dashboard. </ p >
5050 < form className = { styles . form } onSubmit = { handleSubmit } >
5151 < div className = { styles . inputWrap } >
5252 < input
@@ -78,7 +78,7 @@ export default function PasswordGate({ children }: { children: React.ReactNode }
7878 </ button >
7979 </ div >
8080 < button className = { styles . btn } type = "submit" >
81- Bekijk Voorstel
81+ Open Dashboard
8282 </ button >
8383 </ form >
8484 { error && < p className = { styles . error } > Onjuist wachtwoord</ p > }
Original file line number Diff line number Diff line change 100100 color : white;
101101}
102102
103+ .logoutLink {
104+ font-family : 'Titillium Web' , var (--font-body );
105+ font-size : 0.8rem ;
106+ font-weight : 600 ;
107+ color : white;
108+ background : # 9B78F4 ;
109+ border : none;
110+ border-radius : 6px ;
111+ padding : 8px 16px ;
112+ cursor : pointer;
113+ transition : background 0.2s ease;
114+ }
115+
116+ .logoutLink : hover {
117+ background : # 7B5CD4 ;
118+ }
119+
120+ .atTop .logoutLink {
121+ background : # 9B78F4 ;
122+ color : white;
123+ }
124+
125+ .atTop .logoutLink : hover {
126+ background : # 7B5CD4 ;
127+ }
128+
103129@media (max-width : 768px ) {
104130 .links {
105131 display : none;
Original file line number Diff line number Diff line change @@ -41,6 +41,11 @@ export default function ProposalNav() {
4141 return ( ) => window . removeEventListener ( "scroll" , onScroll ) ;
4242 } , [ ] ) ;
4343
44+ const handleLogout = ( ) => {
45+ sessionStorage . removeItem ( "proposal_112schade_authed" ) ;
46+ window . location . href = "/" ;
47+ } ;
48+
4449 const scrollTo = ( id : string ) => {
4550 const el = document . getElementById ( id ) ;
4651 if ( el ) el . scrollIntoView ( { behavior : "smooth" } ) ;
@@ -70,6 +75,12 @@ export default function ProposalNav() {
7075 </ button >
7176 </ span >
7277 ) ) }
78+ < span className = { styles . linkWrap } >
79+ < span className = { styles . separator } > |</ span >
80+ < button className = { styles . logoutLink } onClick = { handleLogout } >
81+ Uitloggen
82+ </ button >
83+ </ span >
7384 </ div >
7485 </ div >
7586 </ nav >
You can’t perform that action at this time.
0 commit comments