How gusyoldi/ochentanoventa works
Purpose and Runtime
Ochenta Noventa is the official promotional site for a Buenos Aires rock-cover band. It is a Next.js 15 App Router application using React 19, TypeScript, and Tailwind CSS 4. It presents band content, upcoming events, discography/volumes, and a booking contact flow. Primary runtime entry points are src/app/layout.tsx and src/app/page.tsx.
Application Shell and Page Composition
The root layout establishes global page structure, fonts, styling, and likely shared SEO/UI providers. The single main route composes the landing-page sections and site-wide navigation/footer.
• src/app/layout.tsx
• src/app/page.tsx
• src/app/_styles/globals.css
The page is organized as independently rendered feature sections rather than separate route pages: Hero, Events, Versions, and Contact.
• src/components/sections/Hero/HeroSection.tsx
• src/components/sections/Events/EventsSection.tsx
• src/components/sections/Versions/VersionsSection.tsx
Content Model: Static Configuration plus Strapi
Static brand/content defaults live under app-local constants and configuration, while dynamic promotional media/content is fetched from headless Strapi. The Strapi service layer isolates endpoint access, schema parsing/types, normalization utilities, and fallback defaults from UI components.
• src/services/strapi/getBanner.ts
• src/services/strapi/getCarousel.ts
• src/services/strapi/getLastVolume.ts
Strapi-fed outputs appear to drive banner/carousel and latest-release experiences; static event, hero, media, and version data are represented separately.
• src/app/_lib/constants/events.ts
• src/app/_lib/constants/hero.ts
• src/app/_lib/constants/versions.ts
Presentation Components and Media
Feature sections consume reusable presentation units for promotional imagery, volume listings, carousel content, and latest-volume cards. Static image assets are served from Next’s public directory, while CMS assets cross the Strapi integration boundary.
• src/components/ui/Carousel/CarouselWrapper.tsx
• src/components/ui/LatestVolume/LatestVolume.tsx
• src/components/sections/Versions/Volumes/VolumesList.tsx
• public/images/carousel1
• public/images/volumes
• public/images/header
Navigation, Footer, and Interaction Accessibility
Shared layout components provide site navigation, contact affordance, branding, footer/social links, and external Spotify linkage. Local primitives and hooks support modal-like behavior, click-outside detection, focus trapping, and accessible interactions.
• src/components/layout/Navbar/Navbar.tsx
• src/components/layout/Footer/Footer.tsx
• src/app/_lib/hooks/useFocusTrap.ts
Contact Submission Boundary
The contact section renders a validated form UI. Submission flows through a client-side contact sender and/or Next API boundary; src/app/api/contact/route.ts is the server route available for handling form requests. EmailJS is the external email delivery service, configured through environment variables rather than repository content.
• src/components/sections/Contact/ContactSection.tsx
• src/components/ui/Form/Form.tsx
• src/app/api/contact/route.ts
SEO, Error Handling, and Discovery
SEO is handled at the App Router layer through metadata and JSON-LD, with crawl endpoints for robots and sitemap generation. Route-level error handling provides a failure boundary for rendering/runtime errors.
• src/app/_lib/seo/metadata.ts
• src/app/_lib/seo/JsonLd.tsx
• src/app/robots.ts
• src/app/sitemap.ts
• src/app/error.tsx
Main entry points: layout.tsx Root layout · page.tsx Landing page · VersionsSection.tsx Versions section · hero.ts Static band content
Components 21
App runtime
- Root layout · Sets global shell, fonts, and shared styling.
src/app/layout.tsx - Landing page · Composes the single-page promotional experience.
src/app/page.tsx - Global styles
src/app/_styles/globals.css - Navigation
src/components/layout/Navbar/Navbar.tsx - Footer & social links
src/components/layout/Footer/Footer.tsx - Error boundary
src/app/error.tsx
Content & presentation
- Hero section
src/components/sections/Hero/HeroSection.tsx - Events section
src/components/sections/Events/EventsSection.tsx - Versions section
src/components/sections/Versions/VersionsSection.tsx - Static band content · Provides hero, event, and versions defaults.
src/app/_lib/constants/hero.ts - Strapi integration · Fetches and normalizes promotional CMS data.
src/services/strapi/getBanner.ts - Promotional carousel
src/components/ui/Carousel/CarouselWrapper.tsx - Latest volume
src/components/ui/LatestVolume/LatestVolume.tsx - Volume list
src/components/sections/Versions/Volumes/VolumesList.tsx
Contact delivery
- Contact section
src/components/sections/Contact/ContactSection.tsx - Validated booking form
src/components/ui/Form/Form.tsx - Contact API · Server boundary for booking submissions.
src/app/api/contact/route.ts - EmailJS · Delivers contact messages using environment configuration.
SEO & discovery
- Metadata & JSON-LD
src/app/_lib/seo/metadata.ts - Robots endpoint
src/app/robots.ts - Sitemap endpoint
src/app/sitemap.ts
Connections 20
- Root layout → Landing page: hosts
- Root layout → Global styles: loads
- Root layout → Navigation: renders
- Root layout → Footer & social links: renders
- Root layout → Metadata & JSON-LD: uses
- Landing page → Hero section: composes
- Landing page → Events section: composes
- Landing page → Versions section: composes
- Landing page → Contact section: composes
- Hero section → Static band content: reads defaults
- Events section → Static band content: reads events
- Versions section → Static band content: reads volumes
- Versions section → Volume list: renders
- Versions section → Latest volume: renders
- Promotional carousel → Strapi integration: loads content
- Latest volume → Strapi integration: loads release
- Contact section → Validated booking form: renders
- Validated booking form → Contact API: submits to
- Contact API → EmailJS: sends email
- Robots endpoint → Sitemap endpoint: advertises