This repository has been archived by the owner on Mar 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
231 lines (231 loc) · 10.7 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=0">
<link href="https://fonts.googleapis.com/css?family=Roboto|Noto+Sans+SC&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Device Mockup Online | DMO</title>
</head>
<body id="body">
<div id="header">
<div id="name">Device Mockup Online</div><div id="Addbtn"><img src="icons/github.svg" width="25px" alt="Add" onClick="location.href='https://github.com/andyc15/device-mockup-online'"></div>
</div>
<div class="banner">
Tip: You may need to cut the edge of the image when using the device with <small>Experimental</small> Tag.<br><br>
<a href="https://facebook.design/devices" target="_blank" style="color: #30dd81;text-decoration: underline;"><small>Download All Device Mockup From FaceBook Design</small></a>
</div>
<div id="list">
<div class="type">
<div class="icon">
<img src="icons/phone.svg" width="25px" alt="Phone">
</div>
<div class="name">
Phone
</div>
</div>
<div class="device">
Apple iPhone 5C
<div class="palette">
<div class="color" style="background-color: #A6F776;" onclick="location.href='go/apple-iphone-5c-green.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #F9F9F9;" onclick="location.href='go/apple-iphone-5c-white.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #73D2FE;" onclick="location.href='go/apple-iphone-5c-blue.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #FF8486;" onclick="location.href='go/apple-iphone-5c-red.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #FFF38B;" onclick="location.href='go/apple-iphone-5c-yellow.html'"></div>
</div>
</div>
<div class="device">
Apple iPhone 5S
<div class="palette">
<div class="color" style="background-color: #a3a2a7;" onclick="location.href='go/apple-iphone-5s-space-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #e7e9e8;" onclick="location.href='go/apple-iphone-5s-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #eee1d0;" onclick="location.href='go/apple-iphone-5s-gold.html'"></div>
</div>
</div>
<div class="device">
Apple iPhone 6S
<div class="palette">
<div class="color" style="background-color: #edc5bf;" onclick="location.href='go/apple-iphone-6s-rose-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #f2d9c2;" onclick="location.href='go/apple-iphone-6s-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #e2e3e4;" onclick="location.href='go/apple-iphone-6s-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #909196;" onclick="location.href='go/apple-iphone-6s-space-gray.html'"></div>
</div>
</div>
<div class="device">
Apple iPhone 6S Plus
<div class="palette">
<div class="color" style="background-color: #edc5bf;" onclick="location.href='go/apple-iphone-6s-plus-rose-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #f2d9c2;" onclick="location.href='go/apple-iphone-6s-plus-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #e2e3e4;" onclick="location.href='go/apple-iphone-6s-plus-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #909196;" onclick="location.href='go/apple-iphone-6s-plus-space-gray.html'"></div>
</div>
</div>
<div class="device">
Apple iPhone 8
<div class="palette">
<div class="color" style="background-color: #3B3B3D;" onclick="location.href='go/apple-iphone-8-space-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #DDDFDE;" onclick="location.href='go/apple-iphone-8-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #E2D0BA;" onclick="location.href='go/apple-iphone-8-gold.html'"></div>
</div>
</div>
<div class="device">
Apple iPhone 11 Pro
<div class="palette">
<div class="color" style="background-color: #52514F;" onclick="location.href='go/apple-iphone-11-pro-space-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #EBEBE3;" onclick="location.href='go/apple-iphone-11-pro-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #6D7A71;" onclick="location.href='go/apple-iphone-11-pro-midnight-green.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #FBD7BD;" onclick="location.href='go/apple-iphone-11-pro-gold.html'"></div>
</div>
</div>
<div class="device" onclick="location.href='go/google-nexus-4.html'">
Google Nexus 4
</div>
<div class="device" onclick="location.href='go/google-nexus-5x.html'">
Google Nexus 5X
</div>
<div class="device" onclick="location.href='go/google-nexus-6p.html'">
Google Nexus 6P
</div>
<div class="device">
Google Pixel
<div class="palette">
<div class="color" style="background-color: #191918;" onclick="location.href='go/google-pixel-quite-black.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #172B79;" onclick="location.href='go/google-pixel-really-blue.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #AAAAAA;" onclick="location.href='go/google-pixel-very-silver.html'"></div>
</div>
</div>
<div class="device">
Google Pixel 3
<div class="palette">
<div class="color" style="background-color: #D1A29F;" onclick="location.href='go/google-pixel-3-not-pink.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #7E7E7E;" onclick="location.href='go/google-pixel-3-just-black.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #F5F5F5;" onclick="location.href='go/google-pixel-3-clearly-white.html'"></div>
</div>
</div>
<div class="device">
Samsung Galaxy S8
<div class="palette">
<div class="color" style="background-color: #000000;" onclick="location.href='go/samsung-galaxy-s8-midnight-black.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #B5B9BD;" onclick="location.href='go/samsung-galaxy-s8-arctic-silver.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #9e8a73;" onclick="location.href='go/samsung-galaxy-s8-maple-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #698ac4;" onclick="location.href='go/samsung-galaxy-s8-coral-blue.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #61506a;" onclick="location.href='go/samsung-galaxy-s8-orchid-gray.html'"></div>
</div>
</div>
<div class="device">
Samsung Galaxy S20 <small>Experimental</small>
<div class="palette">
<div class="color" style="background-color: #68696B;" onclick="location.href='go/samsung-galaxy-s20-cosmic-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #C6E7FA;" onclick="location.href='go/samsung-galaxy-s20-cloud-blue.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #EFC5CF;" onclick="location.href='go/samsung-galaxy-s20-cloud-pink.html'"></div>
</div>
</div>
<div class="device">
Samsung Galaxy S20+ <small>Experimental</small>
<div class="palette">
<div class="color" style="background-color: #0A0907;" onclick="location.href='go/samsung-galaxy-s20+-cosmic-black.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #68696B;" onclick="location.href='go/samsung-galaxy-s20+-cosmic-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #C6E7FA;" onclick="location.href='go/samsung-galaxy-s20+-cloud-blue.html'"></div>
</div>
</div>
<div class="device">
Samsung Galaxy S20 Ultra <small>Experimental</small>
<div class="palette">
<div class="color" style="background-color: #0A0907;" onclick="location.href='go/samsung-galaxy-s20-ultra-cosmic-black.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #68696B;" onclick="location.href='go/samsung-galaxy-s20-ultra-cosmic-gray.html'"></div>
</div>
</div>
<div class="type">
<div class="icon">
<img src="icons/watch.svg" width="25px" alt="Phone">
</div>
<div class="name">
Watch
</div>
</div>
<div class="type">
<div class="icon">
<img src="icons/tablet.svg" width="25px" alt="Phone">
</div>
<div class="name">
Tablet
</div>
</div>
<div class="device" onclick="location.href='go/apple-ipad-pro-11-space-gray-portrait.html'">
Apple iPad Pro 11 Space Gray Portrait
</div>
<div class="device" onclick="location.href='go/microsoft-surface-pro-4.html'">
Microsoft Surface Pro 4
</div>
<div class="device" onclick="location.href='go/google-nexus-9.html'">
Google Nexus 9
</div>
<div class="type">
<div class="icon">
<img src="icons/computer.svg" width="25px" alt="Phone">
</div>
<div class="name">
Computer
</div>
</div>
<div class="device" onclick="location.href='go/apple-imac-pro.html'">
Apple iMac Pro
</div>
<div class="device">
Apple MacBook Air
<div class="palette">
<div class="color" style="background-color: #B2B6B9;" onclick="location.href='go/apple-macbook-air-space-gray.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #EFE0D3;" onclick="location.href='go/apple-macbook-air-gold.html'"></div>
<div class="blank"></div>
<div class="color" style="background-color: #E0E2E1;" onclick="location.href='go/apple-macbook-air-silver.html'"></div>
</div>
</div>
<div class="device" onclick="location.href='go/microsoft-surface-book.html'">
Microsoft Surface Book
</div>
<div class="type">
<div class="icon">
<img src="icons/display.svg" width="25px" alt="Phone">
</div>
<div class="name">
Display
</div>
</div>
</div>
<div id="footer">
The project used only HTML-canvas and Javascript to process the images. Your screenshot will NOT be uploaded to the web. The original mockup images are from Facebook Design.
</div>
</body>
</html>