Skip to content
This repository was archived by the owner on Mar 26, 2026. It is now read-only.

Commit c5d0662

Browse files
MemeVeelsclaude
andcommitted
Update login text, add logout button to nav menu
- Login: "Open Dashboard" button, updated description text - Add "Uitloggen" button in top nav with NoBoxDev purple styling - Remove floating logout button, handle logout directly in nav Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent ec67275 commit c5d0662

3 files changed

Lines changed: 39 additions & 2 deletions

File tree

app/112SchadeProposalMarch2026/components/PasswordGate.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>}

app/112SchadeProposalMarch2026/components/ProposalNav.module.css

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,32 @@
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;

app/112SchadeProposalMarch2026/components/ProposalNav.tsx

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff 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>

0 commit comments

Comments
 (0)