How tej-carpenter/portfolio works
This repository is a static personal portfolio site with a small content-data layer. The main goal is to present profile, projects, certificates, contact details, and a resume through a set of HTML pages, with shared styling and client-side rendering.
1. Page layer
The site is split into separate top-level pages: index.html, projects.html, certificates.html, and contact.html. This suggests a traditional multi-page portfolio rather than a SPA. template.html is likely a reusable scaffold or working template for new pages.
2. Shared presentation layer
css/style.css provides the common visual system across all pages. Because the repository has only one stylesheet, the architecture is centered on consistent global styling rather than page-specific CSS modules.
3. Client-side behavior
js/script.js is the only JavaScript entrypoint and likely handles dynamic rendering and page interactions. Its main architectural role is to connect static page shells to structured content in the data/ folder.
4. Content/data separation
The portfolio content is not hardcoded entirely in the HTML. Instead, data/projects.json and data/certificates.json act as content sources for the Projects and Certificates sections. This is an important boundary: structure and styling live in HTML/CSS, while repeatable content is externalized in JSON.
5. Data flow
The likely runtime flow is: page loads → script.js fetches or reads the JSON files → script transforms that data into cards/entries → content is injected into the relevant page containers. That means the site is static at deploy time, but content presentation is data-driven at runtime in the browser.
6. Portfolio content model
Projects and certificates are the two structured collections. The README explicitly says these sections are “pulled from” the JSON files, so the architecture supports easy maintenance by editing data records instead of changing page markup.
7. Media and asset boundaries
Visual assets are mostly remote images hosted on Cloudinary, while the resume is stored locally at docs/resume.pdf. This means the repo itself is not responsible for image storage, but it does own the downloadable PDF asset.
8. Navigation and user-facing sections
The site is organized around portfolio navigation: home/about, projects, certificates, contact, and resume. The contact page includes external profile links, so the repo acts as a link hub to third-party platforms rather than integrating them deeply.
9. Technology profile
The implementation is lightweight and browser-native: HTML, CSS, and vanilla JavaScript, with JSON as the content format. There is no evidence in this repo of a build system, framework runtime, backend service, or database.
10. Operational boundary
Because everything here is static, deployment is straightforward: serve the files as-is from a static host. The only runtime dependency is the browser plus network access for remote images and external profile links.
11. How to diagram it
A good architecture diagram would show: browser pages on the left, shared CSS/JS in the middle, and JSON content files feeding the JS renderer. External boundaries should include Cloudinary image hosting, GitHub/LinkedIn/LeetCode/Kaggle/HackerRank links, and the local PDF resume asset.
12. Overall structure
In short, this is a content-driven static portfolio with clear separation between presentation, dynamic data, and external references. The repo is optimized for simple maintenance and presentation consistency rather than application complexity.
Main entry points: script.js Renderer · contact.html Contact · template.html Template · index.html Home
Components 13
Pages
Top-level site pages and reusable HTML scaffold
- Home · Landing page for profile and overview
index.html - Projects · Projects listing page
projects.html - Certificates · Certificates listing page
certificates.html - Contact · Contact and profile links page
contact.html - Template · Reusable HTML starter scaffold
template.html
Frontend
Shared styling and client-side rendering
Content
Structured portfolio data and document asset
- Projects data · Project records consumed by the renderer
data/projects.json - Certificates data · Certificate records consumed by the renderer
data/certificates.json - Resume · Downloadable resume document
docs/resume.pdf
External
Remote assets and outbound profile destinations
- Browser · Static site execution environment
- Images · Externally hosted portfolio images
- Profiles · Outbound links to GitHub and other profiles
Connections 21
- Browser → Home: loads · User opens the home page
- Browser → Projects: loads · User opens the projects page
- Browser → Certificates: loads · User opens the certificates page
- Browser → Contact: loads · User opens the contact page
- Home → Styles: uses · Home page shares global styles
- Projects → Styles: uses · Projects page shares global styles
- Certificates → Styles: uses · Certificates page shares global styles
- Contact → Styles: uses · Contact page shares global styles
- Home → Renderer: runs · Home page initializes client behavior
- Projects → Renderer: runs · Projects page initializes client behavior
- Certificates → Renderer: runs · Certificates page initializes client behavior
- Contact → Renderer: runs · Contact page initializes client behavior
- Renderer → Projects data: reads · Renderer pulls project data
- Renderer → Certificates data: reads · Renderer pulls certificate data
- Renderer → Images: embeds · Pages display remotely hosted images
- Contact → Profiles: links · Contact page points to external profiles
- Contact → Resume: downloads · Contact page exposes the resume asset
- Template → Home: scaffolds · Template informs page structure
- Template → Projects: scaffolds · Template informs page structure
- Template → Certificates: scaffolds · Template informs page structure
- Template → Contact: scaffolds · Template informs page structure