Skip to content

Create professional demos and 3D mockups in seconds, directly in your browser

feat: add new mockup images and update MockupCategory type for consistency

CristianOlivera1377421aaf78f
diff --git a/lib/mockup-canvas/types.ts b/lib/mockup-canvas/types.ts
index 247ba6e..d8eb489 100644
--- a/lib/mockup-canvas/types.ts
+++ b/lib/mockup-canvas/types.ts
@@ -16,4 +16,5 @@ export interface MockupDrawResult {
contentY: number;
contentWidth: number;
contentHeight: number;
+ contentRadius?: number;
}
diff --git a/public/images/mockups/bg-mobile.avif b/public/images/mockups/bg-device.avif
similarity index 100%
rename from public/images/mockups/bg-mobile.avif
rename to public/images/mockups/bg-device.avif
diff --git a/public/images/mockups/mac-book.webp b/public/images/mockups/mac-book.webp
new file mode 100644
index 0000000..babd559
Binary files /dev/null and b/public/images/mockups/mac-book.webp differ
diff --git a/public/images/mockups/macbook-preview.webp b/public/images/mockups/macbook-preview.webp
new file mode 100644
index 0000000..44bd67d
Binary files /dev/null and b/public/images/mockups/macbook-preview.webp differ
diff --git a/types/mockup.types.ts b/types/mockup.types.ts
index ffacdca..62a8cfe 100644
--- a/types/mockup.types.ts
+++ b/types/mockup.types.ts
@@ -1,4 +1,4 @@
-export type MockupCategory = "browser" | "mobile" | "ide" | "all";
+export type MockupCategory = "browser" | "device" | "ide" | "all";
export const FRAME_COLORS_DARK = ["#1e1e1e", "#252033", "#16283d", "#2d1c28", "#1b2e24", "#2c302e"];
export const FRAME_COLORS_LIGHT = ["#ffffff", "#fff0f2", "#f0f7ff", "#f2faf6", "#f6f3ff"];