# atharvag0007/sitecrafters07 architecture

> Architecture diagram of the GitHub repository atharvag0007/sitecrafters07, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-09-27). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/atharvag0007/sitecrafters07
- Repository: https://github.com/atharvag0007/sitecrafters07

## Overview

SiteCrafters is a digital-services agency website presenting web design, social media management, video editing, selected work, and career opportunities. A prospective client explores the site and service pages, submits a project enquiry, and receives a submission result; the enquiry endpoint validates and rate-limits submissions. The careers branch presents role details and accepts applications, with the sampled API sending applications through Resend. Enquiry email delivery is not shown in the sampled excerpt, so that integration is omitted.

Main entry points: [`app/services/page.tsx`](https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/page.tsx) (Services overview), [`app/careers/page.tsx`](https://github.com/atharvag0007/sitecrafters07/blob/main/app/careers/page.tsx) (Career opportunities), [`app/page.tsx`](https://github.com/atharvag0007/sitecrafters07/blob/main/app/page.tsx) (Home and overview), [`app/inquiry/page.tsx`](https://github.com/atharvag0007/sitecrafters07/blob/main/app/inquiry/page.tsx) (Enquiry form)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Agency site"]
  node_home["Home and overview<br/>[page.tsx]"]
  node_work["Selected work<br/>[page.tsx]"]
end

subgraph group_services["Service portfolio"]
  node_services_index["Services overview<br/>[page.tsx]"]
  node_web_design["Web design<br/>[page.tsx]"]
  node_social_media["Social media<br/>[page.tsx]"]
  node_video_editing["Video editing<br/>[page.tsx]"]
end

subgraph group_inquiries["Client enquiries"]
  node_inquiry_page["Enquiry form<br/>[page.tsx]"]
  node_enquiry_api["Enquiry handling<br/>[route.ts]"]
end

subgraph group_careers["Careers"]
  node_careers_list["Career opportunities<br/>[page.tsx]"]
  node_career_data["Role descriptions<br/>[careers.ts]"]
  node_career_detail["Career role detail<br/>[page.tsx]"]
  node_application_form["Application form"]
  node_career_api["Application handling<br/>[route.ts]"]
end

node_visitor(("Site visitor"))
node_resend["Resend email service"]

node_visitor -->|"visits"| node_home
node_visitor -->|"explores"| node_services_index
node_visitor -->|"views"| node_work
node_visitor -->|"starts enquiry"| node_inquiry_page
node_visitor -->|"explores careers"| node_careers_list
node_home -->|"links to"| node_services_index
node_home -->|"links to"| node_work
node_home -->|"links to"| node_inquiry_page
node_services_index -->|"links to"| node_web_design
node_services_index -->|"links to"| node_social_media
node_services_index -->|"links to"| node_video_editing
node_services_index -->|"links to"| node_inquiry_page
node_inquiry_page -->|"posts enquiry"| node_enquiry_api
node_careers_list -->|"reads roles"| node_career_data
node_careers_list -->|"links to"| node_career_detail
node_careers_list -->|"renders form"| node_application_form
node_career_detail -->|"looks up role"| node_career_data
node_career_detail -->|"links to apply"| node_careers_list
node_application_form -->|"reads roles"| node_career_data
node_career_api -->|"sends application"| node_resend

click node_home "https://github.com/atharvag0007/sitecrafters07/blob/main/app/page.tsx"
click node_work "https://github.com/atharvag0007/sitecrafters07/blob/main/app/work/page.tsx"
click node_services_index "https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/page.tsx"
click node_web_design "https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/web-design/page.tsx"
click node_social_media "https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/social-media/page.tsx"
click node_video_editing "https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/video-editing/page.tsx"
click node_inquiry_page "https://github.com/atharvag0007/sitecrafters07/blob/main/app/inquiry/page.tsx"
click node_enquiry_api "https://github.com/atharvag0007/sitecrafters07/blob/main/app/api/enquiry/route.ts"
click node_careers_list "https://github.com/atharvag0007/sitecrafters07/blob/main/app/careers/page.tsx"
click node_career_data "https://github.com/atharvag0007/sitecrafters07/blob/main/lib/careers.ts"
click node_career_detail "https://github.com/atharvag0007/sitecrafters07/blob/main/app/careers/%5BjobSlug%5D/page.tsx"
click node_application_form "https://github.com/atharvag0007/sitecrafters07/blob/main/components/careers/application-form.tsx"
click node_career_api "https://github.com/atharvag0007/sitecrafters07/blob/main/app/api/careers/route.ts"

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_home,node_work toneBlue
class node_services_index,node_web_design,node_social_media,node_video_editing toneAmber
class node_inquiry_page,node_enquiry_api toneMint
class node_careers_list,node_career_data,node_career_detail,node_application_form,node_career_api toneRose
class node_visitor,node_resend toneIndigo
```

## Components

### Agency site

- [Home and overview](https://github.com/atharvag0007/sitecrafters07/blob/main/app/page.tsx): `app/page.tsx`
- [Selected work](https://github.com/atharvag0007/sitecrafters07/blob/main/app/work/page.tsx): `app/work/page.tsx`

### Service portfolio

- [Services overview](https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/page.tsx): `app/services/page.tsx`
- [Web design](https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/web-design/page.tsx): `app/services/web-design/page.tsx`
- [Social media](https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/social-media/page.tsx): `app/services/social-media/page.tsx`
- [Video editing](https://github.com/atharvag0007/sitecrafters07/blob/main/app/services/video-editing/page.tsx): `app/services/video-editing/page.tsx`

### Client enquiries

- [Enquiry form](https://github.com/atharvag0007/sitecrafters07/blob/main/app/inquiry/page.tsx): `app/inquiry/page.tsx`
- [Enquiry handling](https://github.com/atharvag0007/sitecrafters07/blob/main/app/api/enquiry/route.ts): `app/api/enquiry/route.ts`

### Careers

- [Career opportunities](https://github.com/atharvag0007/sitecrafters07/blob/main/app/careers/page.tsx): `app/careers/page.tsx`
- [Role descriptions](https://github.com/atharvag0007/sitecrafters07/blob/main/lib/careers.ts): `lib/careers.ts`
- [Career role detail](https://github.com/atharvag0007/sitecrafters07/blob/main/app/careers/%5BjobSlug%5D/page.tsx): `app/careers/[jobSlug]/page.tsx`
- [Application form](https://github.com/atharvag0007/sitecrafters07/blob/main/components/careers/application-form.tsx): `components/careers/application-form.tsx`
- [Application handling](https://github.com/atharvag0007/sitecrafters07/blob/main/app/api/careers/route.ts): `app/api/careers/route.ts`

### Other components

- **Site visitor**
- **Resend email service**

## Connections

- Site visitor → Home and overview: visits
- Site visitor → Services overview: explores
- Site visitor → Selected work: views
- Site visitor → Enquiry form: starts enquiry
- Site visitor → Career opportunities: explores careers
- Home and overview → Services overview: links to
- Home and overview → Selected work: links to
- Home and overview → Enquiry form: links to
- Services overview → Web design: links to
- Services overview → Social media: links to
- Services overview → Video editing: links to
- Services overview → Enquiry form: links to
- Enquiry form → Enquiry handling: posts enquiry
- Career opportunities → Role descriptions: reads roles
- Career opportunities → Career role detail: links to
- Career opportunities → Application form: renders form
- Career role detail → Role descriptions: looks up role
- Career role detail → Career opportunities: links to apply
- Application form → Role descriptions: reads roles
- Application handling → Resend email service: sends application
