Skip to content

Commit 6f98247

Browse files
merge branch to the dev (#1)
Co-authored-by: krupa <krupa.jivani@kiara.tech>
1 parent 9fd2392 commit 6f98247

File tree

60 files changed

+2770
-1
lines changed

Some content is hidden

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

60 files changed

+2770
-1
lines changed

config/plugins.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,7 @@
1-
export default () => ({});
1+
export default () => ({
2+
"strapi-v5-plugin-populate-deep": {
3+
config: {
4+
defaultDepth: 10, // Default is 5
5+
},
6+
},
7+
});

package-lock.json

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
"react": "^18.0.0",
2020
"react-dom": "^18.0.0",
2121
"react-router-dom": "^6.0.0",
22+
"strapi-v5-plugin-populate-deep": "^4.0.4",
2223
"styled-components": "^6.0.0"
2324
},
2425
"devDependencies": {
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{
2+
"kind": "singleType",
3+
"collectionName": "homepages",
4+
"info": {
5+
"singularName": "homepage",
6+
"pluralName": "homepages",
7+
"displayName": "Homepage",
8+
"description": ""
9+
},
10+
"options": {
11+
"draftAndPublish": true
12+
},
13+
"pluginOptions": {},
14+
"attributes": {
15+
"body": {
16+
"type": "dynamiczone",
17+
"components": [
18+
"section-hero.homepage-hero",
19+
"section-forms.contact",
20+
"section-features.feature-list",
21+
"section-cta.banner",
22+
"section-cards.stats",
23+
"section-cards.features3",
24+
"section-cards.features2",
25+
"section-cards.features1",
26+
"section-cards.clients",
27+
"section-cards.case-studies"
28+
],
29+
"required": true
30+
}
31+
}
32+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* homepage controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::homepage.homepage');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* homepage router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::homepage.homepage');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* homepage service
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreService('api::homepage.homepage');
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"kind": "collectionType",
3+
"collectionName": "platform_pages",
4+
"info": {
5+
"singularName": "platform-page",
6+
"pluralName": "platform-pages",
7+
"displayName": "Platform Page"
8+
},
9+
"options": {
10+
"draftAndPublish": true
11+
},
12+
"pluginOptions": {},
13+
"attributes": {
14+
"slug": {
15+
"type": "string",
16+
"required": true
17+
},
18+
"body": {
19+
"type": "dynamiczone",
20+
"components": [
21+
"section-hero.feature-sub-hero-section",
22+
"section-features.feature-list",
23+
"section-faqs.frequently-asked-question",
24+
"section-cta.banner",
25+
"section-cards.case-studies"
26+
],
27+
"required": true
28+
}
29+
}
30+
}
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* platform-page controller
3+
*/
4+
5+
import { factories } from '@strapi/strapi'
6+
7+
export default factories.createCoreController('api::platform-page.platform-page');
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/**
2+
* platform-page router
3+
*/
4+
5+
import { factories } from '@strapi/strapi';
6+
7+
export default factories.createCoreRouter('api::platform-page.platform-page');

0 commit comments

Comments
 (0)