feat(project-editor): reusable image-field (thumbnail+replace+remove), branding OG image+gallery

- shared app-image-field component: thumbnail preview, replace, remove, opens media-picker
- branding: add socialImageUrl + galleryUrls fields, wire to new image-field
- footer: logo + payment icon fields use image-field (drop manual media-picker plumbing)
- i18n: common.remove, adminCategories.replaceImage, builder.socialImage/gallery keys (en/ru/hy)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
sdarbinyan
2026-07-17 15:22:45 +04:00
parent feda0f685f
commit b183410888
12 changed files with 175 additions and 71 deletions

View File

@@ -425,6 +425,9 @@ export interface Translations {
logo: string;
smallLogo: string;
favicon: string;
socialImage: string;
gallery: string;
addGalleryImage: string;
marketplaceTitle: string;
primaryColor: string;
secondaryColor: string;
@@ -570,6 +573,8 @@ export interface Translations {
logoDesc: string;
smallLogoDesc: string;
faviconDesc: string;
socialImageDesc: string;
galleryDesc: string;
marketplaceTitleDesc: string;
primaryColorDesc: string;
secondaryColorDesc: string;
@@ -763,6 +768,7 @@ export interface Translations {
common: {
retry: string;
loading: string;
remove: string;
};
location: {
allRegions: string;
@@ -930,6 +936,7 @@ export interface Translations {
// anywhere, so it rendered as the literal string "adminCategories.chooseImage".
adminCategories: {
chooseImage: string;
replaceImage: string;
};
adminProducts: {
emptyTitle: string;