Skip to content

DCGorilla62/DCGorilla62.github.io

Repository files navigation

README

Overview

This repository contains the complete source code for my personal academic website hosted at: https://dhcalderon.com

The site is built using the HTML5 UP Dimension template as the base layout, then heavily customized with:

  • a fully redesigned, responsive fixed header
  • mobile/tablet menus
  • section-based content loading
  • a custom gallery with GLightbox
  • separate CSS modules for maintainability
  • a custom 404 error page

The structure is modular so that all user-facing content lives in easy-to-edit locations.

Repository Structure

/
├── index.html                 ← main site shell (fixed header + containers)
├── 404.html                   ← custom fun 404 page
├── assets/
│   ├── css/
│   │   ├── main.css           ← base Dimension CSS (modified)
│   │   ├── header.css         ← custom responsive header + menu
│   │   ├── article.css        ← per-article layout overrides
│   │   ├── gallery.css        ← grid, hover effects, captions, GLightbox styling
│   │   ├── 404.css            ← standalone styles for 404 page
│   │   └── noscript.css
│   ├── js/
│   │   ├── main.js            ← original Dimension behavior engine
│   │   ├── site.js            ← hamburger menu, section loader, GLightbox init
│   │   ├── glightbox.min.js   ← gallery lightbox library
│   │   └── (jquery/util/browser libs included)
│   └── fonts/                 ← Font Awesome
│
├── sections/
│   ├── about.html             ← About content
│   ├── research.html          ← Research content
│   ├── teaching.html          ← Teaching / Mentorship content
│   ├── service.html           ← Service / Community engagement content
│   ├── cv.html                ← CV summary + download link
│   ├── gallery.html           ← photo gallery with GLightbox
│   └── contact.html           ← contact + social icons
│
├── images/
│   ├── personal/              ← Personal photos (family, portraits)
│   ├── research/              ← HELIX + science images
│   ├── gallery/               ← Gallery photos (events, workshops, etc.)
│   └── gorilla_profile.png    ← watermark used in 404 page
│
└── documents/
    └── Calderon_CV.pdf

How the Site Works

1. =index.html= is the base skeleton The site header, wrappers, navigation, and empty article containers live here.

2. =site.js= dynamically loads user content Each `<article id=”…”>` is populated from sections/<id>.html:

fetch(`sections/${id}.html`)

This keeps index.html clean and makes editing sections painless.

3. The fixed header is controlled by header.css This includes:

  • desktop navigation bar
  • tablet layout
  • mobile hamburger menu + dropdown
  • icon styling (GitHub, LinkedIn, Email, CCAPP profile)

4. Articles get custom spacing via article.css This keeps each section consistent across screen sizes.

Gallery System (GLightbox)

A custom image gallery is implemented using GLightbox, with:

  • a responsive 3–2–1 column grid
  • hover pop-out effect + subtle shadows
  • lazy-loading (via loading“lazy”= on images)
  • frosted-glass caption overlay on full-size images
  • custom styling in gallery.css

GLightbox is included via:

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css" />
<script src="https://cdn.jsdelivr.net/npm/glightbox/dist/js/glightbox.min.js"></script>

Initialization happens in site.js after gallery content loads.

Custom 404 Page

The repository includes a playful 404 page with:

  • full-screen blurred gorilla watermark
  • Star Wars–themed messaging
  • bottom-centered return button

Style for this page is entirely in:

assets/css/404.css

GitHub Pages automatically uses 404.html when an invalid path is visited.

Local Development with Docker (Optional)

A lightweight local web server can be run using NGINX via Docker.

Example snippet:

services:
  mysite:
    image: nginx:latest
    ports:
      - "8080:80"
    volumes:
      - ./ :/usr/share/nginx/html:ro

Start server:

docker compose up

Visit the local site at: http://localhost:8080

Hard-refresh for changes: Ctrl+Shift+R

Where to Edit Content

Content TypeLocation
About pagesections/about.html
Researchsections/research.html
Teachingsections/teaching.html
Servicesections/service.html
CV Summarysections/cv.html
Photo Gallerysections/gallery.html
Contact Pagesections/contact.html
Imagesimages/...
Stylesassets/css/...
JavaScriptassets/js/...

License

This website uses the “Dimension” HTML5 UP template under the CCA 3.0 license. All custom modifications, writing, and imagery are © Dennis H. Calderón.

About

Professional academic portfolio for Dennis H. Calderon

Topics

Resources

License

Stars

2 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors