How fantiflex/ufo.recordz works
UFO.recordz is a public website for a Paris-based collective and record label. Visitors browse its collective, label, values, contact, and event pages; event listings load and classify Supabase data, while the home page also presents releases and artists who have performed. Separately, a Supabase Edge Function synchronizes SoundCloud track metadata into the releases table. The graph follows the app’s explicit route/component wiring and sampled data calls; unsampled page internals are represented at their page level, with additional capabilities linked only where the README documents the relationship.
Main entry points: App.tsx Routes and home · supabase.ts Browser client · EventsPage.tsx Events page · UpcomingEvents.tsx Upcoming events
Components 27
Website shell
- Routes and home
src/App.tsx - Navigation
src/components/layout/Navbar.tsx - Footer
src/components/layout/Footer.tsx - Contact page
src/pages/ContactPage.tsx - Contact details
src/components/sections/Contact.tsx
Collective presentation
- Collective page
src/pages/UFORecordzPage.tsx - Home introduction
src/components/sections/Hero.tsx - UFO illustration
src/components/ufo/UFOOrb.tsx - Who we are
src/components/sections/WhoWeAre.tsx - Trusted by
src/components/sections/TrustedBy.tsx - Featured artists
src/components/sections/PlayedWithUs.tsx
Event listings
- Events page
src/pages/EventsPage.tsx - Upcoming events
src/components/sections/UpcomingEvents.tsx - Past events
src/components/sections/PastEvents.tsx - Event card
src/components/sections/EventCard.tsx - Event state
src/hooks/useEvents.ts - Event query
src/data/supabaseEvents.ts
Label and catalogue
- Label page
src/pages/LabelPage.tsx - Latest releases
src/components/sections/Releases.tsx - Values page
src/pages/ValeursPage.tsx - Conduct charter
src/components/sections/ConductCharter.tsx - Charter PDF
public/documents/charte-ufo.pdf
Data services
- Browser client
src/lib/supabase.ts - Supabase database
- SoundCloud sync
supabase/functions/sync-soundcloud/index.ts
Other components
- Visitor
- SoundCloud API
Connections 31
- Visitor → Routes and home: opens
src/App.tsx - Routes and home → Navigation: renders
src/App.tsx - Routes and home → Footer: renders
src/App.tsx - Routes and home → Collective page: routes to
src/App.tsx - Routes and home → Events page: routes to
src/App.tsx - Routes and home → Label page: routes to
src/App.tsx - Routes and home → Values page: routes to
src/App.tsx - Routes and home → Contact page: routes to
src/App.tsx - Routes and home → Home introduction: renders
src/App.tsx - Routes and home → Who we are: renders
src/App.tsx - Routes and home → Trusted by: renders
src/App.tsx - Routes and home → Featured artists: renders
src/App.tsx - Routes and home → Latest releases: renders
src/App.tsx - Home introduction → UFO illustration: renders
src/components/sections/Hero.tsx - Events page → Upcoming events: renders
src/pages/EventsPage.tsx - Events page → Past events: renders
src/pages/EventsPage.tsx - Upcoming events → Event state: loads state
src/components/sections/UpcomingEvents.tsx - Past events → Event state: loads state
src/components/sections/PastEvents.tsx - Upcoming events → Event card: renders
src/components/sections/UpcomingEvents.tsx - Past events → Event card: renders
src/components/sections/PastEvents.tsx - Event state → Event query: fetches events
src/hooks/useEvents.ts - Event query → Browser client: queries through
src/data/supabaseEvents.ts - Browser client → Supabase database: reads
README.md - Featured artists → Browser client: queries artists
src/components/sections/PlayedWithUs.tsx - Latest releases → Browser client: queries releases
src/components/sections/Releases.tsx - Label page → Supabase database: catalogue sourced from
- Values page → Conduct charter: renders
src/pages/ValeursPage.tsx - Conduct charter → Charter PDF: offers download
- Contact page → Contact details: renders
src/pages/ContactPage.tsx - SoundCloud sync → SoundCloud API: fetches tracks
README.md - SoundCloud sync → Supabase database: writes releases
README.md