Fix hero card aspect ratio and add horoscope generation functionality

Introduce horoscope generation via OpenAI API, including new API endpoints and database schema. Adjust card components in `home.tsx` to use `aspect-[16/9]` for consistent image sizing, resolving previous height stretching issues. Update dependencies in `package.json`.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: 413891e8-d784-4bea-b9f5-91a5a68316b4
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Event-Id: ca1aa952-242c-43c1-9e28-47aed39cee1b
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/f209e72a-0939-48fa-84fc-57854de71967/413891e8-d784-4bea-b9f5-91a5a68316b4/nTLKCC5
Replit-Helium-Checkpoint-Created: true
This commit is contained in:
sebastjanartic
2026-02-28 20:25:58 +00:00
parent 774a72bc22
commit 308e602c73
27 changed files with 1653 additions and 27 deletions
+6 -3
View File
@@ -51,7 +51,7 @@
"date-fns": "^3.6.0",
"dompurify": "^3.3.1",
"drizzle-orm": "^0.39.3",
"drizzle-zod": "^0.7.0",
"drizzle-zod": "^0.7.1",
"embla-carousel-react": "^8.6.0",
"express": "^5.0.1",
"express-session": "^1.18.1",
@@ -61,6 +61,9 @@
"memorystore": "^1.6.7",
"multer": "^2.1.0",
"next-themes": "^0.4.6",
"openai": "^6.25.0",
"p-limit": "^7.3.0",
"p-retry": "^7.1.1",
"passport": "^0.7.0",
"passport-local": "^1.0.0",
"pg": "^8.16.3",
@@ -77,8 +80,8 @@
"vaul": "^1.1.2",
"wouter": "^3.3.5",
"ws": "^8.18.0",
"zod": "^3.24.2",
"zod-validation-error": "^3.4.0"
"zod": "^3.25.76",
"zod-validation-error": "^3.5.4"
},
"devDependencies": {
"@replit/vite-plugin-cartographer": "^0.4.4",