feat: add privacy, terms, and cookies pages

Footer and login legal links were stubs. Point them at real marketing
pages that follow the Figma content-page template.
This commit is contained in:
adilallo
2026-08-17 11:15:04 -06:00
parent 99419915d7
commit 0167b03231
16 changed files with 634 additions and 9 deletions
+10
View File
@@ -76,6 +76,16 @@ describe("LoginForm", () => {
).toBeInTheDocument();
});
it("links terms and privacy to the legal pages", () => {
renderLoginForm();
expect(
screen.getByRole("link", { name: "Terms of Service" }),
).toHaveAttribute("href", "/terms");
expect(
screen.getByRole("link", { name: "Privacy Policy" }),
).toHaveAttribute("href", "/privacy");
});
it("shows validation error when email is invalid", async () => {
const user = userEvent.setup();
renderLoginForm();