Skip to content

Commit

Permalink
Add nokia3310
Browse files Browse the repository at this point in the history
  • Loading branch information
chankiyu22 authored Sep 23, 2024
2 parents 91db472 + 0aebfaf commit 08b6382
Show file tree
Hide file tree
Showing 9 changed files with 41 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions src/scripts/brand.json
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,10 @@
"id": "huawei",
"name": "Huawei",
"modelIds": ["huawei-p-40-pro-plus"]
},
"nokia": {
"id": "nokia",
"name": "Nokia",
"modelIds": ["nokia3310"]
}
}
25 changes: 25 additions & 0 deletions src/scripts/device_info.json
Original file line number Diff line number Diff line change
Expand Up @@ -6870,6 +6870,31 @@
],
"is_mockup_image_at_front": true,
"available_perspectives": ["Portrait", "Landscape"]
},
{
"credits": "<p><a href=\"https://www.skymakers.digital/\" target=\"blank\">Skymaker's Devleoper</a></p>",
"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": [378, 264],
"device_type": "",
"device_id": "nokia3310",
"name": "Nokia 3310",
"orientations": [
{
"alt": "Nokia 3310 Mock Up",
"coords": [
[86, 336],
[464, 336],
[464, 600],
[86, 600]
],
"name": "portrait"
}
],
"is_mockup_image_at_front": true,
"available_perspectives": ["Portrait"]
}
]
}
6 changes: 6 additions & 0 deletions src/scripts/device_model.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
}
}
3 changes: 2 additions & 1 deletion src/scripts/device_type.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions src/scripts/parse/parseBrand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export const BrandEnum = z.enum([
"microsoft",
"oneplus",
"huawei",
"nokia",
]);

export type BrandEnum = z.infer<typeof BrandEnum>;
Expand Down
2 changes: 2 additions & 0 deletions src/scripts/parse/parseModel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ export const ModelEnum = z.enum([
"lg-tm2792",

"galaxy-watch-4",

"nokia3310",
]);

export type ModelEnum = z.infer<typeof ModelEnum>;
Expand Down

0 comments on commit 08b6382

Please sign in to comment.