# thienluhoan/fcj-workshop-template architecture

> Architecture diagram of the GitHub repository thienluhoan/fcj-workshop-template, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-05). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/thienluhoan/fcj-workshop-template
- Repository: https://github.com/thienluhoan/fcj-workshop-template

## Overview

This repository is a Hugo-based learning and project portfolio site, with bilingual content covering worklogs, proposals, published blogs, events, and an S3 networking workshop. A visitor browses the rendered material or searches it: the theme’s search script fetches the site index, ranks pages with Lunr, and uses autocomplete suggestions to navigate to a selected page. Content and theme files are present in the tree, but no README or content excerpts were supplied, so links from those content sections to rendered pages are not asserted.

Main entry points: [`themes/hugo-theme-learn/static/js/search.js`](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/search.js) (Search Controller), [`themes/hugo-theme-learn/static/js/auto-complete.js`](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/auto-complete.js) (Autocomplete UI), [`themes/hugo-theme-learn/layouts/index.json`](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/layouts/index.json) (Search Index Template)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_material["Learning Content"]
  node_worklogs["Worklogs"]
  node_proposal["Proposal"]
  node_blogs["Published Blogs"]
  node_events["Events"]
  node_workshop["S3 Workshop"]
  node_evaluation["Self Evaluation"]
  node_feedback["Feedback"]
end

subgraph group_theme["Site Experience"]
  node_site_interactions["Page Interactions<br/>[learn.js]"]
  node_image_enhancements["Image Enhancements<br/>[hugo-learn.js]"]
  node_highlighting["Code Highlighting<br/>[highlight.pack.js]"]
  node_sticky_plugin["Sticky Plugin<br/>[jquery.sticky.js]"]
  node_feature_detection["Feature Detection"]
end

subgraph group_search["Search"]
  node_search_script["Search Controller<br/>[search.js]"]
  node_autocomplete["Autocomplete UI<br/>[auto-complete.js]"]
  node_search_index["Search Index Template<br/>[index.json]"]
end

node_visitor(("Visitor"))

node_search_script -->|"fetches JSON"| node_search_index
node_search_script -->|"initializes suggestions"| node_autocomplete

click node_worklogs "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/1-Worklog"
click node_proposal "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/2-Proposal"
click node_blogs "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/3-BlogsPosted"
click node_events "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/4-EventParticipated"
click node_workshop "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/5-Workshop"
click node_evaluation "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/6-Self-evaluation"
click node_feedback "https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/7-Feedback"
click node_site_interactions "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/learn.js"
click node_image_enhancements "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/hugo-learn.js"
click node_search_script "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/search.js"
click node_autocomplete "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/auto-complete.js"
click node_search_index "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/layouts/index.json"
click node_highlighting "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/highlight.pack.js"
click node_sticky_plugin "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/jquery.sticky.js"
click node_feature_detection "https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/modernizr.custom-3.6.0.js"

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_worklogs,node_proposal,node_blogs,node_events,node_workshop,node_evaluation,node_feedback toneBlue
class node_site_interactions,node_image_enhancements,node_highlighting,node_sticky_plugin,node_feature_detection toneAmber
class node_search_script,node_autocomplete,node_search_index toneMint
class node_visitor toneIndigo
```

## Components

### Learning Content

- [Worklogs](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/1-Worklog): `content/1-Worklog`
- [Proposal](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/2-Proposal): `content/2-Proposal`
- [Published Blogs](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/3-BlogsPosted): `content/3-BlogsPosted`
- [Events](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/4-EventParticipated): `content/4-EventParticipated`
- [S3 Workshop](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/5-Workshop): `content/5-Workshop`
- [Self Evaluation](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/6-Self-evaluation): `content/6-Self-evaluation`
- [Feedback](https://github.com/thienluhoan/fcj-workshop-template/tree/main/content/7-Feedback): `content/7-Feedback`

### Site Experience

- [Page Interactions](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/learn.js): `themes/hugo-theme-learn/static/js/learn.js`
- [Image Enhancements](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/hugo-learn.js): `themes/hugo-theme-learn/static/js/hugo-learn.js`
- [Code Highlighting](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/highlight.pack.js): `themes/hugo-theme-learn/static/js/highlight.pack.js`
- [Sticky Plugin](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/jquery.sticky.js): `themes/hugo-theme-learn/static/js/jquery.sticky.js`
- [Feature Detection](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/modernizr.custom-3.6.0.js): `themes/hugo-theme-learn/static/js/modernizr.custom-3.6.0.js`

### Search

- [Search Controller](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/search.js): `themes/hugo-theme-learn/static/js/search.js`
- [Autocomplete UI](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/static/js/auto-complete.js): `themes/hugo-theme-learn/static/js/auto-complete.js`
- [Search Index Template](https://github.com/thienluhoan/fcj-workshop-template/blob/main/themes/hugo-theme-learn/layouts/index.json): `themes/hugo-theme-learn/layouts/index.json`

### Other components

- **Visitor**

## Connections

- Search Controller → Search Index Template: fetches JSON (evidence: `themes/hugo-theme-learn/static/js/search.js`)
- Search Controller → Autocomplete UI: initializes suggestions (evidence: `themes/hugo-theme-learn/static/js/search.js`)
