- Install @sanity/client + @portabletext/to-html
- studio/ — Sanity v3 project with post schema (title, slug, date, category,
summary, cover image with hotspot, Portable Text body). Run with
`cd studio && npm install && sanity dev` after setting SANITY_STUDIO_PROJECT_ID.
- src/lib/sanity.ts — typed client, GROQ queries, Portable Text → HTML conversion
- src/lib/news.ts — adds getArticles() / getArticle() async functions that prefer
Sanity when SANITY_PROJECT_ID is set; fall back to local markdown otherwise
- events/index.astro, events/[slug].astro, events/page/[page].astro — switch to
async getArticles()/getArticle(); [slug].astro drops getStaticPaths() in favour
of SSR request-time fetch with redirect-on-not-found
- .env.example — documents SANITY_PROJECT_ID / SANITY_DATASET / SANITY_API_TOKEN
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Astro wraps <script> tags as ES modules; inline onclick="fn()" only reaches
window globals. is:inline emits the script verbatim so all functions are global.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Without class="donate-overlay" the CSS display:none never applied,
leaving the fixed overlay covering the entire page on load and blocking
all clicks — making the page appear locked.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Cream (#F6F1E8) panel with slide-in/fade animation (no dark header bar)
- Eyebrow + Merriweather 900 title + subtitle header with circular close btn
- Running total dark green chip bar (updates live with mode/amount/Gift Aid)
- Full-label mode toggle: 'One-off donation' / 'Monthly donation', black active
- 2x2 amount chips with large Merriweather amount + impact text, black when selected
- 'Or another amount' inline row (£ prefix + right-aligned number input)
- Gift Aid block: custom visual checkbox, expandable name/address fields
- Pay step: Apple Pay / Google Pay / PayPal express buttons (→ JustGiving),
'Or pay with card' divider, full card form (email, card, expiry/CVC,
name, country/postcode), Direct Debit note (monthly only), lock-icon
Donate button, trust row (Stripe / cancel anytime / Charity SC007357)
- Done step: green checkmark, 'Thank you...' heading, gift summary, close
- Hero button: green pill uppercase 'DONATE →' (matching DonateButton)
- Yellow bar button: black pill uppercase 'DONATE NOW →'
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add vanilla JS donate modal with one-off/monthly toggle, amount chips,
custom input, impact text, Gift Aid checkbox, and JustGiving redirect
- Replace hero and yellow CTA bar JustGiving image links with styled
Donate buttons (heart icon) that open the modal
- Modal closes on overlay click or Escape key
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replace placeholder one-liners with full first-person quotes from
the 2026 Horse Statements document for Breagha, Harley, Connolly,
Puzzle, and the Minis (Orris, Bru & Sam).
- Section heading updated to 'Meet the horses — In their own words.'
- Cards redesigned: taller photo (220px), green left-border quote
block in italic Merriweather, details in small caps green text
- Minis added as a group entry with shared card
- Memorial horses (Lady Suede, Wispa) moved to a separate
'Remembered fondly' subsection with grayscale treatment
- Updated details/ages/breeds to match the document
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Rewrite volunteer-application.astro: 5-step multi-step form with
progress pills, choice cards, per-step validation, review step,
and fetch-based submission; matches new site design system
- Rewrite participant-application.astro: 5-step multi-step form
(Participant, Health & support, Activities, Consent, Review);
retains all original field names; 27 support question checkboxes
as interactive cards; callout box; guardian section on step 1
- Add volunteer-reference.astro: new non-public 5-step reference form
(noindex/nofollow); steps: The applicant, Your details, Relationship,
Assessment, Declaration; posts to /api/volunteer-reference
- Add functions/api/volunteer-reference.ts: Cloudflare Pages Function
mirroring volunteer-application pattern with Turnstile + Resend
- Add Ffordes sponsor logo to homepage; replace placeholder sponsor
boxes with full corporate sponsorship section (£750/annum) with
four benefit cards and CTAs
- Move ffordes_logo.png to public/sponsors/
- Remove all references to 'carriage driving' and 'free sessions'
across about.astro, index.astro, privacy.astro, support-us.astro,
and participant-application.astro
- facebook.astro: styled mock-post feed with like toggle, page header
card, sidebar, and embed note banner
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Desktop nav, mobile menu, footer social icons, and contact page
"Follow us" section all now include an Instagram icon linking to
https://www.instagram.com/HighlandGroupRDA.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
backdrop-filter on #site-nav creates a CSS containing block, causing
fixed inset-0 children to be clipped to the nav bar instead of the
viewport. Portal the menu to document.body on init to escape it.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Matches the same rgba(0,0,0,0.48) backdrop-filter treatment applied
to the Support Us cards for consistent text readability.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Added semi-opaque dark background (rgba 0,0,0,0.48) with blur(4px)
to the text panel on each editorial card so label, heading, body and
CTA are clearly legible regardless of the underlying image.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Removed fixed sm:h-[108px] height and top-only padding in favour of
symmetric py-3 sm:py-4, so the logo has equal space above and below
inside the dark scrolled bar. Also changed items-start to items-center
for proper vertical alignment.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Both absolutely-positioned elements were overlapping on viewports
≤767px. Extended hide breakpoint from 640px to 767px for the scroll
indicator and applied same breakpoint to the donate button. The
JustGiving button remains accessible via the intro strip below.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Rewrites support-us.astro with hero, three-way editorial flex cards
(Donate/Sponsor/Volunteer), yellow donate band, Sponsor a Pony split
panel with cost grid, Volunteering panel with role grid, and a
native <details>/<summary> FAQ section.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Replace mechanical horse content with proper new trustees announcement
- Add information about four new Trustees joining the Group
- Update with forward-looking statement about restarting activities
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>