# cloudcwfranck/cloudcraftwithfranck.github.io architecture

> Architecture diagram of the GitHub repository cloudcwfranck/cloudcraftwithfranck.github.io, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-12-03). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/cloudcwfranck/cloudcraftwithfranck.github.io
- Repository: https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io

## Overview

CloudCraftWithFranck is a localized portfolio, blog, and cloud-advocacy site, with a Bicep analysis playground and contact/newsletter features. The main visitor workflow is viewing the localized home page and following its project, blog, and testimonial highlights; visitors can also browse dedicated portfolio content or submit forms. The graph includes the documented newsletter and testimonials capabilities, plus the distinct Bicep-analysis UI/API stage. Some page and integration wiring is unsampled, so uncertain links are omitted or marked dashed.

Main entry points: [`src/app/[locale]/page.tsx`](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/page.tsx) (Localized Home), [`src/components/playground/BicepPlayground.tsx`](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/BicepPlayground.tsx) (Playground Workspace), [`src/app/api/contact/route.ts`](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/contact/route.ts) (Contact Handler), [`src/app/api/subscribe/route.ts`](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/subscribe/route.ts) (Subscribe Handler)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["Portfolio Site"]
  node_home["Localized Home<br/>[page.tsx]"]
  node_portfolio["Portfolio Pages<br/>[page.tsx]"]
  node_about["About Page<br/>[page.tsx]"]
  node_gallery["Gallery Page<br/>[page.tsx]"]
  node_runbooks["Runbooks Pages<br/>[page.tsx]"]
  node_dashboard["Dashboard<br/>[page.tsx]"]
end

subgraph group_content["Content and Localization"]
  node_blog["Blog Pages<br/>[page.tsx]"]
  node_postlist["Latest Posts<br/>[Posts.tsx]"]
  node_resources["Content Resources<br/>[config.js]"]
  node_rendercontent["Localized Content<br/>[renderContent.js]"]
  node_routing["Locale Routing<br/>[routing.ts]"]
end

subgraph group_engagement["Visitor Engagement"]
  node_contactform["Contact Form<br/>[ContactForm.tsx]"]
  node_contactapi["Contact Handler<br/>[route.ts]"]
  node_emailtemplates["Contact Emails"]
  node_newsletter["Newsletter Form<br/>[Mailchimp.tsx]"]
  node_subscribeapi["Subscribe Handler<br/>[route.ts]"]
  node_welcomeemail["Welcome Email<br/>[welcome.tsx]"]
  node_testimonials["Student Testimonials<br/>[page.tsx]"]
end

subgraph group_playground["Bicep Playground"]
  node_playgroundpage["Playground Page<br/>[page.tsx]"]
  node_bicepeditor["Bicep Editor<br/>[BicepEditor.tsx]"]
  node_bicepplayground["Playground Workspace"]
  node_analysisapi["Bicep Analyzer<br/>[route.ts]"]
  node_compliance["Compliance Results"]
  node_controlbadge["Control Details<br/>[ControlBadge.tsx]"]
end

subgraph group_ui["UI Components"]
  node_designsystem["Once UI Components"]
  node_header["Site Header<br/>[Header.tsx]"]
  node_projectcard["Project Cards<br/>[ProjectCard.tsx]"]
end

node_visitor(("Visitor"))
node_resend["Resend Email"]

