forked from CamiWilliams/RestaurantSkill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
launchrequest.json
99 lines (99 loc) · 3.52 KB
/
launchrequest.json
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
{
"type": "APL",
"version": "1.1",
"theme": "dark",
"import": [],
"resources": [
{
"description": "Colors",
"colors": {
"myBlue": "#5ADDE4",
"myOrange": "#EF9260"
}
},
{
"description": "Images",
"strings": {
"table": "https://s3.amazonaws.com/apl-community-code/restaurant/table.png"
}
}
],
"styles": {},
"layouts": {},
"mainTemplate": {
"parameters": [
"payload"
],
"items": [
{
"type": "Container",
"width": "100vw",
"height": "100vh",
"items": [
{
"type": "Frame",
"width": "100vw",
"height": "55vh",
"backgroundColor": "@myBlue"
},
{
"type": "Frame",
"width": "100vw",
"height": "45vh",
"backgroundColor": "@myOrange"
},
{
"type": "Container",
"width": "100vw",
"height": "100vh",
"position": "absolute",
"items": [
{
"type": "Image",
"source": "@table",
"scale": "best-fill",
"width": "100vw",
"height": "100vh",
"position": "absolute",
"top": "8vh"
},
{
"type": "Text",
"text": "<i>The</i>",
"fontWeight": "800",
"fontSize": "10vh",
"position": "absolute",
"id":"textId1",
"top": "5vh",
"left": "25vw",
"opacity": "${environment.aplVersion == '1.1' ? 0 : 1}"
},
{
"type": "Text",
"text": "Alexa",
"fontWeight": "800",
"fontSize": "15vh",
"position": "absolute",
"id":"textId2",
"top": "12vh",
"left": "34vw",
"opacity": "${environment.aplVersion == '1.1' ? 0 : 1}"
},
{
"type": "Text",
"text": "<i>Cafe</i>",
"fontWeight": "900",
"fontSize": "10vh",
"position": "absolute",
"id":"textId3",
"top": "25vh",
"left": "55vw",
"opacity": "${environment.aplVersion == '1.1' ? 0 : 1}"
}
]
}
]
}
]
}
}