Update carousels, card hover, and IranBay branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-10-04 13:21:10 +03:30
co-authored by Cursor
commit d5cf76ee30
43 changed files with 7337 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
CONTAINER="${POSTGRES_CONTAINER:-ariyaway-postgres}"
DB_USER="${POSTGRES_USER:-ariyaway}"
DB_NAME="${POSTGRES_DB:-ariyaway}"
MAX_ATTEMPTS="${POSTGRES_WAIT_ATTEMPTS:-30}"
for ((i = 1; i <= MAX_ATTEMPTS; i++)); do
if docker exec "$CONTAINER" pg_isready -U "$DB_USER" -d "$DB_NAME" >/dev/null 2>&1; then
echo "Postgres is ready."
exit 0
fi
echo "Waiting for Postgres ($i/$MAX_ATTEMPTS)…"
sleep 1
done
echo "Postgres did not become ready in time." >&2
exit 1