Skip to content

Commit 4b5027d

Browse files
authored
Merge pull request #147 from openobserve/dev
added resources and customer stories component
2 parents 86e4a90 + 45b2bac commit 4b5027d

5 files changed

Lines changed: 158 additions & 38 deletions

File tree

Lines changed: 40 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,45 @@
11
{
2-
"kind": "collectionType",
3-
"collectionName": "platform_pages",
4-
"info": {
5-
"singularName": "platform-page",
6-
"pluralName": "platform-pages",
7-
"displayName": "Platform Page",
8-
"description": ""
9-
},
10-
"options": {
11-
"draftAndPublish": true
12-
},
13-
"pluginOptions": {},
14-
"attributes": {
15-
"slug": {
16-
"type": "string",
17-
"required": true
2+
"kind": "collectionType",
3+
"collectionName": "platform_pages",
4+
"info": {
5+
"singularName": "platform-page",
6+
"pluralName": "platform-pages",
7+
"displayName": "Platform Page",
8+
"description": ""
189
},
19-
"body": {
20-
"type": "dynamiczone",
21-
"components": [
22-
"section-faqs.frequently-asked-question",
23-
"section-cta.banner",
24-
"section-cards.blog",
25-
"section-hero.solutions-hero-section",
26-
"section-cards.feature1",
27-
"section-features.tabs-features",
28-
"section-features.platform-features-top-tabs",
29-
"section-faqs.platform-faqs"
30-
],
31-
"required": true
10+
"options": {
11+
"draftAndPublish": true
3212
},
33-
"seo": {
34-
"type": "component",
35-
"repeatable": false,
36-
"component": "seo.seo"
37-
},
38-
"isPreviewPage": {
39-
"type": "boolean",
40-
"default": false
13+
"pluginOptions": {},
14+
"attributes": {
15+
"slug": {
16+
"type": "string",
17+
"required": true
18+
},
19+
"body": {
20+
"type": "dynamiczone",
21+
"components": [
22+
"section-faqs.frequently-asked-question",
23+
"section-cta.banner",
24+
"section-cards.blog",
25+
"section-hero.solutions-hero-section",
26+
"section-cards.feature1",
27+
"section-features.tabs-features",
28+
"section-features.platform-features-top-tabs",
29+
"section-faqs.platform-faqs",
30+
"section-cards.resources-section",
31+
"section-tabs.customer-stories"
32+
],
33+
"required": true
34+
},
35+
"seo": {
36+
"type": "component",
37+
"repeatable": false,
38+
"component": "seo.seo"
39+
},
40+
"isPreviewPage": {
41+
"type": "boolean",
42+
"default": false
43+
}
4144
}
42-
}
4345
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"collectionName": "components_elements_customer_story_items",
3+
"info": {
4+
"displayName": "Customer Story Item",
5+
"description": "Individual customer testimonial with company info for tabbed view"
6+
},
7+
"options": {},
8+
"attributes": {
9+
"companyName": {
10+
"type": "string",
11+
"required": true
12+
},
13+
"companyLogo": {
14+
"type": "media",
15+
"multiple": false,
16+
"required": true,
17+
"allowedTypes": ["images"]
18+
},
19+
"quote": {
20+
"type": "text",
21+
"required": true
22+
},
23+
"authorName": {
24+
"type": "string",
25+
"required": true
26+
},
27+
"authorRole": {
28+
"type": "string",
29+
"required": true
30+
}
31+
}
32+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"collectionName": "components_elements_resource_card_items",
3+
"info": {
4+
"displayName": "Resource Card Item",
5+
"description": "Individual resource card with badge, thumbnail, title and link"
6+
},
7+
"options": {},
8+
"attributes": {
9+
"badge": {
10+
"type": "enumeration",
11+
"enum": ["DOC", "BLOG", "VIDEO"],
12+
"required": true
13+
},
14+
"title": {
15+
"type": "string",
16+
"required": true
17+
},
18+
"thumbnail": {
19+
"type": "media",
20+
"multiple": false,
21+
"required": false,
22+
"allowedTypes": ["images"]
23+
},
24+
"link": {
25+
"type": "string",
26+
"required": true
27+
},
28+
"target": {
29+
"type": "enumeration",
30+
"enum": ["_self", "_blank"],
31+
"default": "_blank"
32+
}
33+
}
34+
}
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"collectionName": "components_section_cards_resources_sections",
3+
"info": {
4+
"displayName": "Resources Section",
5+
"description": "Section displaying resource cards with navigation arrows"
6+
},
7+
"options": {},
8+
"attributes": {
9+
"heading": {
10+
"type": "component",
11+
"repeatable": false,
12+
"component": "elements.heading"
13+
},
14+
"resourceCards": {
15+
"type": "component",
16+
"repeatable": true,
17+
"component": "elements.resource-card-item"
18+
},
19+
"background": {
20+
"type": "boolean",
21+
"default": false
22+
},
23+
"showNavigationArrows": {
24+
"type": "boolean",
25+
"default": true
26+
}
27+
}
28+
}
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
{
2+
"collectionName": "components_section_tabs_customer_stories",
3+
"info": {
4+
"displayName": "Customer Stories Tabs",
5+
"description": "Tabbed customer testimonials section with company stories"
6+
},
7+
"options": {},
8+
"attributes": {
9+
"heading": {
10+
"type": "component",
11+
"repeatable": false,
12+
"component": "elements.heading"
13+
},
14+
"customerStories": {
15+
"type": "component",
16+
"repeatable": true,
17+
"component": "elements.customer-story-item"
18+
},
19+
"background": {
20+
"type": "boolean",
21+
"default": false
22+
}
23+
}
24+
}

0 commit comments

Comments
 (0)