feat(banners): make products hero slides addable and fix theme slots

Admins can add/remove any number of product banners, and profile/fund slots keep relative storage paths for refresh-safe previews.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-26 18:31:41 +03:30
co-authored by Cursor
parent 464995a43e
commit 52057805ff
4 changed files with 204 additions and 58 deletions
+1 -3
View File
@@ -104,9 +104,7 @@ export async function loadAppBannersConst(): Promise<AppBannersConstState> {
Object.assign(merged, {
homeAsset: themes.homeAsset,
piggyCreate: themes.piggyCreate,
productsHero1: themes.productsHero1,
productsHero2: themes.productsHero2,
productsHero3: themes.productsHero3,
productsHero: themes.productsHero?.length ? themes.productsHero : merged.productsHero,
referral: themes.referral,
share: themes.share,
invite: themes.invite,