A minimal, fast-loading personal portfolio website hosted on GitHub Pages, featuring reusable headers/footers, responsive layouts, and simple HTML/CSS/JS architecture.
- Reusable
header.htmlandfooter.htmlloaded with JavaScript - Mobile-responsive layout
- Google Fonts integration
- Social icons (LinkedIn + Instagram)
- Lightweight HTML/CSS (no frameworks)
- Easy to maintain and extend
classiccottrell.github.io/
│
├── index.html
├── about.html (or other future pages)
├── header.html (reusable site header)
├── footer.html (reusable site footer)
├── styles.css
├── script.js (loads header/footer)
│
└── img/
├── Imag-Matthew.png
├── linked.svg
└── instagram.svg
To view the site locally and allow inline HTML imports:
cd /path/to/classiccottrell.github.ioIf installed globally:
http-server .Or using npx:
npx http-server .Your site will be visible at:
http://localhost:8080
header.htmlloadsfooter.htmlloads- Icons/images appear
- No console errors
After making changes:
git add .git commit -m "Update site"git pushYour live site will update automatically:
https://classiccottrell.github.io
(Propagation usually takes 10–60 seconds.)
Mobile adjustments use media queries in styles.css, for example:
@