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>
Drop the news list and news stat card so the dashboard only shows category, banner, static, and currency counts.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>
Client endpoints now return a single-language string (default tm) so the frontend can pass ?lang= and skip picking from nested tm/ru/en objects.
Co-authored-by: Cursor <cursoragent@cursor.com>
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>