# jstmejosh/eduford architecture

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

- Interactive diagram: https://gitdiagram.com/jstmejosh/eduford
- Repository: https://github.com/jstmejosh/eduford

## Overview

Eduford is a simple school website: visitors browse its home and informational pages, with a contact page and a PHP email handler representing an inquiry workflow. The tree also includes a shared stylesheet. The handler reads submitted fields, attempts to send an email, and redirects to the contact page; however, the sampled PHP has a missing semicolon that prevents it from parsing, and the contact page’s form wiring could not be verified because its HTML was not sampled.

Main entry points: [`eduford/form.php`](https://github.com/jstmejosh/eduford/blob/main/eduford/form.php) (Form handler), [`eduford/contact.html`](https://github.com/jstmejosh/eduford/blob/main/eduford/contact.html) (Contact), [`eduford/index.html`](https://github.com/jstmejosh/eduford/blob/main/eduford/index.html) (Home), [`eduford/about.html`](https://github.com/jstmejosh/eduford/blob/main/eduford/about.html) (About)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_site["School website"]
  node_home["Home<br/>[index.html]"]
  node_style["Site styles<br/>[style.css]"]
end

subgraph group_content["Information pages"]
  node_about["About<br/>[about.html]"]
  node_courses["Courses<br/>[course.html]"]
  node_blog["Blog<br/>[blog.html]"]
end

subgraph group_inquiry["Contact workflow"]
  node_contact["Contact<br/>[contact.html]"]
  node_handler["Form handler<br/>[form.php]"]
end

node_visitor(("Visitor"))
node_mail(("Email service"))

node_visitor -->|"views"| node_home
node_visitor -->|"views"| node_about
node_visitor -->|"views"| node_courses
node_visitor -->|"views"| node_blog
node_visitor -->|"views"| node_contact
node_visitor -->|"posts fields"| node_handler
node_handler -->|"sends email"| node_mail
node_handler -->|"redirects"| node_contact

click node_home "https://github.com/jstmejosh/eduford/blob/main/eduford/index.html"
click node_style "https://github.com/jstmejosh/eduford/blob/main/eduford/style.css"
click node_about "https://github.com/jstmejosh/eduford/blob/main/eduford/about.html"
click node_courses "https://github.com/jstmejosh/eduford/blob/main/eduford/course.html"
click node_blog "https://github.com/jstmejosh/eduford/blob/main/eduford/blog.html"
click node_contact "https://github.com/jstmejosh/eduford/blob/main/eduford/contact.html"
click node_handler "https://github.com/jstmejosh/eduford/blob/main/eduford/form.php"

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_style toneBlue
class node_about,node_courses,node_blog toneAmber
class node_contact,node_handler toneMint
class node_visitor,node_mail toneIndigo
```

## Components

### School website

- [Home](https://github.com/jstmejosh/eduford/blob/main/eduford/index.html): `eduford/index.html`
- [Site styles](https://github.com/jstmejosh/eduford/blob/main/eduford/style.css): `eduford/style.css`

### Information pages

- [About](https://github.com/jstmejosh/eduford/blob/main/eduford/about.html): `eduford/about.html`
- [Courses](https://github.com/jstmejosh/eduford/blob/main/eduford/course.html): `eduford/course.html`
- [Blog](https://github.com/jstmejosh/eduford/blob/main/eduford/blog.html): `eduford/blog.html`

### Contact workflow

- [Contact](https://github.com/jstmejosh/eduford/blob/main/eduford/contact.html): `eduford/contact.html`
- [Form handler](https://github.com/jstmejosh/eduford/blob/main/eduford/form.php): `eduford/form.php`

### Other components

- **Visitor**
- **Email service**

## Connections

- Visitor → Home: views
- Visitor → About: views
- Visitor → Courses: views
- Visitor → Blog: views
- Visitor → Contact: views
- Visitor → Form handler: posts fields
- Form handler → Email service: sends email
- Form handler → Contact: redirects
