diff --git a/src/app/admin/orders/[id]/page.tsx b/src/app/admin/orders/[id]/page.tsx index 649dffe..201b5f3 100644 --- a/src/app/admin/orders/[id]/page.tsx +++ b/src/app/admin/orders/[id]/page.tsx @@ -130,6 +130,80 @@ export default async function OrderDetailPage({ params }: { params: { id: string )} + + {(hasFrontDesign || hasBackDesign) && ( +
Design details
+ {hasFrontDesign && design.front.length > 0 && ( +Front design elements:
++ Text: "{el.text}" +
++ Font: {el.fontFamily} {el.fontSize}px · Color: {el.fill} +
++ Position: x={Math.round(el.x)}px, y={Math.round(el.y)}px · Rotation: {Math.round(el.rotation)}° +
+Image
++ Size: {Math.round(el.width)}px × {Math.round(el.height)}px +
++ Position: x={Math.round(el.x)}px, y={Math.round(el.y)}px · Rotation: {Math.round(el.rotation)}° +
+Back design elements:
++ Text: "{el.text}" +
++ Font: {el.fontFamily} {el.fontSize}px · Color: {el.fill} +
++ Position: x={Math.round(el.x)}px, y={Math.round(el.y)}px · Rotation: {Math.round(el.rotation)}° +
+Image
++ Size: {Math.round(el.width)}px × {Math.round(el.height)}px +
++ Position: x={Math.round(el.x)}px, y={Math.round(el.y)}px · Rotation: {Math.round(el.rotation)}° +
+