# midudev/mcp-higgsfield-landing architecture

> Architecture diagram of the GitHub repository midudev/mcp-higgsfield-landing, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-17). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/midudev/mcp-higgsfield-landing
- Repository: https://github.com/midudev/mcp-higgsfield-landing

## Overview

Arko is a restaurant landing page whose main interaction is a scroll-controlled virtual tour: visitors scroll through six restaurant stops while the matching clip is scrubbed, then browse food, press, experiences, FAQs, gifting and reservation links. The graph focuses on the runtime page, its content and SEO outputs, and its scroll/motion layers. README documents additional sections and behavior beyond the sampled component source; edges are limited to relationships evidenced in excerpts or README.

Main entry points: [`src/pages/index.astro`](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/index.astro) (Landing page), [`src/data/arko.ts`](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/arko.ts) (Restaurant content), [`src/components/ScrollWorld.astro`](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/ScrollWorld.astro) (Scroll world), [`src/scripts/world.ts`](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/scripts/world.ts) (Clip scrubber)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Content and SEO"]
  node_restaurantdata["Restaurant content<br/>[arko.ts]"]
  node_imagecatalog["Public image catalog<br/>[imagenes.ts]"]
  node_structured["Structured data<br/>[schema.ts]"]
  node_llms["AI text summary<br/>[llms.txt.ts]"]
  node_robots["Crawler rules<br/>[robots.txt.ts]"]
  node_sitemap["Image sitemap<br/>[astro.config.mjs]"]
end

subgraph group_tour["Scroll tour"]
  node_scrollworld["Scroll world<br/>[ScrollWorld.astro]"]
  node_stop["Tour stop<br/>[Stop.astro]"]
  node_tourlogic["Clip scrubber<br/>[world.ts]"]
  node_motion["Motion controller<br/>[motion.ts]"]
  node_clips["Tour clips"]
end

subgraph group_landing["Landing sections"]
  node_dishes["Featured dishes<br/>[Dishes.astro]"]
  node_press["Press feature<br/>[Press.astro]"]
  node_experiences["Dining experiences<br/>[Experiences.astro]"]
  node_faq["FAQs<br/>[Faq.astro]"]
  node_gift["Gift card<br/>[Gift.astro]"]
  node_finalcta["Reservation call<br/>[FinalCta.astro]"]
end

subgraph group_delivery["Page delivery"]
  node_landingpage["Landing page<br/>[index.astro]"]
  node_layout["Metadata layout<br/>[Layout.astro]"]
end

node_visitor(("Visitor"))
node_externalbooking["Reservation service"]

node_visitor -->|"opens"| node_landingpage
node_landingpage -.->|"uses"| node_layout
node_landingpage -.->|"renders"| node_scrollworld
node_landingpage -.->|"renders"| node_dishes
node_landingpage -.->|"renders"| node_press
node_landingpage -.->|"renders"| node_experiences
node_landingpage -.->|"renders"| node_faq
node_landingpage -.->|"renders"| node_gift
node_landingpage -.->|"renders"| node_finalcta
node_scrollworld -.->|"renders"| node_stop
node_scrollworld -->|"reads tour stops"| node_restaurantdata
node_scrollworld -->|"references"| node_clips
node_motion -->|"imports"| node_tourlogic
node_motion -->|"initializes"| node_scrollworld
node_visitor -->|"scrolls"| node_tourlogic
node_tourlogic -->|"loads and scrubs"| node_clips
node_visitor -.->|"reserves"| node_externalbooking
node_structured -->|"reads content"| node_restaurantdata
node_structured -->|"reads images"| node_imagecatalog
node_llms -->|"formats summary"| node_restaurantdata
node_sitemap -->|"adds image URLs"| node_imagecatalog
node_robots -->|"references sitemap"| node_sitemap
node_dishes -.->|"displays dishes"| node_restaurantdata
node_experiences -.->|"displays offers"| node_restaurantdata
node_faq -.->|"displays answers"| node_restaurantdata
node_finalcta -.->|"links reservation"| node_externalbooking

