fix(ui): honest tab titles and a download field that names every site

Signed out, the tab read Home's question over the sign-in form; the legal
pages read just "Siftlode". The download field asked only for a YouTube
link although Facebook and the rest download too.
This commit is contained in:
2026-09-19 04:51:43 +02:00
parent 250e3a9f90
commit ef652ee5d8
5 changed files with 45 additions and 10 deletions
@@ -71,6 +71,11 @@ export default function LegalLayout({ title, children }: { title: string; childr
const id = decodeURIComponent(window.location.hash.slice(1));
if (id) document.getElementById(id)?.scrollIntoView();
}, []);
// The tab names the document, like every page of the app — a bookmark or a tab strip read just
// "Siftlode" (prod UAT 2026-09-19).
useEffect(() => {
document.title = `${title} · Siftlode`;
}, [title]);
return (
<div className="min-h-screen bg-bg text-fg">
<div className="mx-auto w-[min(92vw,720px)] py-12">