4 Commits

Author SHA1 Message Date
Matt
fe0c1c182f Restore project/ folder for comparison reference
- Restored legacy Vite application folder from git history
- Needed for comparing old vs new Next.js implementation
- Contains original component implementations and utilities
2025-11-03 14:23:42 +01:00
Matt
15ab551f11 Consolidate environment configuration and remove legacy files
- Merged admin auth variables from root .env into .env.local
- Added NocoDB credentials to server/.env for backend webhook integration
- Deleted legacy root .env file (superseded by .env.local)
- Deleted legacy project/ folder (old Vite app before Next.js migration)

Result: Clean 2-file .env structure:
- .env.local: Next.js frontend + API routes + admin auth
- server/.env: Express backend + Stripe webhooks + NocoDB

.env.local, server/.env
2025-11-03 14:17:04 +01:00
Matt
98e5b5e633 Fix unused React imports in project/src directory
Some checks failed
Build and Push Docker Images / docker (push) Failing after 2m0s
Remove unused 'React' imports from App.tsx and all component files in project/src/components/. These imports are not needed with the modern JSX transform and were causing TypeScript build errors in strict mode.

Files updated:
- project/src/App.tsx
- project/src/components/About.tsx
- project/src/components/CarbonOffset.tsx
- project/src/components/Contact.tsx
- project/src/components/CurrencySelect.tsx
- project/src/components/ErrorBoundary.tsx
- project/src/components/Home.tsx
- project/src/components/HowItWorks.tsx
- project/src/components/OffsetOrder.tsx
- project/src/components/PuffinAdvantage.tsx
- project/src/components/TripCalculator.tsx
- project/src/components/YachtSearch.tsx

This fixes the Docker build failure caused by TypeScript strict mode detecting unused variables.
2025-10-31 22:30:37 +01:00
Matt
af3abb2afd edits 2025-06-03 16:49:59 +02:00