click node_landingpage "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/index.astro"
click node_layout "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/layouts/Layout.astro"
click node_restaurantdata "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/arko.ts"
click node_imagecatalog "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/imagenes.ts"
click node_structured "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/schema.ts"
click node_llms "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/llms.txt.ts"
click node_robots "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/robots.txt.ts"
click node_scrollworld "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/ScrollWorld.astro"
click node_stop "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Stop.astro"
click node_tourlogic "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/scripts/world.ts"
click node_motion "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/scripts/motion.ts"
click node_clips "https://github.com/midudev/mcp-higgsfield-landing/tree/main/public/video"
click node_dishes "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Dishes.astro"
click node_press "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Press.astro"
click node_experiences "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Experiences.astro"
click node_faq "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Faq.astro"
click node_gift "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Gift.astro"
click node_finalcta "https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/FinalCta.astro"
click node_sitemap "https://github.com/midudev/mcp-higgsfield-landing/blob/main/astro.config.mjs"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_restaurantdata,node_imagecatalog,node_structured,node_llms,node_robots,node_sitemap toneBlue
class node_scrollworld,node_stop,node_tourlogic,node_motion,node_clips toneAmber
class node_dishes,node_press,node_experiences,node_faq,node_gift,node_finalcta toneMint
class node_landingpage,node_layout toneRose
class node_visitor,node_externalbooking toneIndigo
```

## Components

### Content and SEO

- [Restaurant content](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/arko.ts): `src/data/arko.ts`
- [Public image catalog](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/imagenes.ts): `src/data/imagenes.ts`
- [Structured data](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/data/schema.ts): `src/data/schema.ts`
- [AI text summary](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/llms.txt.ts): `src/pages/llms.txt.ts`
- [Crawler rules](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/robots.txt.ts): `src/pages/robots.txt.ts`
- [Image sitemap](https://github.com/midudev/mcp-higgsfield-landing/blob/main/astro.config.mjs): `astro.config.mjs`

### Scroll tour

- [Scroll world](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/ScrollWorld.astro): `src/components/ScrollWorld.astro`
- [Tour stop](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Stop.astro): `src/components/Stop.astro`
- [Clip scrubber](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/scripts/world.ts): `src/scripts/world.ts`
- [Motion controller](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/scripts/motion.ts): `src/scripts/motion.ts`
- [Tour clips](https://github.com/midudev/mcp-higgsfield-landing/tree/main/public/video): `public/video`

### Landing sections

- [Featured dishes](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Dishes.astro): `src/components/Dishes.astro`
- [Press feature](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Press.astro): `src/components/Press.astro`
- [Dining experiences](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Experiences.astro): `src/components/Experiences.astro`
- [FAQs](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Faq.astro): `src/components/Faq.astro`
- [Gift card](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/Gift.astro): `src/components/Gift.astro`
- [Reservation call](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/components/FinalCta.astro): `src/components/FinalCta.astro`

### Page delivery

- [Landing page](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/pages/index.astro): `src/pages/index.astro`
- [Metadata layout](https://github.com/midudev/mcp-higgsfield-landing/blob/main/src/layouts/Layout.astro): `src/layouts/Layout.astro`

### Other components

- **Visitor**
- **Reservation service**

## Connections

- Visitor → Landing page: opens (evidence: `README.md`)
- Landing page → Metadata layout: uses
- Landing page → Scroll world: renders
- Landing page → Featured dishes: renders
- Landing page → Press feature: renders
- Landing page → Dining experiences: renders
- Landing page → FAQs: renders
- Landing page → Gift card: renders
- Landing page → Reservation call: renders
- Scroll world → Tour stop: renders
- Scroll world → Restaurant content: reads tour stops (evidence: `README.md`)
- Scroll world → Tour clips: references (evidence: `README.md`)
- Motion controller → Clip scrubber: imports (evidence: `src/scripts/motion.ts`)
- Motion controller → Scroll world: initializes (evidence: `src/scripts/motion.ts`)
- Visitor → Clip scrubber: scrolls (evidence: `README.md`)
- Clip scrubber → Tour clips: loads and scrubs (evidence: `src/scripts/world.ts`)
- Visitor → Reservation service: reserves
- Structured data → Restaurant content: reads content (evidence: `src/data/schema.ts`)
- Structured data → Public image catalog: reads images (evidence: `src/data/schema.ts`)
- AI text summary → Restaurant content: formats summary (evidence: `src/pages/llms.txt.ts`)
- Image sitemap → Public image catalog: adds image URLs (evidence: `astro.config.mjs`)
- Crawler rules → Image sitemap: references sitemap (evidence: `README.md`)
- Featured dishes → Restaurant content: displays dishes
- Dining experiences → Restaurant content: displays offers
- FAQs → Restaurant content: displays answers
- Reservation call → Reservation service: links reservation
