bg opcity
deploy to danak / build_and_deploy (push) Has been cancelled

This commit is contained in:
hamid zarghami
2026-07-08 15:50:21 +03:30
parent a2a591420c
commit 33cce93064
13 changed files with 230 additions and 167 deletions
@@ -7,6 +7,7 @@ type ViewerDataPage = {
name: string;
backgroundType?: "color" | "gradient" | "image" | "video";
backgroundColor?: string;
backgroundOpacity?: number;
backgroundGradient?: {
from: string;
to: string;
@@ -203,6 +204,7 @@ export function transformViewerDataToPages(data: ViewerData): PageData[] {
elements: objects,
backgroundType: page.backgroundType,
backgroundColor: page.backgroundColor,
backgroundOpacity: page.backgroundOpacity,
backgroundGradient: page.backgroundGradient,
backgroundImageUrl: page.backgroundImageUrl,
backgroundVideoUrl: page.backgroundVideoUrl,