Retire the one-time seed script
seed.js moved the v1.2 static content into SQLite. Its chapter source, src/pages/chapters.js, was deleted in the same commit that added it, and the default path pointed at src/data/chapters, which is the API hook and has none of GROUPS/SPLITS/CHAPTERS. Given the old file, it still fails on today's schema (events.host_org_id went with co-hosting), and a working run would wipe everything entered through the admin since. The database is the source of truth now. Removes seed.js, the seed-only src/data/events.ts, and the seed command from CLAUDE.md. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cbf440bed9
commit
370fce6e9a
3 changed files with 0 additions and 696 deletions
|
|
@ -1,297 +0,0 @@
|
|||
/* ═══════════════════════════════════════════════════════════════
|
||||
EVENT DATA
|
||||
Plain JS instead of JSON so it imports cleanly in any environment
|
||||
(Figma included) — same shape, but comments and trailing commas
|
||||
are allowed.
|
||||
|
||||
Per event:
|
||||
org_logo hosting org's logo: a filename WITH extension in
|
||||
public/event-logos/, e.g. "ngu-logo-white-bg.png".
|
||||
null = fall back to DEFAULT_ORG_LOGO.
|
||||
image event logo / flyer, same filename rule. A name with
|
||||
no matching file just renders nothing.
|
||||
instagram handle for the follow button, e.g. "@nextgenunity".
|
||||
null = no Instagram button on this card.
|
||||
color card outline / button color. null = the section's
|
||||
defaultColor.
|
||||
gradient card background. null = no gradient.
|
||||
desc_a first paragraph
|
||||
desc_b second paragraph (pricing, lodging, a note — anything)
|
||||
status "upcoming" or "past" — grid view splits on this.
|
||||
links [] when there's nothing to click yet.
|
||||
|
||||
Per section:
|
||||
accent heading, banner, arrows, dots, fallback messages
|
||||
defaultColor card color for events that don't set their own
|
||||
defaultView "carousel" or "grid"
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
const eventsData = {
|
||||
sections: [
|
||||
{
|
||||
id: "national",
|
||||
title: "National Retreats",
|
||||
blurb: "Our flagship gatherings, open to young adults across the country.",
|
||||
accent: "#138ba0",
|
||||
defaultColor: "#138ba0",
|
||||
defaultView: "carousel",
|
||||
background: "#eef9fb",
|
||||
events: [
|
||||
{
|
||||
id: "spring-2025",
|
||||
title: "Spring Retreat 2026",
|
||||
theme: "Altering Intertia",
|
||||
date: "March/April 2026",
|
||||
location: "Unity Village, MO",
|
||||
org_logo: "ngu-logo-white-bg.svg",
|
||||
image: "fall-retreat-logo.svg",
|
||||
instagram: "@nextgenerationunity",
|
||||
color: "#f1c2fe",
|
||||
gradient: "linear-gradient(150deg, rgba(240, 224, 254, 1), rgba(255, 255, 255, 0.28))",
|
||||
desc_a: "A weekend of connection, workshops, and community for young adults across the Unity movement.",
|
||||
desc_b: null,
|
||||
status: "past",
|
||||
links: []
|
||||
},
|
||||
{
|
||||
id: "fall-retreat-2026",
|
||||
title: "Fall Retreat 2026",
|
||||
theme: "Consciousness Creates",
|
||||
date: "November 12-15th, 2026",
|
||||
location: "Unity Village, MO",
|
||||
org_logo: "ngu-logo-white-bg.svg",
|
||||
image: "fall-retreat-logo.svg",
|
||||
instagram: "@nextgenerationunity",
|
||||
color: "#b89421",
|
||||
gradient: "linear-gradient(150deg, rgba(178, 150, 42, 0.45), rgba(230, 200, 120, 0.15) 65%, rgba(255, 255, 255, 0.28))",
|
||||
desc_a: "Join us for an exciting opportunity to connect with young adults from across the country through meaningful conversations, creative workshops, and shared artistic expression. All designed to shift your focus to your highest self.",
|
||||
desc_b: "Registration starting at $150, and $75 lodging cost.",
|
||||
status: "upcoming",
|
||||
links: [
|
||||
{
|
||||
label: "Register Now!",
|
||||
link: "https://ngu.churchcenter.com/registrations/events/3761999"
|
||||
},
|
||||
{
|
||||
label: "Scholarship Application",
|
||||
link: "https://ngu.churchcenter.com/people/forms/1261992"
|
||||
},
|
||||
{
|
||||
label: "Volunteer",
|
||||
link: "https://ngu.churchcenter.com/people/forms/1176908"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "spring-recharge-2027",
|
||||
title: "Spring Recharge 2027",
|
||||
theme: "TBD",
|
||||
date: "March 6th, 2027",
|
||||
location: "Online",
|
||||
org_logo: "ngu-logo-white-bg.svg",
|
||||
image: null,
|
||||
instagram: "@nextgenerationunity",
|
||||
color: "#138ba0",
|
||||
gradient: null,
|
||||
desc_a: "One-day online event to reconnect in the spring.",
|
||||
desc_b: null,
|
||||
status: "upcoming",
|
||||
links: []
|
||||
},
|
||||
{
|
||||
id: "spring-service-2027",
|
||||
title: "Service Week 2027",
|
||||
theme: "Leadership & Service",
|
||||
date: "April 4-9th, 2027",
|
||||
location: "Unity Village, MO",
|
||||
org_logo: "ngu-logo-white-bg.svg",
|
||||
image: null,
|
||||
instagram: "@nextgenerationunity",
|
||||
color: "#138ba0",
|
||||
gradient: null,
|
||||
desc_a: "Join us at beautiful Unity Village for a week of leadership development and service projects.",
|
||||
desc_b: null,
|
||||
status: "upcoming",
|
||||
links: []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "regional",
|
||||
title: "Regional Retreats",
|
||||
blurb: "Smaller gatherings hosted by regions throughout the year.",
|
||||
accent: "#aac992",
|
||||
defaultColor: "#aac992",
|
||||
defaultView: "grid",
|
||||
background: "#ffffff",
|
||||
events: [
|
||||
{
|
||||
id: "northwest-2026",
|
||||
title: "Northwest Regional 2026",
|
||||
theme: "Theme name",
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: "@nw.ngu",
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the regional retreat goes here.",
|
||||
desc_b: null,
|
||||
status: "past",
|
||||
links: []
|
||||
},
|
||||
{
|
||||
id: "northwest-2027",
|
||||
title: "Northwest Regional 2027",
|
||||
theme: "Theme name",
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: "@nw.ngu",
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the regional retreat goes here.",
|
||||
desc_b: null,
|
||||
status: "upcoming",
|
||||
links: []
|
||||
},
|
||||
{
|
||||
id: "northwest-2028",
|
||||
title: "Northwest Regional 2028",
|
||||
theme: "Theme name",
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: "@nw.ngu",
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the regional retreat goes here.",
|
||||
desc_b: null,
|
||||
status: "upcoming",
|
||||
links: []
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "partner",
|
||||
title: "Partner Events",
|
||||
blurb: "Events hosted by organizations we collaborate with.",
|
||||
accent: "#7a5ea8",
|
||||
defaultColor: "#7a5ea8",
|
||||
defaultView: "grid",
|
||||
background: "#eef9fb",
|
||||
events: [
|
||||
{
|
||||
id: "partner-example-1",
|
||||
title: "Partner Event Name",
|
||||
theme: null,
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: null,
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the partner event goes here.",
|
||||
desc_b: "Hosted by Partner Organization.",
|
||||
status: "past",
|
||||
links: [
|
||||
{
|
||||
label: "Learn More",
|
||||
link: "partner-link"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "partner-example-2",
|
||||
title: "Partner Event Name",
|
||||
theme: null,
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: null,
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the partner event goes here.",
|
||||
desc_b: "Hosted by Partner Organization.",
|
||||
status: "past",
|
||||
links: [
|
||||
{
|
||||
label: "Learn More",
|
||||
link: "partner-link"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "partner-example-3",
|
||||
title: "Partner Event Name",
|
||||
theme: null,
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: null,
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the partner event goes here.",
|
||||
desc_b: "Hosted by Partner Organization.",
|
||||
status: "upcoming",
|
||||
links: [
|
||||
{
|
||||
label: "Learn More",
|
||||
link: "partner-link"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "partner-example-4",
|
||||
title: "Partner Event Name",
|
||||
theme: null,
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: null,
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the partner event goes here.",
|
||||
desc_b: "Hosted by Partner Organization.",
|
||||
status: "upcoming",
|
||||
links: [
|
||||
{
|
||||
label: "Learn More",
|
||||
link: "partner-link"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
id: "partner-example-5",
|
||||
title: "Partner Event Name",
|
||||
theme: null,
|
||||
date: "Date",
|
||||
location: "Location",
|
||||
org_logo: null,
|
||||
image: null,
|
||||
instagram: null,
|
||||
color: null,
|
||||
gradient: null,
|
||||
desc_a: "Short description of the partner event goes here.",
|
||||
desc_b: "Hosted by Partner Organization.",
|
||||
status: "upcoming",
|
||||
links: [
|
||||
{
|
||||
label: "Learn More",
|
||||
link: "partner-link"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
export default eventsData;
|
||||
Loading…
Add table
Add a link
Reference in a new issue