-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathblog-page.ftd
193 lines (107 loc) · 2.6 KB
/
blog-page.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
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
-- import: fifthtry.github.io/fastn-ui/assets
-- import: fifthtry.github.io/fastn-ui/lib as ft
-- ft.page: Developer
$show-breadcrum: true
-- hero-section-1:
-- row-container-50:
-- ft.tabs: All
index: 1
$active-item: true
-- ft.tabs: Design
index: 2
-- ft.tabs: Development
index: 3
-- ft.tabs: Mobile
index: 4
-- ft.tabs: Website
index: 4
-- end: row-container-50
-- row-container-1:
-- blog-card:
-- blog-card:
-- blog-card:
-- blog-card:
-- blog-card:
-- blog-card:
-- end: row-container-1
-- ft.footer:
-- end: ft.page
-- component hero-section-1:
children childs:
-- ft.hero-section: Know Our Stories
image: $assets.files.static.blog.back.png
-- ft.hero-section.info:
Fastn is here to serve to your unique requirements with an easy-to-use platform. At nulla tristique facilisis augue. Lectus diam dignissim.
-- end: hero-section-1
-- component row-container-50:
children row-wrap:
-- ft.row-container:
spacing: 50
align-left: true
padding-vertical: 50
row-wrap: $row-container-50.row-wrap
-- end: row-container-50
-- component blog-card:
ftd.image-src image: $assets.files.static.blog-details.post.svg
caption title: Trending UI elements
string type: UI | UX
string time: 07 min
string model: Design
-- ftd.column:
width.fixed.px: 430
width.fixed.px if {ftd.device == "mobile"}: 320
margin-left.px: 40
-- ftd.column:
width: fill-container
;;padding-horizontal.px: 22
border-color: $inherited.colors.border
border-width.px: 1
border-radius.px: 32
-- ftd.column:
width: fill-container
border-radius.px: 30
align-content: center
margin-left.px: 17
margin-bottom.px: -24
padding-top.px: 24
-- ftd.image:
src: $blog-card.image
border-radius.px: 32
width.fixed.px: 425
width.fixed.px if {ftd.device == "mobile"}: 280
-- end: ftd.column
-- end: ftd.column
-- ftd.row:
width: fill-container
margin-top.px: 48
-- ftd.column:
width: fill-container
spacing.fixed.px: 13
-- ftd.text: $blog-card.title
role: $inherited.types.heading-small
color: $inherited.colors.text
-- ftd.text: $blog-card.type
role: $inherited.types.copy-regular
color: $inherited.colors.text
-- end: ftd.column
-- ftd.column:
spacing.fixed.px: 13
-- ftd.text: $blog-card.model
role: $inherited.types.copy-regular
color: $inherited.colors.text
-- ftd.text: $blog-card.time
role: $inherited.types.copy-regular
color: $inherited.colors.text
-- end: ftd.column
-- end: ftd.row
-- end: ftd.column
-- end: blog-card
-- component row-container-1:
children row-wrap:
-- ft.row-container:
wrap: true
switch-to-column: true
padding-vertical: 50
spacing: 50
row-wrap: $row-container-1.row-wrap
-- end: row-container-1