This repository contains the source for my personal portfolio site, hosted via GitHub Pages at https://trstndvll.github.io.
The site is a single-page, responsive marketing-style page built with:
- HTML5 for structure
- CSS3 for layout and visual design (no framework)
- A small amount of vanilla JavaScript for:
- Mobile navigation (hamburger menu)
- Dynamically setting the current year in the footer
The layout is optimized for readability on both desktop and mobile and is intended to be fast-loading and easy to maintain.
- Frontend: Plain HTML, CSS, and minimal JavaScript.
- Styling:
css/styles.csscontains all custom styles.- Uses CSS custom properties for colors, spacing, and radii.
- Responsive layout via media queries (mobile-friendly).
- Fonts:
- Google Fonts —
DM SansandDM Serif Display.
- Google Fonts —
- Contact form:
- Formspree — form submissions are sent via POST to Formspree; you receive and manage them in the Formspree dashboard.
- reCAPTCHA v2 — "I'm not a robot" checkbox to reduce spam.
- Hosting:
- GitHub Pages from the
trstndvll.github.iorepository.
- GitHub Pages from the
You can view or tweak the site locally in a few ways:
-
Open directly in a browser
- Clone the repo:
git clone https://github.com/trstndvll/trstndvll.github.io.git cd trstndvll.github.io - Open
index.htmlin your browser (double-click or drag into a tab).
- Clone the repo:
-
Serve with a simple local HTTP server (recommended)
- Using Python 3:
cd trstndvll.github.io python3 -m http.server 8000 - Then open
http://localhost:8000in your browser.
- Using Python 3:
This avoids any cross-origin quirks and more closely matches how GitHub Pages will serve the site.
Because this repository is named trstndvll.github.io, GitHub automatically serves the content from the default branch (typically main) at:
https://trstndvll.github.io
To deploy updates:
- Commit your changes:
git add . git commit -m "Update portfolio site"
- Push to the default branch:
git push origin main
- Wait a minute or two for GitHub Pages to rebuild. Then refresh the live URL.