How aminedevf/devcraft works
This repository is a Next.js agency showcase site. A visitor reaches the shared layout, then the home page presents studio identity, featured work, a history timeline, and contact and newsletter forms. The contact form validates entries but simulates submission locally; no backend or persistence is evidenced. The graph preserves the central UI primitives and toast utilities named as core modules. Several page sections and integrations are unsampled, so their internal behavior and connections are not inferred.
Main entry points: page.tsx Home page · Contact.tsx Contact section · ContactForm.tsx Contact form · layout.tsx Shared layout
Components 21
Site shell
- Shared layout
app/layout.tsx - Header
app/components/Header.tsx - Footer
app/components/Footer.tsx - Home page
app/page.tsx
Studio showcase
- Hero
app/components/Hero.tsx - Studio story
app/components/WearYourStory.tsx - Feature carousel
app/components/FeatureCarousel.tsx - Portfolio grid
app/components/PortfolioGrid.tsx - Studio timeline
app/components/Timeline.tsx - Marquee
app/components/Marquee.tsx
Visitor engagement
- Contact form
app/components/ContactForm.tsx - Newsletter signup
app/components/NewsletterSubscribe.tsx - Contact section
app/components/Contact.tsx
UI foundations
- Button primitive
components/ui/button.tsx - Input primitive
components/ui/input.tsx - Textarea primitive
components/ui/textarea.tsx - Form primitives
components/ui/form.tsx - Toast utilities
components/ui/use-toast.ts - Toast rendering
components/ui/toast.tsx - Other UI primitives
components/ui
Other components
- Visitor
Connections 24
- Visitor → Shared layout: opens site
- Shared layout → Header: renders
app/layout.tsx - Shared layout → Home page: renders
app/layout.tsx - Shared layout → Footer: renders
app/layout.tsx - Home page → Hero: renders
app/page.tsx - Home page → Studio story: renders
app/page.tsx - Home page → Feature carousel: renders
app/page.tsx - Home page → Portfolio grid: renders
app/page.tsx - Home page → Studio timeline: renders
app/page.tsx - Home page → Marquee: renders
app/page.tsx - Home page → Contact form: renders
app/page.tsx - Home page → Newsletter signup: renders
app/page.tsx - Contact form → Form primitives: uses fields
app/components/ContactForm.tsx - Contact form → Input primitive: renders
app/components/ContactForm.tsx - Contact form → Textarea primitive: renders
app/components/ContactForm.tsx - Contact form → Button primitive: renders
app/components/ContactForm.tsx - Newsletter signup → Input primitive: renders
app/components/NewsletterSubscribe.tsx - Newsletter signup → Button primitive: renders
app/components/NewsletterSubscribe.tsx - Contact section → Input primitive: uses
app/components/Contact.tsx - Contact section → Textarea primitive: uses
app/components/Contact.tsx - Contact section → Button primitive: uses
app/components/Contact.tsx - Contact section → Form primitives: uses
app/components/Contact.tsx - Contact section → Toast utilities: uses
app/components/Contact.tsx - Toast utilities → Toast rendering: uses
components/ui/use-toast.ts