fix: fix fact the app stopped working for goodness sake

This commit is contained in:
Ned Halksworth
2026-05-27 19:10:57 +01:00
parent eaef89f484
commit 4e5fa5d42e
5 changed files with 280 additions and 266 deletions
+35
View File
@@ -0,0 +1,35 @@
const TERMS_SUMMARY =
"By using track.9961.one you agree to use the tracker responsibly, keep your login secure, and accept that intake data is stored in your Appwrite account under your control. This applies only to track.9961.one.";
const PRIVACY_SUMMARY =
"track.9961.one stores intake logs and preferences in Appwrite, tied to your account. Coach chats can be encrypted client-side before upload. We do not sell your data. This policy applies only to track.9961.one.";
type LegalFootnoteProps = {
className?: string;
};
export function LegalFootnote({ className = "" }: LegalFootnoteProps) {
return (
<footer className={`legal-footnote ${className}`.trim()} aria-label="Legal notices for track.9961.one">
<span className="legal-footnote-site">track.9961.one</span>
<span className="legal-footnote-links">
<span className="legal-tooltip-wrap">
<button className="legal-tooltip-trigger" type="button" aria-describedby="legal-terms-tip">
Terms
</button>
<span className="legal-tooltip" id="legal-terms-tip" role="tooltip">
{TERMS_SUMMARY}
</span>
</span>
<span className="legal-tooltip-wrap">
<button className="legal-tooltip-trigger" type="button" aria-describedby="legal-privacy-tip">
Privacy
</button>
<span className="legal-tooltip" id="legal-privacy-tip" role="tooltip">
{PRIVACY_SUMMARY}
</span>
</span>
</span>
</footer>
);
}