feat: add avatar upload and optimization features in branding panel, update branding store and canvas store for avatar handling

This commit is contained in:
2026-01-07 21:00:21 +02:00
parent b9da4dd56b
commit 5588fdb989
6 changed files with 396 additions and 25 deletions
+3
View File
@@ -25,9 +25,11 @@ export interface Branding {
name: string;
website: string;
social: SocialMedia;
avatarUrl?: string;
showName: boolean;
showWebsite: boolean;
showSocial: boolean;
showAvatar?: boolean;
fontSize: number;
fontFamily: string;
color: string;
@@ -35,6 +37,7 @@ export interface Branding {
padding: number;
socialIconSize?: number;
socialLayout?: 'horizontal' | 'vertical';
avatarSize?: number;
}
export interface BrandStrip {