Apply the public site UI checklist.

Align header, footer, brand, homepage course preview, faculty links, and the course catalog with the documented changes.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
smhk1376andCursor committed 2026-10-16 14:05:33 +03:30
1 parent 8886aa8640
commit de800d27b1
139 files changed
+3311 -1547

No files matched your search

+4
View File
@@ -40,8 +40,12 @@ postgresql://<user>:<password>@insaight-postgres:5432/ManagmentWebSite_Db
```env
# local (.env.local)
DATABASE_URL=postgresql://<user>:<password>@<host>:5432/ManagmentWebSite_Db
# optional — default 20000; raise if remote host is slow to accept TCP
# DATABASE_CONNECTION_TIMEOUT_MS=20000
```
Pool در `src/lib/db.ts` با `connectionTimeoutMillis` پیش‌فرض **۲۰ ثانیه** و TCP keepalive ساخته می‌شود (هاست ریموت گاهی بیشتر از ۵ثانیه طول می‌کشد). پس از timeout، pool ریست می‌شود تا درخواست بعدی دوباره تلاش کند.
فایل محلی: `.env.local` (در gitignore است).
Production باید مستقیم به نام کانتینر `insaight-postgres` وصل شود (نه IP عمومی از داخل bridge).