Skip to content

Commit 295e27f

Browse files
authored
Merge pull request #5 from openobserve/dev
company, resources, download, pricing page components
2 parents 0f4eb3b + a756007 commit 295e27f

File tree

78 files changed

+1638
-86
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+1638
-86
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "about_uses",
4+
"info": {
5+
"singularName": "about-us",
6+
"pluralName": "about-uses",
7+
"displayName": "AboutUs",
8+
"description": ""
9+
},
10+
"options": {
11+
"draftAndPublish": true
12+
},
13+
"pluginOptions": {},
14+
"attributes": {
15+
"body": {
16+
"type": "dynamiczone",
17+
"components": [
18+
"section-hero.company-hero-section",
19+
"section-features.info-right-feature",
20+
"section-features.info-left-feature",
21+
"section-cta.banner",
22+
"section-cards.case-studies",
23+
"section-cards.features3",
24+
"section-separator.separator"
25+
],
26+
"required": true
27+
}
28+
}
29+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* about-us controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::about-us.about-us');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* about-us router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::about-us.about-us');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* about-us service
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreService('api::about-us.about-us');
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "blogs",
4+
"info": {
5+
"singularName": "blog",
6+
"pluralName": "blogs",
7+
"displayName": "Blog"
8+
},
9+
"options": {
10+
"draftAndPublish": true
11+
},
12+
"pluginOptions": {},
13+
"attributes": {
14+
"body": {
15+
"type": "dynamiczone",
16+
"components": [
17+
"section-cta.banner",
18+
"section-cards.features1"
19+
]
20+
}
21+
}
22+
}

src/api/blog/controllers/blog.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* blog controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::blog.blog');

src/api/blog/routes/blog.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* blog router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::blog.blog');

src/api/blog/services/blog.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* blog service
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreService('api::blog.blog');
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "community_supports",
4+
"info": {
5+
"singularName": "community-support",
6+
"pluralName": "community-supports",
7+
"displayName": "Community-Support",
8+
"description": ""
9+
},
10+
"options": {
11+
"draftAndPublish": true
12+
},
13+
"pluginOptions": {},
14+
"attributes": {
15+
"body": {
16+
"type": "dynamiczone",
17+
"components": [
18+
"section-hero.resource-hero-section",
19+
"section-cta.banner",
20+
"section-cards.features1",
21+
"section-separator.separator",
22+
"section-cards.blogs"
23+
]
24+
}
25+
}
26+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* community-support controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::community-support.community-support');

0 commit comments

Comments
 (0)