generated from fastn-stack/fastn-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.ftd
138 lines (71 loc) · 1.71 KB
/
index.ftd
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
-- launching-page: LAUNCHING SOON
food-icon: $food-icon
-- footer: Bakbak Technologies India Pvt Ltd
-- component launching-page:
caption title:
food-list list food-icon:
-- ftd.column:
width: fill-container
height: fill-container
align-content: center
spacing.fixed.px: 32
-- ftd.row:
width: fill-container
align-content: center
spacing.fixed.px: 12
-- foods:
$loop$: $launching-page.food-icon as $obj
icon: $obj.icon
-- end: ftd.row
-- ftd.text: $launching-page.title
role: $inherited.types.heading-small
color: $text-strong
style: light
-- end: ftd.column
-- end: launching-page
-- component foods:
ftd.image-src icon:
-- ftd.image:
src: $foods.icon
width.fixed.px: 48
width.fixed.px if { ftd.device == "mobile" }: 38
height.fixed.px: 48
height.fixed.px if { ftd.device == "mobile" }: 38
-- end: foods
-- component footer:
caption title:
-- ftd.column:
width.fixed.px: 1440
width if { ftd.device == "mobile" }: fill-container
padding-horizontal.px: 48
align-content: center
align-self: center
border-top-width.px: 1
border-color: $inherited.colors.border
padding-top.px: 12
padding-bottom.px: 28
-- ftd.text: $footer.title
role: $inherited.types.copy-small
color: $text-strong
style: light
-- end: ftd.column
-- end: footer
-- record food-list:
ftd.image-src icon:
-- food-list list food-icon:
-- food-list:
icon: $assets.files.assets.icon-1.png
-- food-list:
icon: $assets.files.assets.icon-2.png
-- food-list:
icon: $assets.files.assets.icon-3.png
-- food-list:
icon: $assets.files.assets.icon-4.png
-- food-list:
icon: $assets.files.assets.icon-5.png
-- food-list:
icon: $assets.files.assets.icon-6.png
-- end: food-icon
-- ftd.color text-strong:
light: #000000
dark: #000000