How aidanschreder/aidan-website-2 works
aidanschreder.com is an audience-specific portfolio site: visitors enter through section links, browse engineering, design, photography or 3D work and section-specific about pages, and can contact the owner. Its internal workflows also collect privacy-conscious analytics and administer counts and messages through private /stats. README documents all four portfolio modes, photography collections, contact delivery, and analytics; unsampled feature wiring is shown only where documentation supports it.
Main entry points: app/page.tsx Section Links · route.ts Analytics Tracker · photography/page.tsx Photography · 3d/page.tsx 3D Portfolio
Components 26
Portfolio Sections
- Section Links
app/page.tsx - Engineering
app/engineering/page.tsx - Design
app/design/page.tsx - Design Project
app/design/[slug]/page.tsx - Photography
app/photography/page.tsx - Photo Collection
app/photography/[slug]/page.tsx - 3D Portfolio
app/3d/page.tsx - 3D Work Viewer
app/3d/Work.tsx - Portfolio Content
content/engineering.ts - Photo Assets
app/photography/pack.ts
Visitor Actions
- Contact Form
app/_components/MessageForm.tsx - Message Endpoint
app/api/message/route.ts - Message Services
app/_lib/messages.ts - Telegram Bot
Analytics
- Analytics Tracker
app/api/track/route.ts - Tracking Client
app/_lib/track.ts - Event Aggregation
app/_lib/analytics.ts - Analytics Store
app/_lib/store.ts - Google Analytics
app/_components/analytics/GoogleAnalytics.tsx - Microsoft Clarity
app/_components/analytics/MicrosoftClarity.tsx
Private Stats
- Stats Dashboard
app/stats/page.tsx - Stats Authentication
app/stats/auth.ts - Stats Actions
app/stats/actions.ts - Reset Controls
app/stats/ResetStats.tsx
Other components
- Visitor
- Upstash Redis
Connections 36
- Visitor → Section Links: opens
- Visitor → Engineering: browses
- Visitor → Design: browses
- Visitor → Photography: browses
- Visitor → 3D Portfolio: browses
- Section Links → Engineering: links to
- Section Links → Design: links to
- Section Links → Photography: links to
- Section Links → 3D Portfolio: links to
- Engineering → Portfolio Content: reads
- Design → Portfolio Content: reads
- Design Project → Portfolio Content: reads
- Photography → Photo Assets: packs
- Photography → Photo Collection: links to
- 3D Portfolio → Portfolio Content: reads
- 3D Portfolio → 3D Work Viewer: renders
- Visitor → Design Project: opens
- Visitor → Photo Collection: opens
- Visitor → Contact Form: submits
- Contact Form → Message Endpoint: posts
- Message Endpoint → Message Services: calls
- Message Services → Telegram Bot: notifies
- Message Services → Analytics Store: saves
- Visitor → Analytics Tracker: sends events
- Tracking Client → Analytics Tracker: posts
- Analytics Tracker → Event Aggregation: builds commands
- Analytics Tracker → Analytics Store: executes commands
- Analytics Tracker → Upstash Redis: stores counts
- Visitor → Google Analytics: visits pages
- Visitor → Microsoft Clarity: visits pages
- Visitor → Stats Dashboard: opens
- Stats Dashboard → Stats Authentication: checks access
- Stats Dashboard → Stats Actions: loads data
- Stats Actions → Analytics Store: reads and writes
- Reset Controls → Stats Actions: invokes reset
- Analytics Store → Upstash Redis: uses