node_visitor -->|"views"| node_home
node_home -->|"renders content"| node_rendercontent
node_rendercontent -->|"uses config"| node_resources
node_home -->|"shows projects"| node_portfolio
node_home -->|"shows posts"| node_postlist
node_home -->|"presents stories"| node_testimonials
node_visitor -->|"browses"| node_blog
node_visitor -->|"browses"| node_about
node_visitor -.->|"browses"| node_gallery
node_visitor -.->|"browses"| node_runbooks
node_visitor -.->|"submits inquiry"| node_contactform
node_contactform -.->|"posts form"| node_contactapi
node_contactapi -->|"renders emails"| node_emailtemplates
node_contactapi -->|"sends email"| node_resend
node_visitor -->|"subscribes"| node_newsletter
node_newsletter -.->|"submits email"| node_subscribeapi
node_subscribeapi -->|"renders welcome"| node_welcomeemail
node_subscribeapi -->|"sends email"| node_resend
node_visitor -.->|"opens playground"| node_playgroundpage
node_playgroundpage -.->|"renders workspace"| node_bicepplayground
node_bicepplayground -.->|"includes editor"| node_bicepeditor
node_bicepplayground -.->|"requests analysis"| node_analysisapi
node_bicepplayground -.->|"shows findings"| node_compliance
node_compliance -->|"renders controls"| node_controlbadge
node_home -->|"uses components"| node_designsystem
node_header -->|"uses components"| node_designsystem
node_portfolio -.->|"renders cards"| node_projectcard
node_visitor -.->|"opens dashboard"| node_dashboard
node_routing -->|"reads locale config"| node_resources

