Modern portfolio site showcasing clean React architecture and accessibility-first development.
- Type-Safe Architecture — Strict TypeScript with no
anytypes in production code - Accessibility First — ARIA labels, keyboard navigation, reduced motion support, and semantic HTML
- Tested — 85 passing tests covering components, hooks, and utilities with Vitest + React Testing Library
- Performance — Lazy loading, code splitting, smooth scrolling with Lenis
- Responsive Design — Mobile-first approach with Tailwind CSS utilities
- React 19 with functional components and modern hooks patterns
- TypeScript 5.8 with strict mode enabled
- Vite for fast builds and HMR
- Framer Motion for animations
- Tailwind CSS for styling
- Vitest + React Testing Library for testing
Clean separation of concerns with reusable components, custom hooks, and utility functions:
- src/components/ — UI components organized by domain (layout, sections, shared)
- src/hooks/ — Custom React hooks (
useActiveSection,useLenis,usePrefersReducedMotion) - src/utils/ — Helper functions for dates, scrolling, and formatting
- src/data/ — Centralized content configuration
The contact form supports two anti-spam modes:
turnstile(Cloudflare Turnstile token sent to Formspree)honeypot(non-interactive hidden field)
Behavior defaults:
- If
VITE_TURNSTILE_SITE_KEYis present, Turnstile is enabled by default. - If no Turnstile key is present, honeypot mode is used.
Optional environment variables:
# Turnstile site key (public)
VITE_TURNSTILE_SITE_KEY=...
# Optional: force provider
VITE_SPAM_PROTECTION_PROVIDER=turnstile
# VITE_SPAM_PROTECTION_PROVIDER=honeypot
# Localhost behavior when Turnstile is enabled:
# fallback (default): bypass challenge and use honeypot locally
# widget: render real Turnstile widget on localhost
VITE_TURNSTILE_LOCAL_MODE=fallbackFor local widget testing (VITE_TURNSTILE_LOCAL_MODE=widget), ensure localhost and 127.0.0.1 are allowed in your Turnstile hostname settings.
MIT License
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Built by Afton Gauntlett