Add the Privacy and Terms pages, data requests and click-to-load embeds
- Privacy Policy (with cookies and storage) and Terms of Service, from what the code actually stores and loads; shared LegalText layout - Data requests: a 'privacy' feedback type sent from the Privacy page's form, email required, triaged in Admin -> Feedback - Migration 039: Panel -> Site settings -> Privacy contact email (over site.json's privacyEmail), shown on the Privacy page - The hero livestream, the hero featured video and schedule maps load only when pressed, so no third party sets anything before a click - A small dismissible privacy notice instead of a consent banner Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
bff082652a
commit
ee61568911
17 changed files with 507 additions and 81 deletions
|
|
@ -1,30 +1,191 @@
|
|||
import { Link } from "react-router-dom";
|
||||
|
||||
import LegalText, { type LegalPart } from "../components/LegalText.tsx";
|
||||
import PageShell from "../components/PageShell.tsx";
|
||||
import { sitePage } from "../lib/site.ts";
|
||||
import { DATA_REQUEST } from "../data/feedbackTypes.ts";
|
||||
import { PRIVACY_EMAIL, sitePage } from "../lib/site.ts";
|
||||
import FeedbackForm from "./sections/FeedbackForm.tsx";
|
||||
|
||||
/* Title and intro: site.json, which also gives the search metadata. */
|
||||
const PAGE = sitePage("/privacy");
|
||||
|
||||
/* ═══════════════════════════════════════════════════════════════
|
||||
Privacy policy, cookie notice included.
|
||||
|
||||
What it says must stay true of the code: what the feedback form
|
||||
stores (routes/feedback.js), what the browser keeps (Banner,
|
||||
PrivacyNotice, the theme toggle), which embeds wait for a click
|
||||
(VideoPlayer, HeroStage, ScheduleBlock), and that nothing about
|
||||
a minor is shown. Change the date when the wording changes.
|
||||
|
||||
The contact address is Panel → Site settings → Privacy contact
|
||||
email. Requests from the form below are feedback rows of type
|
||||
'privacy', in Admin → Feedback.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
const LAST_UPDATED = "September 28, 2026";
|
||||
const ACCENT = "#0f7183";
|
||||
|
||||
const link = "underline underline-offset-2 text-[#0f7183]";
|
||||
|
||||
const contact = PRIVACY_EMAIL ? (
|
||||
<>
|
||||
email <a className={link} href={`mailto:${PRIVACY_EMAIL}`}>{PRIVACY_EMAIL}</a> or use the{" "}
|
||||
<a className={link} href="#requests">request form</a> below
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
use the <a className={link} href="#requests">request form</a> below
|
||||
</>
|
||||
);
|
||||
|
||||
const PARTS: LegalPart[] = [
|
||||
{
|
||||
id: "summary",
|
||||
heading: "In short",
|
||||
body: [
|
||||
"We collect some information about the people who use this site and take part in Next Generation of Unity (NGU). We use it to run our programs and this website, we don't sell it, and we don't use advertising or tracking cookies.",
|
||||
<>If you want to see, correct or delete what we hold about you, {contact}.</>,
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "what-we-collect",
|
||||
heading: "What we collect",
|
||||
body: ["Depending on how you use the site and our programs:"],
|
||||
list: [
|
||||
<>
|
||||
<strong>Feedback and requests you send.</strong> Your message, the page it's about, and, if you
|
||||
give them, your name and email. With it we keep your browser's description (its user agent) and
|
||||
a scrambled form of your IP address that can't be turned back into the address; we use it only to
|
||||
spot abuse.
|
||||
</>,
|
||||
<>
|
||||
<strong>People on the site.</strong> Leaders, speakers and volunteers can appear with a name,
|
||||
photo, role, short bio and public contact details. Staff may also keep private details, such as a
|
||||
birth date, private email, phone number or address, which are never shown on the site and can
|
||||
only be seen by our editors.
|
||||
</>,
|
||||
<>
|
||||
<strong>Server records.</strong> Like most websites, our server keeps short-lived logs of
|
||||
requests (the page asked for, the time, and the IP address that asked) to keep the site running
|
||||
and secure.
|
||||
</>,
|
||||
<>
|
||||
<strong>Staff accounts.</strong> For NGU staff and volunteers who sign in to edit the site: name,
|
||||
email, role, and a record of sign-ins. Passwords are stored only in a form that can't be read back.
|
||||
</>,
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "minors",
|
||||
heading: "Young people",
|
||||
body: [
|
||||
"We don't show information about anyone under 18 on this site: no names, photos or details. If you believe something about a minor appears here, tell us and we'll take it down.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "how-we-use",
|
||||
heading: "How we use it",
|
||||
body: [
|
||||
"To answer you, to run our retreats, chapters and other programs, to keep this site accurate and working, and to keep it secure. We don't sell or rent your information, and we don't use it for advertising.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "ai",
|
||||
heading: "Artificial intelligence",
|
||||
body: [
|
||||
"We used AI tools to help write this website's code and build its structure. Those tools have no access to our database. Information you give us, and information we hold about the people in our community, is not given to AI systems, and isn't used to train them.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "third-parties",
|
||||
heading: "Other services",
|
||||
body: [
|
||||
"We try not to rely on other companies, but a few parts of the site are provided by them. When you use those parts, what you enter or do there goes to that company and is covered by its own privacy policy:",
|
||||
],
|
||||
list: [
|
||||
<>
|
||||
<strong>Giving</strong> is handled by Church Center (Planning Center). Payment details go to them,
|
||||
not to us.
|
||||
</>,
|
||||
<>
|
||||
<strong>Videos</strong> come from YouTube, Facebook or Vimeo, and <strong>maps</strong> from Google
|
||||
Maps. Nothing from them loads until you press play or choose to show the map.
|
||||
</>,
|
||||
<>
|
||||
<strong>Links</strong> to social media, Substack and other sites take you to those sites, which
|
||||
follow their own rules.
|
||||
</>,
|
||||
<>
|
||||
<strong>Staff sign-in</strong> can use a Google account on our own domain.
|
||||
</>,
|
||||
],
|
||||
after: [
|
||||
"This site runs on a server we rent and manage ourselves; your information is stored there, not with an outside website service.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "cookies",
|
||||
heading: "Cookies and browser storage",
|
||||
body: [
|
||||
"This site doesn't use advertising, analytics or tracking cookies. It keeps a few small things in your own browser so it works the way you left it:",
|
||||
],
|
||||
list: [
|
||||
"That you closed the announcement banner or the privacy notice.",
|
||||
"Whether you chose the light or dark look.",
|
||||
"For staff who sign in: a sign-in cookie that keeps you signed in, and a short-lived one used while signing in with Google.",
|
||||
],
|
||||
after: [
|
||||
"None of these are shared with anyone. If you press play on a video or show a map, that service (YouTube, Facebook, Vimeo or Google) may set its own cookies from then on. You can clear all of this in your browser's settings at any time.",
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "your-rights",
|
||||
heading: "Your choices",
|
||||
body: [
|
||||
<>
|
||||
You can ask to see the information we hold about you, to correct it, or to have it deleted. To do
|
||||
that, {contact}. We may ask you to confirm it's you before we change or delete anything, and we'll
|
||||
tell you when it's done. Some records we may need to keep, such as records of gifts that the law
|
||||
requires; if so, we'll say which and why.
|
||||
</>,
|
||||
],
|
||||
},
|
||||
{
|
||||
id: "changes",
|
||||
heading: "Changes to this policy",
|
||||
body: [
|
||||
<>
|
||||
If we change how we handle information, we'll update this page and the date at the top. See also
|
||||
our <Link className={link} to="/terms">Terms of Service</Link>.
|
||||
</>,
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
const SECTIONS = [
|
||||
{
|
||||
id: "privacy",
|
||||
title: "Privacy Policy",
|
||||
blurb: "Last updated: [date]",
|
||||
accent: "#0f7183",
|
||||
blurb: `Last updated: ${LAST_UPDATED}`,
|
||||
accent: ACCENT,
|
||||
background: "#ffffff",
|
||||
content: <LegalText parts={PARTS} />,
|
||||
},
|
||||
{
|
||||
id: "requests",
|
||||
title: "Data requests",
|
||||
blurb: "Ask to see, correct or delete the information we hold about you.",
|
||||
accent: ACCENT,
|
||||
background: "#eef9fb",
|
||||
content: (
|
||||
<div className="max-w-3xl mx-auto px-6 leading-relaxed text-[#2c4a50]">
|
||||
{/* Policy text goes here */}
|
||||
<div className="mx-auto max-w-3xl px-6">
|
||||
<FeedbackForm fixedType={DATA_REQUEST.id} />
|
||||
</div>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
||||
export default function PrivacyPage() {
|
||||
return (
|
||||
<PageShell
|
||||
title={PAGE.title}
|
||||
intro={PAGE.description}
|
||||
sections={SECTIONS}
|
||||
/>
|
||||
);
|
||||
return <PageShell title={PAGE.title} intro={PAGE.description} sections={SECTIONS} />;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue