Add image management functionality: introduce Image entity and related API endpoints, update database schema to support image storage, and enhance UI with a new gallery feature for image selection and upload. Update translations for gallery-related terms.

This commit is contained in:
Leonid Pershin
2026-07-25 11:27:34 +03:00
parent 72451f89a8
commit 149cd153b9
34 changed files with 1732 additions and 11 deletions
@@ -0,0 +1,15 @@
import { useTranslation } from 'react-i18next'
import { GalleryBrowser } from './ImageGallery'
/** Отдельная страница «Галерея»: просмотр/загрузка/удаление всех изображений приложения. */
export function GalleryPanel() {
const { t } = useTranslation()
return (
<div className="flex flex-col gap-4">
<h2 className="crt-glow text-xl font-semibold">{t('admin.gallery.title')}</h2>
<div className="crt-panel rounded-md p-4">
<GalleryBrowser />
</div>
</div>
)
}