diff --git a/MockupEngineer/templates/imac242021/__init__.py b/MockupEngineer/templates/imac242021/__init__.py new file mode 100644 index 0000000..ad48f74 --- /dev/null +++ b/MockupEngineer/templates/imac242021/__init__.py @@ -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 diff --git a/MockupEngineer/templates/imac242021/blue/landscape.png b/MockupEngineer/templates/imac242021/blue/landscape.png new file mode 100644 index 0000000..3411d2f Binary files /dev/null and b/MockupEngineer/templates/imac242021/blue/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/blue/portrait.png b/MockupEngineer/templates/imac242021/blue/portrait.png new file mode 100644 index 0000000..3411d2f Binary files /dev/null and b/MockupEngineer/templates/imac242021/blue/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/example.png b/MockupEngineer/templates/imac242021/example.png new file mode 100644 index 0000000..d86984e Binary files /dev/null and b/MockupEngineer/templates/imac242021/example.png differ diff --git a/MockupEngineer/templates/imac242021/green/landscape.png b/MockupEngineer/templates/imac242021/green/landscape.png new file mode 100644 index 0000000..795ea39 Binary files /dev/null and b/MockupEngineer/templates/imac242021/green/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/green/portrait.png b/MockupEngineer/templates/imac242021/green/portrait.png new file mode 100644 index 0000000..795ea39 Binary files /dev/null and b/MockupEngineer/templates/imac242021/green/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/orange/landscape.png b/MockupEngineer/templates/imac242021/orange/landscape.png new file mode 100644 index 0000000..592bff3 Binary files /dev/null and b/MockupEngineer/templates/imac242021/orange/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/orange/portrait.png b/MockupEngineer/templates/imac242021/orange/portrait.png new file mode 100644 index 0000000..592bff3 Binary files /dev/null and b/MockupEngineer/templates/imac242021/orange/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/pink/landscape.png b/MockupEngineer/templates/imac242021/pink/landscape.png new file mode 100644 index 0000000..7349279 Binary files /dev/null and b/MockupEngineer/templates/imac242021/pink/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/pink/portrait.png b/MockupEngineer/templates/imac242021/pink/portrait.png new file mode 100644 index 0000000..7349279 Binary files /dev/null and b/MockupEngineer/templates/imac242021/pink/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/purple/landscape.png b/MockupEngineer/templates/imac242021/purple/landscape.png new file mode 100644 index 0000000..c320727 Binary files /dev/null and b/MockupEngineer/templates/imac242021/purple/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/purple/portrait.png b/MockupEngineer/templates/imac242021/purple/portrait.png new file mode 100644 index 0000000..c320727 Binary files /dev/null and b/MockupEngineer/templates/imac242021/purple/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/silver/landscape.png b/MockupEngineer/templates/imac242021/silver/landscape.png new file mode 100644 index 0000000..ec3853e Binary files /dev/null and b/MockupEngineer/templates/imac242021/silver/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/silver/portrait.png b/MockupEngineer/templates/imac242021/silver/portrait.png new file mode 100644 index 0000000..ec3853e Binary files /dev/null and b/MockupEngineer/templates/imac242021/silver/portrait.png differ diff --git a/MockupEngineer/templates/imac242021/yellow/landscape.png b/MockupEngineer/templates/imac242021/yellow/landscape.png new file mode 100644 index 0000000..5c61021 Binary files /dev/null and b/MockupEngineer/templates/imac242021/yellow/landscape.png differ diff --git a/MockupEngineer/templates/imac242021/yellow/portrait.png b/MockupEngineer/templates/imac242021/yellow/portrait.png new file mode 100644 index 0000000..5c61021 Binary files /dev/null and b/MockupEngineer/templates/imac242021/yellow/portrait.png differ diff --git a/readme.md b/readme.md index 042177b..3f831ca 100644 --- a/readme.md +++ b/readme.md @@ -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 diff --git a/setup.py b/setup.py index 6b0562c..09b7b69 100644 --- a/setup.py +++ b/setup.py @@ -3,7 +3,7 @@ from setuptools import setup, find_packages setup( name='MockupEngineer', - version='2022.01.25.2', + version='2022.01.30.1', packages=find_packages(), url='https://github.com/ulbwazhine/MockupEngineer', license='MIT',