How elianbecali/ligouamou.com.br works
LigouAmou is a Portuguese-language editorial site for product reviews, comparisons, and buying guides, with affiliate links. Its main workflow fetches published content from Sanity, presents featured and searchable posts on the home page, and serves category and article pages; article rendering includes structured content and related posts. The graph also captures discovery feeds, site navigation, and the Sanity content model. Relationships are limited to calls and imports visible in sampled files or the source index; several route and schema implementations were not sampled.
Main entry points: sanity.client.ts Sanity client · app/page.tsx Home page · [slug]/page.tsx Article page · queries.ts Content queries
Components 27
Content publishing
- Content queries
src/lib/queries.ts - Sanity client
src/lib/sanity.client.ts - Image URLs
src/lib/sanity.image.ts - Sanity content store
- Content schemas
src/sanity/schemas - Sanity Studio config
sanity.config.ts
Reading experience
- Home page
src/app/page.tsx - Featured story
src/components/home/HeroSection.tsx - Home post card
src/components/home/PostCard.tsx - Popular posts
src/components/home/MostRead.tsx - Article page
src/app/blog/[slug]/page.tsx - Rich text renderer
src/components/PortableTextRenderer.tsx - Affiliate links
src/components/AffiliateButton.tsx - Related post card
src/components/PostCard.tsx - Category page
src/app/categoria/[slug]/page.tsx
Search and discovery
- Posts grid
src/components/home/PostsGrid.tsx - Search filters
src/components/home/SearchFilter.tsx - Search state
src/hooks/usePostSearch.ts - Post search API
src/app/api/posts/search/route.ts - Category explorer
src/components/home/CategoryExplore.tsx - LLM content feeds
src/app/llms.txt/route.ts - Full content feed
src/app/llms-full.txt/route.ts - Sitemap
src/app/sitemap.ts
Site platform
- Site layout
src/app/layout.tsx - Header navigation
src/components/Header.tsx - Footer
src/components/Footer.tsx
Other components
- Reader
Connections 33
- Reader → Home page: opens
src/app/page.tsx - Home page → Sanity client: fetches
src/app/page.tsx - Home page → Content queries: uses query
src/app/page.tsx - Home page → Featured story: renders
src/app/page.tsx - Home page → Posts grid: renders
src/app/page.tsx - Home page → Popular posts: renders
src/app/page.tsx - Home page → Category explorer: renders
src/app/page.tsx - Posts grid → Search state: uses state
src/components/home/PostsGrid.tsx - Posts grid → Search filters: renders
src/components/home/PostsGrid.tsx - Posts grid → Home post card: renders
src/components/home/PostsGrid.tsx - Search state → Post search API: requests results
src/hooks/usePostSearch.ts - Post search API → Sanity client: fetches results
src/app/api/posts/search/route.ts - Reader → Article page: opens article
src/app/blog/[slug]/page.tsx - Article page → Sanity client: fetches post
src/app/blog/[slug]/page.tsx - Article page → Content queries: uses queries
src/app/blog/[slug]/page.tsx - Article page → Rich text renderer: renders body
src/app/blog/[slug]/page.tsx - Article page → Related post card: renders related
src/app/blog/[slug]/page.tsx - Rich text renderer → Affiliate links: renders links
src/components/PortableTextRenderer.tsx - Article page → Image URLs: builds image URLs
src/app/blog/[slug]/page.tsx - Related post card → Image URLs: builds image URLs
src/components/PostCard.tsx - Featured story → Image URLs: builds image URLs
src/components/home/HeroSection.tsx - Category page → Sanity client: fetches category
src/app/categoria/[slug]/page.tsx - Category page → Content queries: uses query
src/app/categoria/[slug]/page.tsx - Sanity client → Sanity content store: connects
src/lib/sanity.client.ts - Image URLs → Sanity client: configures builder
src/lib/sanity.image.ts - Sanity Studio config → Content schemas: loads schemas
sanity.config.ts - Site layout → Header navigation: renders
src/app/layout.tsx - Site layout → Footer: renders
src/app/layout.tsx - LLM content feeds → Sanity client: fetches content
src/app/llms.txt/route.ts - LLM content feeds → Content queries: uses query
src/app/llms.txt/route.ts - Full content feed → Sanity client: fetches content
src/app/llms-full.txt/route.ts - Full content feed → Content queries: uses query
src/app/llms-full.txt/route.ts - Sitemap → Sanity client: fetches content
src/app/sitemap.ts