Skip to content

Commit a8bec46

Browse files
committed
feat: dev updates, Next.js 15 migration and fixes
Next.js 15 Migration: - Upgraded from Next.js 14 to Next.js 15 - Upgraded to React 19 - Fixed async params in all dynamic route pages - Fixed async params in all dynamic API routes - Fixed JSX.Element -> React.ReactNode in Footer.tsx - Updated next-env.d.ts for Next.js 15 types Home page sections: - Built TeamSection component (founders preview, limit 3) - Extracted AboutTeaser as standalone component - Updated home page section order (6 sections) - Added dev empty states to all sections - Removed Meet the Team link from AboutTeaser Admin fixes: - Fixed admin sidebar showing on login page - Moved login to (auth) route group - Moved protected pages to (protected) route group Other: - Favicon updated to use logo.png (icon, apple, shortcut) - scripts/seed-admin.ts added to gitignore - Neon GitHub Actions workflow added - Next.js 15 and async params documented in AGENTS.md
1 parent 7bba1ef commit a8bec46

38 files changed

Lines changed: 1216 additions & 587 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ CLAUDE.md
2020
GEMINI.md
2121
.cursorrules
2222
PROMPTS.md
23+
24+
# Seed scripts — local utility only, not for production
25+
scripts/seed-admin.ts

AGENTS.md

Lines changed: 330 additions & 74 deletions
Large diffs are not rendered by default.

next-env.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3+
/// <reference path="./.next/types/routes.d.ts" />
34

45
// NOTE: This file should not be edited
5-
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
6+
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@
2121
"cloudinary": "^2.10.0",
2222
"clsx": "^2.1.1",
2323
"drizzle-orm": "^0.45.2",
24-
"next": "14.2.35",
24+
"next": "^15.5.15",
2525
"next-auth": "5.0.0-beta.31",
26-
"react": "18.3.1",
27-
"react-dom": "18.3.1",
26+
"react": "19.2.5",
27+
"react-dom": "19.2.5",
2828
"react-email": "^6.0.5",
2929
"react-image-crop": "^11.0.10",
3030
"resend": "^6.12.2",
@@ -37,11 +37,11 @@
3737
"@tailwindcss/postcss": "^4",
3838
"@types/bcryptjs": "^3.0.0",
3939
"@types/node": "^20",
40-
"@types/react": "^18",
41-
"@types/react-dom": "^18",
40+
"@types/react": "^19.2.14",
41+
"@types/react-dom": "^19.2.3",
4242
"drizzle-kit": "^0.31.10",
4343
"eslint": "^9",
44-
"eslint-config-next": "14.2.35",
44+
"eslint-config-next": "15.5.15",
4545
"tailwindcss": "^4",
4646
"typescript": "^5"
4747
}

0 commit comments

Comments
 (0)