diff --git a/public/images/devices_picture/nokia3310-portrait.png b/public/images/devices_picture/nokia3310-portrait.png new file mode 100644 index 0000000..e015951 Binary files /dev/null and b/public/images/devices_picture/nokia3310-portrait.png differ diff --git a/public/images/mockup_mask_templates/nokia3310-portrait.png b/public/images/mockup_mask_templates/nokia3310-portrait.png new file mode 100644 index 0000000..cd1822d Binary files /dev/null and b/public/images/mockup_mask_templates/nokia3310-portrait.png differ diff --git a/public/images/mockup_templates/nokia3310-portrait.png b/public/images/mockup_templates/nokia3310-portrait.png new file mode 100644 index 0000000..44d0b0d Binary files /dev/null and b/public/images/mockup_templates/nokia3310-portrait.png differ diff --git a/src/scripts/brand.json b/src/scripts/brand.json index 1d4800e..3263f7f 100644 --- a/src/scripts/brand.json +++ b/src/scripts/brand.json @@ -106,5 +106,10 @@ "id": "huawei", "name": "Huawei", "modelIds": ["huawei-p-40-pro-plus"] + }, + "nokia": { + "id": "nokia", + "name": "Nokia", + "modelIds": ["nokia3310"] } } diff --git a/src/scripts/device_info.json b/src/scripts/device_info.json index 7299906..4243587 100755 --- a/src/scripts/device_info.json +++ b/src/scripts/device_info.json @@ -6870,6 +6870,31 @@ ], "is_mockup_image_at_front": true, "available_perspectives": ["Portrait", "Landscape"] + }, + { + "credits": "
", + "color_str": "Default", + "color": null, + "meta_title": "Nokia 3310 Mock Up", + "meta_description": "1 click to generate your Nokia 3310 mockup! You can wrap screenshots in Nokia 3310 for prototypes.", + "display_resolution": [610, 433], + "device_type": "TV", + "device_id": "nokia3310", + "name": "Nokia 3310", + "orientations": [ + { + "alt": "Nokia 3310 Mock Up", + "coords": [ + [272, 592], + [882, 592], + [882, 1025], + [272, 1025] + ], + "name": "portrait" + } + ], + "is_mockup_image_at_front": true, + "available_perspectives": ["Portrait"] } ] } diff --git a/src/scripts/device_model.json b/src/scripts/device_model.json index f32c755..a169eef 100644 --- a/src/scripts/device_model.json +++ b/src/scripts/device_model.json @@ -567,5 +567,11 @@ "samsung-galaxy-watch-4-pink-gold", "samsung-galaxy-watch-4-silver" ] + }, + "nokia3310": { + "name": "Nokia 3310 - The Unbreakable", + "launchDateTimestamp": "2000-09-01T00:00:00Z", + "type": "tv", + "slugs": ["nokia3310"] } } diff --git a/src/scripts/device_type.json b/src/scripts/device_type.json index 40cc282..54b3e88 100644 --- a/src/scripts/device_type.json +++ b/src/scripts/device_type.json @@ -38,7 +38,8 @@ "galaxy-note-5", "galaxy-y", "oneplus-8-pro", - "huawei-p-40-pro-plus" + "huawei-p-40-pro-plus", + "nokia3310" ], "tablet": [ "ipad-pro-11-inch", diff --git a/src/scripts/parse/parseBrand.ts b/src/scripts/parse/parseBrand.ts index ec5f0d7..cab89d0 100644 --- a/src/scripts/parse/parseBrand.ts +++ b/src/scripts/parse/parseBrand.ts @@ -13,6 +13,7 @@ export const BrandEnum = z.enum([ "microsoft", "oneplus", "huawei", + "nokia", ]); export type BrandEnum = z.infer