How muneebabadar/bakery-shop-the-daily-crumbs works
The repository is a small bakery website: visitors can view a bakery landing page and submit a contact form. The form posts to a server route, which validates the message and sends it through Gmail using Nodemailer. The shared layout adds site navigation around page content. The excerpts show these main relationships; other navigation destinations are not present in the supplied tree.
Main entry points: contact/page.tsx Contact Form · layout.tsx Shared Layout · route.ts Contact Handler · app/page.tsx Bakery Landing
Components 7
Website
- Shared Layout
src/app/layout.tsx - Site Navigation
src/app/components/header.tsx - Bakery Landing
src/app/page.tsx
Contact Messaging
- Contact Form
src/app/contact/page.tsx - Contact Handler
src/app/api/contact/route.ts - Gmail SMTP
Other components
- Visitor
Connections 8
- Visitor → Bakery Landing: views
src/app/page.tsx - Visitor → Contact Form: opens
src/app/contact/page.tsx - Shared Layout → Site Navigation: renders
src/app/layout.tsx - Shared Layout → Bakery Landing: renders page
src/app/layout.tsx - Shared Layout → Contact Form: renders page
src/app/layout.tsx - Contact Form → Contact Handler: posts form
src/app/contact/page.tsx - Contact Handler → Gmail SMTP: sends email
src/app/api/contact/route.ts - Contact Handler → Contact Form: returns status
src/app/contact/page.tsx