Update headshot.
This commit is contained in:
parent
b3aea9e602
commit
c89f9276dc
4 changed files with 40 additions and 26 deletions
|
|
@ -1,20 +1,25 @@
|
||||||
# Active Context - Current Work
|
# Active Context - Current Work
|
||||||
|
|
||||||
## What We're Working On Now
|
## What We're Working On Now
|
||||||
**Email Configuration Task**: ✅ COMPLETED - Successfully updated email configuration with:
|
**Email Configuration Task**: ✅ FULLY COMPLETED - Successfully configured and tested email system:
|
||||||
- Changed recipient email from `mark@finlion.com` to `chris@deafgain.org`
|
- Initial change: `mark@finlion.com` → `chris@deafgain.org` → back to `mark@finlion.com`
|
||||||
- Changed SMTP port from `587` to `2525`
|
- Fixed SMTP port from `587` to `2525` (DigitalOcean requirement)
|
||||||
- Deployed changes to production VPS
|
- Added `requireTLS: true` for Gmail port 2525 compatibility
|
||||||
|
- Resolved Docker environment variable loading issues
|
||||||
|
- Fixed Caddy proxy configuration for container connectivity
|
||||||
|
- Implemented Redis fallback for rate limiting when Upstash unavailable
|
||||||
|
- All changes deployed and verified on production VPS
|
||||||
|
|
||||||
## Current Email Setup Analysis
|
## Current Email Setup Analysis
|
||||||
- **Contact Form Location**: `/src/app/api/contact/route.ts`
|
- **Contact Form Location**: `/src/app/api/contact/route.ts`
|
||||||
- **Email Library**: `/src/lib/email.ts` (exists but not currently used by the API route)
|
- **Email Library**: `/src/lib/email.ts` (exists but not currently used by the API route)
|
||||||
- **Updated Configuration**:
|
- **Final Configuration**:
|
||||||
- SMTP Host: Gmail (smtp.gmail.com:2525)
|
- SMTP Host: Gmail (smtp.gmail.com:2525)
|
||||||
- From Email: system@deafgain.org
|
- From Email: system@deafgain.org
|
||||||
- To Email: chris@deafgain.org
|
- To Email: mark@finlion.com (verified via docker inspect)
|
||||||
- Authentication: Google App Password
|
- Authentication: Google App Password
|
||||||
- Rate limiting enabled via Upstash Redis
|
- Rate limiting: Graceful fallback when Redis unavailable (Upstash instance inactive)
|
||||||
|
- TLS Security: requireTLS enabled for port 2525
|
||||||
|
|
||||||
## Recent Changes
|
## Recent Changes
|
||||||
- Memory Bank files created for the first time
|
- Memory Bank files created for the first time
|
||||||
|
|
@ -28,22 +33,31 @@
|
||||||
- Email configuration uses environment variables
|
- Email configuration uses environment variables
|
||||||
- Rate limiting and input validation are implemented
|
- Rate limiting and input validation are implemented
|
||||||
|
|
||||||
## Deployment Setup Verified
|
## Deployment Setup Current Status
|
||||||
- **VPS Server**: chaulmark@chrishaulmark.com
|
- **VPS Server**: chaulmark@chrishaulmark.com
|
||||||
- **Website Directory**: ~/websites/finlion on VPS
|
- **Website Directory**: ~/websites/finlion on VPS
|
||||||
- **Docker Container**: finlion-website-web-1 (running on port 805)
|
- **Docker Container**: finlion-web-1 (running on port 805)
|
||||||
- **Docker Compose**: finlion-compose.yml configured
|
- **Docker Compose**: Using repository's docker-compose.yml (fixed environment variable loading)
|
||||||
- **Git Status**: On main branch, up to date with origin
|
- **Caddy Proxy**: Updated to point to finlion-web-1:805 (was finlion-website-web-1:805)
|
||||||
- **Container Status**: Running and healthy (up 41 hours)
|
- **Git Status**: On main branch, up to date with latest changes
|
||||||
- **Deployment Process**: Ready to rebuild container after local changes
|
- **Container Status**: Running and healthy with correct environment variables
|
||||||
|
- **Website Access**: https://finlion.com fully operational
|
||||||
|
|
||||||
## Next Steps
|
## Issues Resolved During Task
|
||||||
1. ✅ User is testing the contact form on the finlion website
|
1. **Environment Variables**: Fixed Docker compose empty env vars overriding .env file
|
||||||
2. ✅ Verify emails are received at chris@deafgain.org
|
2. **Caddy Proxy**: Updated container name mapping after switching compose files
|
||||||
3. ✅ Confirm email functionality is working with new configuration
|
3. **SMTP Configuration**: Added requireTLS for Gmail port 2525 compatibility
|
||||||
4. ✅ Task completion pending successful email test
|
4. **Redis Fallback**: Implemented graceful handling of Upstash Redis unavailability
|
||||||
|
5. **Container Connectivity**: Resolved network issues between Caddy and application
|
||||||
|
|
||||||
## Notes
|
## Technical Debt & Future Considerations
|
||||||
- The API route has its own email implementation rather than using the email utility
|
- **Redis**: Upstash instance inactive - consider self-hosted Redis solution
|
||||||
- Both implementations are very similar but slightly different
|
- **Rate Limiting**: Currently disabled due to Redis issues (low security risk)
|
||||||
- Environment variables are properly configured for Gmail SMTP
|
- **Email Implementation**: Duplicate code in route.ts and email.ts (could consolidate)
|
||||||
|
- **Environment Variables**: All properly loaded and verified via docker inspect
|
||||||
|
|
||||||
|
## Task Completion Status
|
||||||
|
✅ **Email Configuration**: Fully functional and tested
|
||||||
|
✅ **Website Access**: Restored and operational
|
||||||
|
✅ **Container Deployment**: Stable and properly configured
|
||||||
|
✅ **All Changes**: Committed to git and deployed to production
|
||||||
|
|
|
||||||
BIN
public/images/mark-old-2024.jpg
Normal file
BIN
public/images/mark-old-2024.jpg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
Binary file not shown.
|
Before Width: | Height: | Size: 2.3 MiB After Width: | Height: | Size: 449 KiB |
|
|
@ -38,10 +38,10 @@ export default function AboutPage() {
|
||||||
<div className="relative lg:order-2">
|
<div className="relative lg:order-2">
|
||||||
<Image
|
<Image
|
||||||
src="/images/mark.jpg"
|
src="/images/mark.jpg"
|
||||||
alt="Mark Apodaca standing indoors in front of green plants and a window with wooden blinds, wearing a brown checked blazer, a white shirt, and a patterned tie. He is smiling confidently, and a small lapel pin is visible on his blazer."
|
alt="Mark Apodaca professional headshot 2025"
|
||||||
width={1365}
|
width={2000}
|
||||||
height={2048}
|
height={1333}
|
||||||
className="rounded-2xl object-cover shadow-xl aspect-[2/3] w-full"
|
className="rounded-2xl object-cover shadow-xl aspect-[3/2] w-full"
|
||||||
priority
|
priority
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue