2022.01.30.1
32
MockupEngineer/templates/imac242021/__init__.py
Normal file
|
@ -0,0 +1,32 @@
|
|||
from dataclasses import dataclass
|
||||
|
||||
from MockupEngineer.templates import Template
|
||||
|
||||
|
||||
@dataclass
|
||||
class Device(Template):
|
||||
def __device_init__(self):
|
||||
self.manufacturer = 'Apple'
|
||||
self.name = 'iMac 24"'
|
||||
self.type = 'pc'
|
||||
self.year = 2021
|
||||
self.resolution = '{width} x {height}'.format(width=4480, height=2520)
|
||||
|
||||
self.__template_path__ = 'imac242021'
|
||||
self.__colors__ = {"Blue": 'blue',
|
||||
"Green": 'green',
|
||||
"Orange": 'orange',
|
||||
"Pink": 'pink',
|
||||
"Purple": 'purple',
|
||||
"Silver": 'silver',
|
||||
"Yellow": 'yellow'}
|
||||
|
||||
self.__portrait_width__ = 4216
|
||||
self.__portrait_height__ = 2375
|
||||
self.__portrait_x__ = 517
|
||||
self.__portrait_y__ = 302
|
||||
|
||||
self.__landscape_width__ = 4216
|
||||
self.__landscape_height__ = 2375
|
||||
self.__landscape_x__ = 517
|
||||
self.__landscape_y__ = 302
|
BIN
MockupEngineer/templates/imac242021/blue/landscape.png
Normal file
After Width: | Height: | Size: 7.7 MiB |
BIN
MockupEngineer/templates/imac242021/blue/portrait.png
Normal file
After Width: | Height: | Size: 7.7 MiB |
BIN
MockupEngineer/templates/imac242021/example.png
Normal file
After Width: | Height: | Size: 6.9 MiB |
BIN
MockupEngineer/templates/imac242021/green/landscape.png
Normal file
After Width: | Height: | Size: 5.6 MiB |
BIN
MockupEngineer/templates/imac242021/green/portrait.png
Normal file
After Width: | Height: | Size: 5.6 MiB |
BIN
MockupEngineer/templates/imac242021/orange/landscape.png
Normal file
After Width: | Height: | Size: 7.4 MiB |
BIN
MockupEngineer/templates/imac242021/orange/portrait.png
Normal file
After Width: | Height: | Size: 7.4 MiB |
BIN
MockupEngineer/templates/imac242021/pink/landscape.png
Normal file
After Width: | Height: | Size: 7.7 MiB |
BIN
MockupEngineer/templates/imac242021/pink/portrait.png
Normal file
After Width: | Height: | Size: 7.7 MiB |
BIN
MockupEngineer/templates/imac242021/purple/landscape.png
Normal file
After Width: | Height: | Size: 6.7 MiB |
BIN
MockupEngineer/templates/imac242021/purple/portrait.png
Normal file
After Width: | Height: | Size: 6.7 MiB |
BIN
MockupEngineer/templates/imac242021/silver/landscape.png
Normal file
After Width: | Height: | Size: 8.2 MiB |
BIN
MockupEngineer/templates/imac242021/silver/portrait.png
Normal file
After Width: | Height: | Size: 8.2 MiB |
BIN
MockupEngineer/templates/imac242021/yellow/landscape.png
Normal file
After Width: | Height: | Size: 7.9 MiB |
BIN
MockupEngineer/templates/imac242021/yellow/portrait.png
Normal file
After Width: | Height: | Size: 7.9 MiB |
|
@ -147,6 +147,15 @@ Full list of all currently supported mockups
|
|||
* [Apple iMac 21"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/imac212015/example.png) [4096 x 2304] (2015)
|
||||
* Silver
|
||||
|
||||
* [Apple iMac 24"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/imac242021/example.png) [4480 x 2520] (2021)
|
||||
* Blue
|
||||
* Green
|
||||
* Orange
|
||||
* Pink
|
||||
* Purple
|
||||
* Silver
|
||||
* Yellow
|
||||
|
||||
* [Apple MacBook 12"](https://raw.githubusercontent.com/ulbwazhine/MockupEngineer/main/MockupEngineer/templates/macbook122016/example.png) [2304 x 1440] (2016)
|
||||
* Gold
|
||||
* Space Gray
|
||||
|
|