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:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user