How ayjed/motekra works
MOTEKRA is a static-first company and founder portfolio site. Visitors explore the home, services, work, about and insights pages, then can submit a project inquiry through the sole request-time email endpoint. Typed local content and publication approval govern what appears and what SEO can expose. An internal, build-gated motion lab demonstrates interaction and 3D behavior. The graph follows documented routes and sampled imports; unsampled page implementations and integrations are represented only where the README or source index supports them.
Main entry points: service-detail.tsx Service detail view · index.ts Service collection · routes.ts Approved SEO routes · page.tsx Service routes
Components 29
Public pages
- Home page
src/app/page.tsx - About page
src/app/about/page.tsx - Service routes
src/app/services/page.tsx - Service detail route
src/app/services/[slug]/page.tsx - Work routes
src/app/work/page.tsx - Project detail route
src/app/work/[slug]/page.tsx - Contact page
src/app/contact/page.tsx - Insights routes
src/app/insights/page.tsx - Team profile route
src/app/team/[slug]/page.tsx
Content collections
- Article data access
src/lib/data/articles.ts - Service collection
src/content/services/index.ts - Service descriptions
src/content/services/details.ts - Project collections
src/content/projects/case-studies.ts - Publication models
src/content/models.ts
Contact inquiry
- Inquiry form
src/components/contact/inquiry-form.tsx - Contact endpoint
src/app/api/contact/route.ts - Inquiry processing
src/lib/contact/handler.ts - Email delivery
src/lib/contact/mail.ts
Shared presentation and SEO
- Services presentation
src/components/services/services-page.tsx - Service detail view
src/components/services/service-detail.tsx - Work presentation
src/components/work/work-page.tsx - Case study view
src/components/work/project-detail.tsx - Approved SEO routes
src/lib/seo/routes.ts - Metadata policy
src/lib/seo/site.ts
Motion and 3D
- Motion lab
src/app/motion-lab/page.tsx - Animation lifecycle
src/lib/animations/hooks.ts - Reveal effects
src/components/motion/reveal.tsx - Device scene
src/components/three/device-scene.tsx
Other components
- Site visitor
Connections 27
- Site visitor → Home page: visits
- Site visitor → Service routes: explores
- Site visitor → Work routes: explores
- Site visitor → Contact page: starts inquiry
src/app/contact/page.tsx - Service routes → Services presentation: renders
src/app/services/page.tsx - Service routes → Service collection: reads
src/app/services/page.tsx - Service detail route → Service detail view: renders
- Service detail view → Service descriptions: reads
src/components/services/service-detail.tsx - Service detail view → Service collection: reads
src/components/services/service-detail.tsx - Services presentation → Service collection: reads
src/components/services/services-page.tsx - Services presentation → Service detail view: links to
src/components/services/services-page.tsx - Work routes → Work presentation: renders
src/app/work/page.tsx - Project detail route → Case study view: renders
src/app/work/[slug]/page.tsx - Project detail route → Project collections: reads
src/app/work/[slug]/page.tsx - Case study view → Project collections: reads
src/components/work/project-detail.tsx - Case study view → Publication models: uses types
src/components/work/project-detail.tsx - Contact page → Inquiry form: renders
src/app/contact/page.tsx - Inquiry form → Contact endpoint: submits to
- Contact endpoint → Inquiry processing: dispatches
src/app/api/contact/route.ts - Inquiry processing → Email delivery: delivers through
src/lib/contact/handler.ts - Insights routes → Article data access: reads
src/app/insights/page.tsx - Approved SEO routes → Service collection: filters
src/lib/seo/routes.ts - Approved SEO routes → Project collections: filters
src/lib/seo/routes.ts - Approved SEO routes → Article data access: filters
src/lib/seo/routes.ts - Motion lab → Reveal effects: uses
src/app/motion-lab/page.tsx - Motion lab → Device scene: shows
src/app/motion-lab/page.tsx - Reveal effects → Animation lifecycle: uses
src/components/motion/reveal.tsx