feat: add branding watermark feature with customizable options and inspector panel

This commit is contained in:
2026-01-07 18:48:21 +02:00
parent 07a48e67f4
commit 5b5646ed78
5 changed files with 412 additions and 0 deletions
+26
View File
@@ -10,6 +10,31 @@ export interface GradientBackground {
angle: number;
}
export interface SocialMedia {
twitter?: string;
linkedin?: string;
instagram?: string;
github?: string;
youtube?: string;
tiktok?: string;
}
export interface Branding {
enabled: boolean;
position: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
name: string;
website: string;
social: SocialMedia;
showName: boolean;
showWebsite: boolean;
showSocial: boolean;
fontSize: number;
fontFamily: string;
color: string;
opacity: number;
padding: number;
}
export interface BrandStrip {
enabled: boolean;
position: 'top' | 'bottom';
@@ -26,6 +51,7 @@ export interface Background {
solid: SolidBackground;
gradient: GradientBackground;
brandStrip: BrandStrip;
branding: Branding;
}
export interface Shadow {