Implement BS-008 privacy draft and public prerendering
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
import { Container } from "react-bootstrap";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
export default function Privacy() {
|
||||
return (
|
||||
<main>
|
||||
<article>
|
||||
<h1>Privacy policy</h1>
|
||||
<p role="note">
|
||||
This is a template placeholder. Replace it with a policy
|
||||
reviewed for the generated application, its data handling,
|
||||
providers, jurisdiction, and users before production.
|
||||
</p>
|
||||
</article>
|
||||
</main>
|
||||
);
|
||||
return <Container as="article" className="routePlaceholder">
|
||||
<p className="eyebrow">BortStack · Privacy</p>
|
||||
<h1>Privacy policy</h1>
|
||||
<p>This page describes the current website’s technical handling of project enquiries and theme preferences. The full privacy notice is pending review before publication.</p>
|
||||
<h2>Project enquiries</h2>
|
||||
<p>The contact form asks for your name, email address and project description. You may also choose a service. The independent contact service validates these details and, when email delivery is enabled, sends the enquiry to BortStack through Resend. Your address is used as the reply-to address. Enquiry details are used to respond, discuss potential project work and prepare a proposal or quote when requested. They are not used for later marketing messages. The website does not save an enquiry in its own database or in browser storage.</p>
|
||||
<p>Enquiries that do not become client work are reviewed after 12 months and deleted when there is no continuing business reason to keep them. Relevant correspondence for a client project is handled under a separate client-record policy. Mail backup retention remains to be confirmed.</p>
|
||||
<h2>Who handles enquiries</h2>
|
||||
<p>Resend processes outbound enquiry emails and stores message content and delivery records in the United States. Its published data processing agreement describes safeguards for transfers from the European Economic Area. Received mail is hosted with Hetzner in Helsinki, Finland. Prospective enquiries are not passed to a CRM, helpdesk or subcontractor. Resend’s own storage period depends on the account plan and must be checked against the configured account before publication.</p>
|
||||
<h2>Theme preference</h2>
|
||||
<p>If you switch between dark and light themes, the browser stores your choice locally under <code>bortstack-theme</code>. The site remains usable if that storage is unavailable.</p>
|
||||
<h2>Further details</h2>
|
||||
<p>Robert O’Reilly is responsible for how BortStack project enquiries are handled. To ask about your enquiry information or request access, correction or deletion, email <a href="mailto:support@bortstack.com">support@bortstack.com</a>. Requests are assessed under applicable data protection rules; deletion is not automatic where information still needs to be kept. The legal basis, backup retention and full data-rights wording are still being confirmed. This page must be reviewed and completed before the website is published.</p>
|
||||
<p><Link to="/contact">Contact BortStack</Link></p>
|
||||
</Container>;
|
||||
}
|
||||
|
||||
@@ -20,6 +20,7 @@ describe("public marketing routes", () => {
|
||||
await waitFor(() => expect(screen.getByText(/Enquiries are temporarily unavailable/)).toBeInTheDocument());
|
||||
}
|
||||
else expect(fetchMock).not.toHaveBeenCalled();
|
||||
if (path === "/privacy") await waitFor(() => expect(document.querySelector('meta[name="robots"]')).toHaveAttribute("content", "noindex, nofollow"));
|
||||
expect(screen.queryByRole("link", { name: /login|register|dashboard/i })).not.toBeInTheDocument();
|
||||
});
|
||||
it("exposes the four marketing links and closes navigation on selection", async () => {
|
||||
|
||||
@@ -14,10 +14,12 @@ describe("generic public pages", () => {
|
||||
expect(screen.getByRole("heading", { name: /software solutions/i })).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("marks legal pages as placeholders", () => {
|
||||
const { rerender } = render(<Privacy />);
|
||||
expect(screen.getByText(/template placeholder/i)).toBeInTheDocument();
|
||||
rerender(<Terms />);
|
||||
it("describes verified privacy flows while leaving terms unpublished", () => {
|
||||
const { unmount } = render(<MemoryRouter><Privacy /></MemoryRouter>);
|
||||
expect(screen.getByText(/The contact form asks for your name/i)).toBeInTheDocument();
|
||||
expect(screen.getByText(/full privacy notice is pending review/i)).toBeInTheDocument();
|
||||
unmount();
|
||||
render(<Terms />);
|
||||
expect(screen.getByText(/template placeholder/i)).toBeInTheDocument();
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user