footer, feedback, subscribe

This commit is contained in:
Schneider Roland
2025-01-21 23:19:02 +01:00
parent a068aeb375
commit 86dda89db9
43 changed files with 841 additions and 162 deletions

View File

@@ -60,6 +60,16 @@
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-blog-posts-component.yoga-blog-posts-component"
},
"subscribeNow": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-subscribe-now-component.yoga-subscribe-now-component"
},
"footer": {
"type": "relation",
"relation": "oneToOne",
"target": "api::yoga-footer.yoga-footer"
}
}
}

View File

@@ -4,7 +4,8 @@
"info": {
"singularName": "yoga-blog-posts-component",
"pluralName": "yoga-blog-posts-components",
"displayName": "YogaBlogPostsComponent"
"displayName": "YogaBlogPostsComponent",
"description": ""
},
"options": {
"draftAndPublish": true
@@ -27,6 +28,11 @@
"type": "relation",
"relation": "oneToMany",
"target": "api::yoga-blog-post.yoga-blog-post"
},
"button": {
"type": "component",
"repeatable": false,
"component": "yoga-site.button"
}
}
}

View File

@@ -0,0 +1,55 @@
{
"kind": "collectionType",
"collectionName": "yoga_footers",
"info": {
"singularName": "yoga-footer",
"pluralName": "yoga-footers",
"displayName": "YogaFooter",
"description": ""
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"aboutUsHeader": {
"type": "string"
},
"aboutUsContent": {
"type": "text"
},
"quickLinksHeader": {
"type": "string"
},
"contactInfoHeader": {
"type": "string"
},
"links": {
"type": "component",
"repeatable": true,
"component": "yoga-site.link"
},
"contactUsPhoneNumber": {
"type": "component",
"repeatable": false,
"component": "yoga-site.link",
"required": false
},
"contactUsEmail": {
"type": "component",
"repeatable": false,
"component": "yoga-site.link"
},
"contactUsLocation": {
"type": "component",
"repeatable": false,
"component": "yoga-site.link"
},
"copyRight": {
"type": "string"
},
"name": {
"type": "string"
}
}
}

View File

@@ -0,0 +1,7 @@
/**
* yoga-footer controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::yoga-footer.yoga-footer');

View File

@@ -0,0 +1,7 @@
/**
* yoga-footer router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::yoga-footer.yoga-footer');

View File

@@ -0,0 +1,7 @@
/**
* yoga-footer service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::yoga-footer.yoga-footer');

View File

@@ -0,0 +1,27 @@
{
"kind": "collectionType",
"collectionName": "yoga_subscribe_now_components",
"info": {
"singularName": "yoga-subscribe-now-component",
"pluralName": "yoga-subscribe-now-components",
"displayName": "YogaSubscribeNowComponent"
},
"options": {
"draftAndPublish": true
},
"pluginOptions": {},
"attributes": {
"title": {
"type": "string"
},
"header": {
"type": "string"
},
"placeHolderEmail": {
"type": "string"
},
"buttonSubscribeLabel": {
"type": "string"
}
}
}

View File

@@ -0,0 +1,7 @@
/**
* yoga-subscribe-now-component controller
*/
import { factories } from '@strapi/strapi'
export default factories.createCoreController('api::yoga-subscribe-now-component.yoga-subscribe-now-component');

View File

@@ -0,0 +1,7 @@
/**
* yoga-subscribe-now-component router
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreRouter('api::yoga-subscribe-now-component.yoga-subscribe-now-component');

View File

@@ -0,0 +1,7 @@
/**
* yoga-subscribe-now-component service
*/
import { factories } from '@strapi/strapi';
export default factories.createCoreService('api::yoga-subscribe-now-component.yoga-subscribe-now-component');