Commit Graph

9 Commits

Author SHA1 Message Date
262292651a Fix mini-slider admin CRUD JSON encoding and drop seed data from the migration.
Encode title as JSON text so create/list work with pgx, and keep the table migration permission-free so rows are added from admin.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 19:04:48 +05:00
b33fea4cd7 Add mini-slider API and wire the homepage projects carousel.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-18 15:11:15 +05:00
25e5068c8b ch prefix 2026-08-18 00:59:32 +05:00
5f2e2f44ca Fix admin login reload loop from stale localStorage tokens.
Clear client tokens on the login page, gate admin pages with shared cookie JWT checks, and clear Secure cookies reliably behind the proxy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-07 11:20:22 +05:00
8d7390894e Optimize list API payloads and replace homepage swiper with a lighter slider.
Skip unused HTML and metadata from client/admin list queries so pages load less data, and load banner detail by id.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 15:27:42 +05:00
ca0692d190 Add client banner-by-id API and point frontend at new client endpoints.
Also save admin uploads locally under /public/images with a 10MB limit.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:46:23 +05:00
a3c87d231b Serve /public static files and grant bank_admin table access.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-05 14:28:00 +05:00
bd7bdf5867 change routee 2026-08-04 18:01:20 +05:00
363127fe9e fixed 2026-08-04 12:50:20 +05:00