Skip to content

Commit a36b8bd

Browse files
committed
docs: added sections
1 parent 1c5b177 commit a36b8bd

File tree

1 file changed

+20
-5
lines changed

1 file changed

+20
-5
lines changed

theme_v2_json_structure.py

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# //{atom name}_{section}_{index}
77
"sections": [
88
{
9-
"key": "hero_home_1",
9+
"key": "hero_v1_home_1",
1010
#-- the key is mandatory
1111
"type": "hero_v1",
1212
"visible": True,
@@ -21,7 +21,7 @@
2121
"image": "url"
2222
},
2323
{
24-
"key": "two_columns_home_1",
24+
"key": "two_columns_v1_home_1",
2525
#-- the key is mandatory
2626
"type": "two_columns_v1",
2727
"visible": True,
@@ -69,7 +69,22 @@
6969
],
7070
},
7171
{
72-
"key": "featured_courses_home_1",
72+
"key": "side_image_v1_home_1",
73+
"type": "side_image_v1",
74+
"visible": True,
75+
"title": {
76+
"ar": "المعهد العقاري",
77+
"en": "SREI excellence"
78+
},
79+
"description": {
80+
"ar": "المعهد العقاري",
81+
"en": "SREI excellence"
82+
},
83+
"image": "url",
84+
"reversed": False, #-- False: flex: row | True: flex: row-reverse
85+
},
86+
{
87+
"key": "featured_courses_v1_home_1",
7388
"type": "featured_courses_v1",
7489
"visible": True,
7590
"title": {
@@ -83,7 +98,7 @@
8398
"grid_type": "max-9" #-- accept max-3 | max-6 | max-9 | all | categorised
8499
},
85100
{
86-
"key": "static_metrics_section_home_1",
101+
"key": "static_metrics_section_v1_home_1",
87102
"type": "static_metrics_section_v1",
88103
"visible": True,
89104
"title": {
@@ -133,7 +148,7 @@
133148
]
134149
},
135150
{
136-
"key": "live_metrics_section_home_1",
151+
"key": "live_metrics_section_v1_home_1",
137152
"type": "live_metrics_section_v1",
138153
"visible": True,
139154
"options": [

0 commit comments

Comments
 (0)