click node_home "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/page.tsx"
click node_portfolio "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/work/page.tsx"
click node_about "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/about/page.tsx"
click node_gallery "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/gallery/page.tsx"
click node_runbooks "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/runbooks/page.tsx"
click node_blog "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/blog/page.tsx"
click node_postlist "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/blog/Posts.tsx"
click node_resources "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/resources/config.js"
click node_rendercontent "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/resources/renderContent.js"
click node_routing "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/i18n/routing.ts"
click node_contactform "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/contact/ContactForm.tsx"
click node_contactapi "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/contact/route.ts"
click node_emailtemplates "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/emails/contact-notification.tsx"
click node_newsletter "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/Mailchimp.tsx"
click node_subscribeapi "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/subscribe/route.ts"
click node_welcomeemail "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/emails/welcome.tsx"
click node_testimonials "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/page.tsx"
click node_playgroundpage "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/playground/page.tsx"
click node_bicepeditor "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/BicepEditor.tsx"
click node_bicepplayground "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/BicepPlayground.tsx"
click node_analysisapi "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/bicep-analyze/route.ts"
click node_compliance "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/CompliancePanel.tsx"
click node_controlbadge "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/ControlBadge.tsx"
click node_designsystem "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/tree/main/src/once-ui/components"
click node_header "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/Header.tsx"
click node_projectcard "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/ProjectCard.tsx"
click node_dashboard "https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/dashboard/page.tsx"

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_portfolio,node_about,node_gallery,node_runbooks,node_dashboard toneBlue
class node_blog,node_postlist,node_resources,node_rendercontent,node_routing toneAmber
class node_contactform,node_contactapi,node_emailtemplates,node_newsletter,node_subscribeapi,node_welcomeemail,node_testimonials toneMint
class node_playgroundpage,node_bicepeditor,node_bicepplayground,node_analysisapi,node_compliance,node_controlbadge toneRose
class node_designsystem,node_header,node_projectcard,node_visitor,node_resend toneIndigo
```

## Components

### Portfolio Site

- [Localized Home](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/page.tsx): `src/app/[locale]/page.tsx`
- [Portfolio Pages](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/work/page.tsx): `src/app/[locale]/work/page.tsx`
- [About Page](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/about/page.tsx): `src/app/[locale]/about/page.tsx`
- [Gallery Page](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/gallery/page.tsx): `src/app/[locale]/gallery/page.tsx`
- [Runbooks Pages](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/runbooks/page.tsx): `src/app/[locale]/runbooks/page.tsx`
- [Dashboard](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/dashboard/page.tsx): `src/app/[locale]/dashboard/page.tsx`

### Content and Localization

- [Blog Pages](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/blog/page.tsx): `src/app/[locale]/blog/page.tsx`
- [Latest Posts](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/blog/Posts.tsx): `src/components/blog/Posts.tsx`
- [Content Resources](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/resources/config.js): `src/app/resources/config.js`
- [Localized Content](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/resources/renderContent.js): `src/app/resources/renderContent.js`
- [Locale Routing](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/i18n/routing.ts): `src/i18n/routing.ts`

### Visitor Engagement

- [Contact Form](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/contact/ContactForm.tsx): `src/app/[locale]/contact/ContactForm.tsx`
- [Contact Handler](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/contact/route.ts): `src/app/api/contact/route.ts`
- [Contact Emails](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/emails/contact-notification.tsx): `emails/contact-notification.tsx`
- [Newsletter Form](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/Mailchimp.tsx): `src/components/Mailchimp.tsx`
- [Subscribe Handler](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/subscribe/route.ts): `src/app/api/subscribe/route.ts`
- [Welcome Email](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/emails/welcome.tsx): `emails/welcome.tsx`
- [Student Testimonials](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/page.tsx): `src/app/[locale]/page.tsx`

### Bicep Playground

- [Playground Page](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/%5Blocale%5D/playground/page.tsx): `src/app/[locale]/playground/page.tsx`
- [Bicep Editor](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/BicepEditor.tsx): `src/components/playground/BicepEditor.tsx`
- [Playground Workspace](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/BicepPlayground.tsx): `src/components/playground/BicepPlayground.tsx`
- [Bicep Analyzer](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/app/api/bicep-analyze/route.ts): `src/app/api/bicep-analyze/route.ts`
- [Compliance Results](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/CompliancePanel.tsx): `src/components/playground/CompliancePanel.tsx`
- [Control Details](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/playground/ControlBadge.tsx): `src/components/playground/ControlBadge.tsx`

### UI Components

- [Once UI Components](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/tree/main/src/once-ui/components): `src/once-ui/components`
- [Site Header](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/Header.tsx): `src/components/Header.tsx`
- [Project Cards](https://github.com/cloudcwfranck/cloudcraftwithfranck.github.io/blob/main/src/components/ProjectCard.tsx): `src/components/ProjectCard.tsx`

### Other components

- **Visitor**
- **Resend Email**

## Connections

- Visitor → Localized Home: views (evidence: `src/app/[locale]/page.tsx`)
- Localized Home → Localized Content: renders content (evidence: `src/app/[locale]/page.tsx`)
- Localized Content → Content Resources: uses config (evidence: `src/app/resources/index.ts`)
- Localized Home → Portfolio Pages: shows projects (evidence: `src/app/[locale]/page.tsx`)
- Localized Home → Latest Posts: shows posts (evidence: `src/app/[locale]/page.tsx`)
- Localized Home → Student Testimonials: presents stories (evidence: `src/app/[locale]/page.tsx`)
- Visitor → Blog Pages: browses (evidence: `README.md`)
- Visitor → About Page: browses (evidence: `src/app/[locale]/about/page.tsx`)
- Visitor → Gallery Page: browses
- Visitor → Runbooks Pages: browses
- Visitor → Contact Form: submits inquiry
- Contact Form → Contact Handler: posts form
- Contact Handler → Contact Emails: renders emails (evidence: `src/app/api/contact/route.ts`)
- Contact Handler → Resend Email: sends email (evidence: `src/app/api/contact/route.ts`)
- Visitor → Newsletter Form: subscribes (evidence: `README.md`)
- Newsletter Form → Subscribe Handler: submits email
- Subscribe Handler → Welcome Email: renders welcome (evidence: `src/app/api/subscribe/route.ts`)
- Subscribe Handler → Resend Email: sends email (evidence: `src/app/api/subscribe/route.ts`)
- Visitor → Playground Page: opens playground
- Playground Page → Playground Workspace: renders workspace
- Playground Workspace → Bicep Editor: includes editor
- Playground Workspace → Bicep Analyzer: requests analysis
- Playground Workspace → Compliance Results: shows findings
- Compliance Results → Control Details: renders controls (evidence: `src/components/playground/CompliancePanel.tsx`)
- Localized Home → Once UI Components: uses components (evidence: `src/app/[locale]/page.tsx`)
- Site Header → Once UI Components: uses components (evidence: `src/components/Header.tsx`)
- Portfolio Pages → Project Cards: renders cards
- Visitor → Dashboard: opens dashboard
- Locale Routing → Content Resources: reads locale config (evidence: `src/i18n/routing.ts`)
