Compare commits
34 Commits
service-ar
...
2c74b1a2fd
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2c74b1a2fd | ||
|
|
a9ca4b3482 | ||
|
|
587a4482db | ||
| 6075457fcf | |||
|
|
3de55264c9 | ||
|
|
cde23153ba | ||
|
|
622f2a7686 | ||
|
|
917918d742 | ||
|
|
f1069f3124 | ||
|
|
a3e57f295f | ||
|
|
054cb48e4c | ||
|
|
6298bb7b8c | ||
| f977877cd7 | |||
|
|
4807edec8f | ||
|
|
11cbd10db9 | ||
|
|
6acf79e23d | ||
|
|
e9aa0e795e | ||
| cc1a4aade1 | |||
|
|
fe4c4be6dd | ||
|
|
cd2eded7aa | ||
|
|
8fdc59552f | ||
| a6e7bb9dab | |||
|
|
930dbe3354 | ||
|
|
0f1bfcf774 | ||
|
|
1a7c5c5247 | ||
| 7133e43464 | |||
|
|
2929ab6150 | ||
|
|
92b528c9e9 | ||
|
|
8324294853 | ||
|
|
3bbd9dcbf6 | ||
|
|
ca60a9a2f4 | ||
| 90a7dbf827 | |||
|
|
fac8dd6f19 | ||
|
|
cc6d8147de |
6
api.http
6
api.http
@@ -29,5 +29,9 @@ GET {{domain}}/api/yoga-single-services?filters[name][$eq]=service4
|
|||||||
Accept: application/json
|
Accept: application/json
|
||||||
|
|
||||||
### GET service page
|
### GET service page
|
||||||
GET {{domain}}/api/service-page?fields[0]=*&populate[subscribeNow][fields][0]=*&populate[footer][fields][0]=*&populate[footer][populate][links][fields][0]=*&populate[footer][populate][contactUsEmail][fields][0]=*&populate[footer][populate][contactUsLocation][fields][0]=*&populate[footer][populate][contactUsPhoneNumber][fields][0]=*
|
GET {{domain}}/api/service-list-page?fields[0]=*&populate[services][fields][0]=*&populate[services][populate][image][fields][0]=name&populate[services][populate][image][fields][1]=mime&populate[services][populate][image][fields][2]=url&populate[common][fields][0]=*&populate[common][populate][logoImage][fields][0]=name&populate[common][populate][logoImage][fields][1]=mime&populate[common][populate][logoImage][fields][2]=url&populate[subscribeNow][fields][0]=*&populate[subscribeNow][populate][image][fields][0]=name&populate[subscribeNow][populate][image][fields][1]=mime&populate[subscribeNow][populate][image][fields][2]=url&populate[footer][fields][0]=*&populate[footer][populate][links][fields][0]=*&populate[footer][populate][contactUsEmail][fields][0]=*&populate[footer][populate][contactUsLocation][fields][0]=*&populate[footer][populate][contactUsPhoneNumber][fields][0]=*&populate[footer][populate][logo][fields][0]=name&populate[footer][populate][logo][fields][1]=mime&populate[footer][populate][logo][fields][2]=url
|
||||||
Accept: application/json
|
Accept: application/json
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
202505262234.f0f0a97
|
202508270921.622f2a7
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
202505232026.6bb9365
|
202508270750.cde2315
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- yogastic
|
- yogastic
|
||||||
app:
|
app:
|
||||||
image: docker.rschneider.hu/infra/yoga-app:202505262234.f0f0a97
|
image: docker.rschneider.hu/infra/yoga-app:202508270921.622f2a7
|
||||||
platform: linux/amd64
|
platform: linux/amd64
|
||||||
ports:
|
ports:
|
||||||
- '4025:3000'
|
- '4025:3000'
|
||||||
@@ -47,7 +47,7 @@ services:
|
|||||||
- proxy_shared
|
- proxy_shared
|
||||||
- yogastic
|
- yogastic
|
||||||
cms:
|
cms:
|
||||||
image: docker.rschneider.hu/infra/yoga-cms:202505232026.6bb9365
|
image: docker.rschneider.hu/infra/yoga-cms:202508270750.cde2315
|
||||||
ports:
|
ports:
|
||||||
- '4026:1337'
|
- '4026:1337'
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
@@ -1,8 +1,17 @@
|
|||||||
{
|
{
|
||||||
|
|
||||||
"populate": {
|
"populate": {
|
||||||
"header": {
|
"header": {
|
||||||
"fields": ["header1","description"]
|
"fields": ["header1","description"]
|
||||||
},
|
},
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"aboutUs": {
|
"aboutUs": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -63,7 +72,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"subscribeNow": {
|
"subscribeNow": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
@@ -79,6 +97,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"contactUs": {
|
"contactUs": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
},
|
},
|
||||||
@@ -8,8 +16,17 @@
|
|||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
},
|
},
|
||||||
"subscribe": {
|
"subscribe": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
},
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -24,6 +41,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"questionsAndAnswers": {
|
"questionsAndAnswers": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -43,8 +51,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"subscribe": {
|
"subscribe": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
},
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -59,6 +76,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
{
|
{
|
||||||
"populate": {
|
"populate": {
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"header": {
|
"header": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -7,8 +15,12 @@
|
|||||||
"fields": [
|
"fields": [
|
||||||
"*"
|
"*"
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
|
"image": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
@@ -24,12 +36,24 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"subscribeNow": {
|
"subscribeNow": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
},
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"blogs": {
|
"blogs": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -128,6 +152,9 @@
|
|||||||
},
|
},
|
||||||
"right4": {
|
"right4": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"price": {
|
"price": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -40,7 +48,16 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"subscribe": {
|
"subscribe": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
@@ -56,6 +73,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
53
yoga-app/src/api/strapi/query/service-list.json
Normal file
53
yoga-app/src/api/strapi/query/service-list.json
Normal file
@@ -0,0 +1,53 @@
|
|||||||
|
{
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"services": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": ["name","mime","url" ]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"subscribeNow": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"footer": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"links": {
|
||||||
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"contactUsEmail": {
|
||||||
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"contactUsLocation": {
|
||||||
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"contactUsPhoneNumber": {
|
||||||
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -1,9 +1,26 @@
|
|||||||
{
|
{
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
"subscribeNow": {
|
"common": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
"subscribeNow": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -18,6 +35,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
{
|
{
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
|
"common": {
|
||||||
|
"fields": ["*"],
|
||||||
|
"populate": {
|
||||||
|
"logoImage": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"ourServices": {
|
"ourServices": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -43,6 +51,9 @@
|
|||||||
},
|
},
|
||||||
"right4": {
|
"right4": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -79,8 +90,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"subscribe": {
|
"subscribe": {
|
||||||
"fields": ["*"]
|
"fields": ["*"],
|
||||||
},
|
"populate": {
|
||||||
|
"image": {
|
||||||
|
"fields": [
|
||||||
|
"name",
|
||||||
|
"mime",
|
||||||
|
"url"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"fields": ["*"],
|
"fields": ["*"],
|
||||||
"populate": {
|
"populate": {
|
||||||
@@ -95,6 +115,9 @@
|
|||||||
},
|
},
|
||||||
"contactUsPhoneNumber": {
|
"contactUsPhoneNumber": {
|
||||||
"fields": ["*"]
|
"fields": ["*"]
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import qs from "qs";
|
|||||||
import aboutQuery from "@/api/strapi/query/about.json";
|
import aboutQuery from "@/api/strapi/query/about.json";
|
||||||
import homeQuery from "@/api/strapi/query/home.json";
|
import homeQuery from "@/api/strapi/query/home.json";
|
||||||
import servicesQuery from "@/api/strapi/query/services.json";
|
import servicesQuery from "@/api/strapi/query/services.json";
|
||||||
|
import serviceListPageQuery from "@/api/strapi/query/service-list.json";
|
||||||
import serviceQuery from "@/api/strapi/query/service.json";
|
import serviceQuery from "@/api/strapi/query/service.json";
|
||||||
import pricesQuery from "@/api/strapi/query/prices.json";
|
import pricesQuery from "@/api/strapi/query/prices.json";
|
||||||
import faqQuery from "@/api/strapi/query/faq.json";
|
import faqQuery from "@/api/strapi/query/faq.json";
|
||||||
@@ -11,6 +12,7 @@ import contactQuery from "@/api/strapi/query/contact.json";
|
|||||||
import {YogaBlogPost_Plain} from "@/types/generated-strapi-interfaces/api/yoga-blog-post";
|
import {YogaBlogPost_Plain} from "@/types/generated-strapi-interfaces/api/yoga-blog-post";
|
||||||
import {Home_Plain} from "@/types/generated-strapi-interfaces/api/home";
|
import {Home_Plain} from "@/types/generated-strapi-interfaces/api/home";
|
||||||
import {ServicesPage_Plain} from "@/types/generated-strapi-interfaces/api/services-page";
|
import {ServicesPage_Plain} from "@/types/generated-strapi-interfaces/api/services-page";
|
||||||
|
import {ServiceListPage_Plain} from "@/types/generated-strapi-interfaces/api/service-list-page";
|
||||||
import {PricesPage_Plain} from "@/types/generated-strapi-interfaces/api/prices-page";
|
import {PricesPage_Plain} from "@/types/generated-strapi-interfaces/api/prices-page";
|
||||||
import {FaqPage_Plain} from "@/types/generated-strapi-interfaces/api/faq-page";
|
import {FaqPage_Plain} from "@/types/generated-strapi-interfaces/api/faq-page";
|
||||||
import {ContactPage_Plain} from "@/types/generated-strapi-interfaces/api/contact-page";
|
import {ContactPage_Plain} from "@/types/generated-strapi-interfaces/api/contact-page";
|
||||||
@@ -49,6 +51,10 @@ class StrapiApi{
|
|||||||
return this.getJson("/api/service-page?",serviceQuery);
|
return this.getJson("/api/service-page?",serviceQuery);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public getServiceListPage(): Promise<ServiceListPage_Plain>{
|
||||||
|
return this.getJson("/api/service-list-page?",serviceListPageQuery);
|
||||||
|
}
|
||||||
|
|
||||||
public getService(name: string): Promise<YogaSingleService_Plain[]>{
|
public getService(name: string): Promise<YogaSingleService_Plain[]>{
|
||||||
return this.getJson("/api/yoga-single-services?", {
|
return this.getJson("/api/yoga-single-services?", {
|
||||||
filters: {
|
filters: {
|
||||||
|
|||||||
@@ -1,44 +1,58 @@
|
|||||||
import httpClient from "@/api/http-client";
|
import httpClient from "@/api/http-client";
|
||||||
import {Payload} from "@/types/generated-strapi-interfaces/common/Payload";
|
import {Payload} from "@/types/generated-strapi-interfaces/common/Payload";
|
||||||
|
|
||||||
const STRAPI_URL = process.env.STRAPI_URL;
|
const STRAPI_URL = process.env.STRAPI_URL;
|
||||||
|
|
||||||
class StrapiClient{
|
class StrapiClient {
|
||||||
|
|
||||||
constructor(private strapiUrl: string = "http://localhost:1337") {
|
constructor(private strapiUrl: string = "http://localhost:1337") {
|
||||||
}
|
}
|
||||||
public getImageUrl(imagePath: string){
|
|
||||||
if ( !imagePath ){
|
public getImageUrl(imagePath: string) {
|
||||||
|
if (!imagePath) {
|
||||||
return "dummy.png"
|
return "dummy.png"
|
||||||
}
|
}
|
||||||
return '/image/'+ imagePath;
|
return '/image/' + imagePath;
|
||||||
}
|
}
|
||||||
public async httpGet(path: string){
|
|
||||||
console.info("httpGet", path);
|
public async httpGet(path: string) {
|
||||||
return await httpClient.httpGet(this.strapiUrl + path);
|
let result = undefined;
|
||||||
|
try {
|
||||||
|
const absoluteUrl = this.strapiUrl + path;
|
||||||
|
console.info("httpGet", {path,absoluteUrl});
|
||||||
|
result = await httpClient.httpGet(this.strapiUrl + path);
|
||||||
|
} catch (e) {
|
||||||
|
console.log("httpGet error", e);
|
||||||
|
throw e;
|
||||||
|
}
|
||||||
|
if (!result.ok) {
|
||||||
|
console.info("httpGet not ok", result);
|
||||||
|
throw new Error(result.statusText);
|
||||||
|
}
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
public async httpGetJson<T>(url: string): Promise<Payload<T>>{
|
|
||||||
const response = await this.httpGet(url);
|
public async httpGetJson<T>(url: string): Promise<Payload<T>> {
|
||||||
|
const response = await this.httpGet(url);
|
||||||
return await response.json();
|
return await response.json();
|
||||||
}
|
}
|
||||||
|
|
||||||
public async findContentType<T>(contentType: string,options?: FindContentOptions): Promise<Payload<T>>{
|
public async findContentType<T>(contentType: string, options?: FindContentOptions): Promise<Payload<T>> {
|
||||||
const searchParams = new URLSearchParams();
|
const searchParams = new URLSearchParams();
|
||||||
if ( options?.populateAll ){
|
if (options?.populateAll) {
|
||||||
searchParams.append("populate","*");
|
searchParams.append("populate", "*");
|
||||||
}
|
}
|
||||||
if (options?.localeAll){
|
if (options?.localeAll) {
|
||||||
searchParams.append("_locale","all");
|
searchParams.append("_locale", "all");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
const response = await this.httpGet("/api/" + contentType + "?" + searchParams.toString());
|
||||||
const response = await this.httpGet("/api/"+contentType+"?"+searchParams.toString());
|
|
||||||
return await response.json();
|
return await response.json();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FindContentOptions{
|
export interface FindContentOptions {
|
||||||
populateAll?: boolean;
|
populateAll?: boolean;
|
||||||
localeAll?: boolean;
|
localeAll?: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,13 +24,16 @@ export default async function About() {
|
|||||||
blogs,
|
blogs,
|
||||||
subscribeNow,
|
subscribeNow,
|
||||||
footer,
|
footer,
|
||||||
|
common
|
||||||
} = pageData;
|
} = pageData;
|
||||||
|
|
||||||
|
|
||||||
console.info("about us", JSON.stringify(aboutUs))
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ header && <SubHeaderComponent header1={header?.header1} header2={header?.header2} description={header?.description}/> }
|
{ header && <SubHeaderComponent header={header} common={common}/> }
|
||||||
|
|
||||||
{ aboutUs && <AboutUsWithBoxesComponent config={aboutUs}/>}
|
{ aboutUs && <AboutUsWithBoxesComponent config={aboutUs}/>}
|
||||||
{ discount && <YogaDiscountComponent config={discount}/>}
|
{ discount && <YogaDiscountComponent config={discount}/>}
|
||||||
|
|||||||
@@ -16,11 +16,12 @@ export default async function ContactPage(){
|
|||||||
contactUs,
|
contactUs,
|
||||||
google_maps,
|
google_maps,
|
||||||
subscribe,
|
subscribe,
|
||||||
footer
|
footer,
|
||||||
|
common
|
||||||
} = await strapiApi.getContactPage();
|
} = await strapiApi.getContactPage();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ <SubHeaderComponent header1={header} description={description} /> }
|
{ <SubHeaderComponent header={{header1:header,description}} common={common}/> }
|
||||||
{ contactUs && <ContactUsComponent contactUs={contactUs} /> }
|
{ contactUs && <ContactUsComponent contactUs={contactUs} /> }
|
||||||
{ google_maps && <GoogleMapsComponent config={google_maps} /> }
|
{ google_maps && <GoogleMapsComponent config={google_maps} /> }
|
||||||
{ subscribe && <SubscribeComponent config={subscribe} styleClass={"contact_subscribe_section"} /> }
|
{ subscribe && <SubscribeComponent config={subscribe} styleClass={"contact_subscribe_section"} /> }
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import AosComponent from "@/components/aos.component";
|
import AosComponent from "@/components/aos.component";
|
||||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
|
||||||
import FooterComponent from "@/components/footer.component";
|
import FooterComponent from "@/components/footer.component";
|
||||||
import SubscribeComponent from "@/components/subscribe.component";
|
import SubscribeComponent from "@/components/subscribe.component";
|
||||||
import strapiApi from "@/api/strapi/strapi-api";
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
@@ -13,15 +12,14 @@ export default async function About() {
|
|||||||
header,
|
header,
|
||||||
description,
|
description,
|
||||||
questionsAndAnswers,
|
questionsAndAnswers,
|
||||||
blogs,
|
|
||||||
subscribe,
|
subscribe,
|
||||||
footer
|
footer,
|
||||||
|
common
|
||||||
} = await strapiApi.getFaqPage();
|
} = await strapiApi.getFaqPage();
|
||||||
return (
|
return (
|
||||||
<>xxxxx
|
<>
|
||||||
{ <SubHeaderComponent header1={header} description={description} /> }
|
{ <SubHeaderComponent header={{header1:header,description}} common={common}/> }
|
||||||
{ questionsAndAnswers && <FaqComponent config={questionsAndAnswers} /> }
|
{ questionsAndAnswers && <FaqComponent config={questionsAndAnswers} /> }
|
||||||
{ blogs && <BlogPostsComponent config={blogs} /> }
|
|
||||||
{ subscribe && <SubscribeComponent config={subscribe} /> }
|
{ subscribe && <SubscribeComponent config={subscribe} /> }
|
||||||
{ footer && <FooterComponent config={footer} /> }
|
{ footer && <FooterComponent config={footer} /> }
|
||||||
<AosComponent />
|
<AosComponent />
|
||||||
|
|||||||
@@ -17,6 +17,7 @@ export default async function Home() {
|
|||||||
const pageData = await webApi.getHomePage();
|
const pageData = await webApi.getHomePage();
|
||||||
|
|
||||||
const {
|
const {
|
||||||
|
common,
|
||||||
header,
|
header,
|
||||||
ourServices,
|
ourServices,
|
||||||
aboutUs,
|
aboutUs,
|
||||||
@@ -28,16 +29,17 @@ export default async function Home() {
|
|||||||
footer,
|
footer,
|
||||||
feedbacks
|
feedbacks
|
||||||
} = pageData;
|
} = pageData;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{ header && <MainHeaderComponent config={header}/> }
|
{ header && <MainHeaderComponent config={header} common={common} /> }
|
||||||
{ aboutUs && <AboutUsComponent data={aboutUs} /> }
|
{ aboutUs && <AboutUsComponent data={aboutUs} /> }
|
||||||
{ ourServices && <OurServicesComponent config={ourServices}/> }
|
{ ourServices && <OurServicesComponent config={ourServices}/> }
|
||||||
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }
|
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }
|
||||||
{ contactUs && <ContactUsComponent contactUs={contactUs} /> }
|
{ contactUs && <ContactUsComponent contactUs={contactUs} /> }
|
||||||
{ prices && <PricingComponent config={prices}/> }
|
{ prices && <PricingComponent config={prices}/> }
|
||||||
{ feedbacks && <FeedbackComponent config={feedbacks} /> }
|
{/*{ feedbacks && <FeedbackComponent config={feedbacks} /> }*/}
|
||||||
{ blogs && <BlogPostsComponent config={blogs} /> }
|
{ blogs && blogs.posts?.length && <BlogPostsComponent config={blogs} /> }
|
||||||
{ subscribeNow && <SubscribeComponent config={subscribeNow} /> }
|
{ subscribeNow && <SubscribeComponent config={subscribeNow} /> }
|
||||||
{ footer && <FooterComponent config={footer} /> }
|
{ footer && <FooterComponent config={footer} /> }
|
||||||
<AosComponent />
|
<AosComponent />
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
import React from "react";
|
import React from "react";
|
||||||
import AosComponent from "@/components/aos.component";
|
import AosComponent from "@/components/aos.component";
|
||||||
import PricingComponent from "@/components/pricing.component";
|
import PricingComponent from "@/components/pricing.component";
|
||||||
import BlogPostsComponent from "@/components/blog.posts.component";
|
|
||||||
import SubscribeComponent from "@/components/subscribe.component";
|
import SubscribeComponent from "@/components/subscribe.component";
|
||||||
import SubHeaderComponent from "@/components/subHeader.component";
|
import SubHeaderComponent from "@/components/subHeader.component";
|
||||||
import YogaDiscountComponent from "@/components/yogaDiscountComponent";
|
import YogaDiscountComponent from "@/components/yogaDiscountComponent";
|
||||||
@@ -19,16 +18,15 @@ export default async function PricesPage( ) {
|
|||||||
description,
|
description,
|
||||||
price,
|
price,
|
||||||
discount,
|
discount,
|
||||||
blogs,
|
|
||||||
subscribe,
|
subscribe,
|
||||||
footer
|
footer,
|
||||||
|
common
|
||||||
} = await strapiApi.getPricesPage();
|
} = await strapiApi.getPricesPage();
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<SubHeaderComponent header1={header} description={description}/>
|
<SubHeaderComponent header={{header1:header,description}} common={common}/>
|
||||||
{ price && <PricingComponent config={price}/> }
|
{ price && <PricingComponent config={price}/> }
|
||||||
{ discount && <YogaDiscountComponent config={discount} /> }
|
{ discount && <YogaDiscountComponent config={discount} /> }
|
||||||
{ blogs && <BlogPostsComponent config={blogs} /> }
|
|
||||||
{ subscribe && <SubscribeComponent config={subscribe} /> }
|
{ subscribe && <SubscribeComponent config={subscribe} /> }
|
||||||
{ footer && <FooterComponent config={footer} /> }
|
{ footer && <FooterComponent config={footer} /> }
|
||||||
<AosComponent />
|
<AosComponent />
|
||||||
|
|||||||
@@ -110,10 +110,8 @@ export async function GET() {
|
|||||||
// 'Uncomment this file and remove this line. You can delete this file when you are finished.',
|
// 'Uncomment this file and remove this line. You can delete this file when you are finished.',
|
||||||
// });
|
// });
|
||||||
try {
|
try {
|
||||||
console.info("get request")
|
|
||||||
strapiApi.getHomePage();
|
strapiApi.getHomePage();
|
||||||
|
|
||||||
console.info("begin")
|
|
||||||
await connectionPool.query(`BEGIN`);
|
await connectionPool.query(`BEGIN`);
|
||||||
await seedUsers();
|
await seedUsers();
|
||||||
await seedCustomers();
|
await seedCustomers();
|
||||||
|
|||||||
37
yoga-app/src/app/serviceList/page.tsx
Normal file
37
yoga-app/src/app/serviceList/page.tsx
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
import React from "react";
|
||||||
|
import AosComponent from "@/components/aos.component";
|
||||||
|
import FooterComponent from "@/components/footer.component";
|
||||||
|
import SubscribeComponent from "@/components/subscribe.component";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import SubHeaderComponent from "@/components/subHeader.component";
|
||||||
|
import SingleServiceComponent from "@/components/single.service.component";
|
||||||
|
|
||||||
|
export default async function Services() {
|
||||||
|
const {
|
||||||
|
header,
|
||||||
|
description,
|
||||||
|
footer,
|
||||||
|
subscribeNow,
|
||||||
|
common,
|
||||||
|
services
|
||||||
|
} = await strapiApi.getServiceListPage();
|
||||||
|
console.info("ServiceListPage", services.length, services.map);
|
||||||
|
return (
|
||||||
|
<>
|
||||||
|
<SubHeaderComponent header={{header1:header,description}} common={common}/>
|
||||||
|
{
|
||||||
|
services && services.length > 0 && services.map( singleService => {
|
||||||
|
return (
|
||||||
|
<SingleServiceComponent key={singleService.id} config={singleService} />
|
||||||
|
)
|
||||||
|
})
|
||||||
|
}
|
||||||
|
{ subscribeNow && <SubscribeComponent config={subscribeNow} /> }
|
||||||
|
{ footer && <FooterComponent config={footer} /> }
|
||||||
|
<AosComponent />
|
||||||
|
</>
|
||||||
|
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
@@ -27,16 +27,21 @@ export default async function ServiceArticlePage({params}: {
|
|||||||
}) {
|
}) {
|
||||||
const {slug} = await params
|
const {slug} = await params
|
||||||
|
|
||||||
|
console.info("service slug",slug);
|
||||||
const servicePage = await strapiApi.getServicePage();
|
const servicePage = await strapiApi.getServicePage();
|
||||||
if (!servicePage) {
|
if (!servicePage) {
|
||||||
return notFound()
|
return notFound()
|
||||||
}
|
}
|
||||||
const {subscribeNow, footer} = servicePage;
|
console.info("Servicepage found");
|
||||||
|
const {subscribeNow, footer, common} = servicePage;
|
||||||
const servicesByName = await strapiApi.getService(slug);
|
const servicesByName = await strapiApi.getService(slug);
|
||||||
|
console.info("servicesByName",servicesByName);
|
||||||
|
|
||||||
if (!servicesByName || servicesByName.length === 0) {
|
if (!servicesByName || servicesByName.length === 0) {
|
||||||
return notFound();
|
return notFound();
|
||||||
}
|
}
|
||||||
const selectedService = servicesByName[0];
|
const selectedService = servicesByName[0];
|
||||||
|
console.info("selected service",selectedService)
|
||||||
if ( !selectedService?.article?.length ) {
|
if ( !selectedService?.article?.length ) {
|
||||||
return notFound();
|
return notFound();
|
||||||
}
|
}
|
||||||
@@ -45,7 +50,8 @@ export default async function ServiceArticlePage({params}: {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{selectedService && selectedService.header && selectedService.description &&
|
{selectedService && selectedService.header && selectedService.description &&
|
||||||
<SubHeaderComponent header1={selectedService.header} description={selectedService.description}/>}
|
<SubHeaderComponent header={{header1:selectedService.header, description: selectedService.description}} common={common}/>}
|
||||||
|
|
||||||
<section className={clsx( styles.article, 'mb-3')}>
|
<section className={clsx( styles.article, 'mb-3')}>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className={"row"}>
|
<div className={"row"}>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ import SubHeaderComponent from "@/components/subHeader.component";
|
|||||||
|
|
||||||
export default async function Services() {
|
export default async function Services() {
|
||||||
const {
|
const {
|
||||||
header,
|
header = undefined,
|
||||||
description,
|
description,
|
||||||
ourServices,
|
ourServices,
|
||||||
contactUs,
|
contactUs,
|
||||||
@@ -20,11 +20,12 @@ export default async function Services() {
|
|||||||
feedbacks,
|
feedbacks,
|
||||||
blogs,
|
blogs,
|
||||||
footer,
|
footer,
|
||||||
subscribe
|
subscribe,
|
||||||
} = await strapiApi.getServicesPage();
|
common
|
||||||
|
} = await strapiApi.getServicesPage()
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{header && description && <SubHeaderComponent header1={header} description={description} />}
|
<SubHeaderComponent header={{header1:header,description}} common={common}/>
|
||||||
{ ourServices && <OurServicesComponent config={ourServices} /> }
|
{ ourServices && <OurServicesComponent config={ourServices} /> }
|
||||||
{ contactUs && <ContactUsComponent contactUs={contactUs} />}
|
{ contactUs && <ContactUsComponent contactUs={contactUs} />}
|
||||||
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }
|
{ ourSpecialities && <OurSpecialitiesComponent config={ourSpecialities} /> }
|
||||||
|
|||||||
@@ -2,13 +2,17 @@ import YogaImageComponent from "@/components/yoga.image.component";
|
|||||||
import {
|
import {
|
||||||
YogaAboutUsWithBoxesComponent_Plain
|
YogaAboutUsWithBoxesComponent_Plain
|
||||||
} from "@/types/generated-strapi-interfaces/api/yoga-about-us-with-boxes-component";
|
} from "@/types/generated-strapi-interfaces/api/yoga-about-us-with-boxes-component";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaAboutUsWithBoxesComponent_Plain
|
config: YogaAboutUsWithBoxesComponent_Plain
|
||||||
}
|
}
|
||||||
|
|
||||||
export default function AboutUsWithBoxesComponent({ config: {title,header,description, box1,box2,box3,box4}}: Props){
|
export default function AboutUsWithBoxesComponent({ config: {title,header,description, image, box1,box2,box3,box4}}: Props){
|
||||||
|
|
||||||
|
const imageFile: StrapiFile = image as StrapiFile;
|
||||||
|
const imageUrl = strapiApi.getImageUrl(imageFile?.url)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<section className="aboutpage_aboutus_section">
|
<section className="aboutpage_aboutus_section">
|
||||||
@@ -16,7 +20,7 @@ export default function AboutUsWithBoxesComponent({ config: {title,header,descri
|
|||||||
<div className="row">
|
<div className="row">
|
||||||
<div className="col-lg-7 col-md-6 col-sm-12 col-xs-12">
|
<div className="col-lg-7 col-md-6 col-sm-12 col-xs-12">
|
||||||
<div className="aboutpage_aboutus_image">
|
<div className="aboutpage_aboutus_image">
|
||||||
<figure className="mb-0"><YogaImageComponent src="./assets/images/about_page_aboutus_image.png" alt="" className="img-fluid" /></figure>
|
<figure className="mb-0"><YogaImageComponent src={imageUrl} alt="" className="img-fluid" /></figure>
|
||||||
</div>
|
</div>
|
||||||
<figure className="aboutus_top_shape left_shape mb-0">
|
<figure className="aboutus_top_shape left_shape mb-0">
|
||||||
<YogaImageComponent src="./assets/images/aboutus_top_shape.png" alt="" className="img-fluid" />
|
<YogaImageComponent src="./assets/images/aboutus_top_shape.png" alt="" className="img-fluid" />
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ export default function AchievementsComponent({
|
|||||||
title,header,description
|
title,header,description
|
||||||
}
|
}
|
||||||
}: Props){
|
}: Props){
|
||||||
console.info("achievements",achievements)
|
|
||||||
return (
|
return (
|
||||||
<section className="achievement_section">
|
<section className="achievement_section">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
|
|||||||
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
.textCenter{
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
@@ -3,6 +3,10 @@ import {YogaAchivement_Plain} from "@/types/generated-strapi-interfaces/api/yoga
|
|||||||
import {StrapiFile} from "@/types/types";
|
import {StrapiFile} from "@/types/types";
|
||||||
import strapiApi from "@/api/strapi/strapi-api";
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
|
||||||
|
import styles from './achievements.item.component.module.css';
|
||||||
|
import clsx from "clsx";
|
||||||
|
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
achievement: YogaAchivement_Plain
|
achievement: YogaAchivement_Plain
|
||||||
|
|
||||||
@@ -15,7 +19,7 @@ const imageFile: StrapiFile = image as StrapiFile;
|
|||||||
return (
|
return (
|
||||||
<div className="col-lg-2 col-md-4 col-sm-6 col-xs-12">
|
<div className="col-lg-2 col-md-4 col-sm-6 col-xs-12">
|
||||||
<div className="logo_wrapper">
|
<div className="logo_wrapper">
|
||||||
<figure className="mb-0"><YogaImageComponent src={strapiApi.getImageUrl(imageFile?.url)} alt="" className="img-fluid"/></figure>
|
<figure className="mb-0"><YogaImageComponent src={strapiApi.getImageUrl(imageFile?.url)} alt="" className={clsx(styles.textCenter, "img-fluid")}/></figure>
|
||||||
<div className="logo_content">
|
<div className="logo_content">
|
||||||
{description}
|
{description}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ const pathToBreadCrumbs = (path: string) => {
|
|||||||
'services' : 'Szolgáltatásaim',
|
'services' : 'Szolgáltatásaim',
|
||||||
'prices' : 'Áraim',
|
'prices' : 'Áraim',
|
||||||
'faq' : 'GYIK',
|
'faq' : 'GYIK',
|
||||||
|
'serviceList' : 'Szolgáltatások',
|
||||||
}
|
}
|
||||||
if ( mapping.hasOwnProperty(path)){
|
if ( mapping.hasOwnProperty(path)){
|
||||||
return mapping[path];
|
return mapping[path];
|
||||||
@@ -24,9 +25,6 @@ const NextBreadcrumb = () => {
|
|||||||
const paths = usePathname()
|
const paths = usePathname()
|
||||||
const pathNames = paths.split('/').filter( path => path )
|
const pathNames = paths.split('/').filter( path => path )
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="btn_wrapper">
|
<div className="btn_wrapper">
|
||||||
<span className="sub_home_span">{pathToBreadCrumbs( "/" )} </span>
|
<span className="sub_home_span">{pathToBreadCrumbs( "/" )} </span>
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
import YogaImageComponent from "@/components/yoga.image.component";
|
import YogaImageComponent from "@/components/yoga.image.component";
|
||||||
import {YogaFooter_Plain} from "@/types/generated-strapi-interfaces/api/yoga-footer";
|
import {YogaFooter_Plain} from "@/types/generated-strapi-interfaces/api/yoga-footer";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaFooter_Plain
|
config: YogaFooter_Plain
|
||||||
@@ -14,10 +16,13 @@ const FooterComponent = ({ config: {
|
|||||||
contactUsEmail,
|
contactUsEmail,
|
||||||
contactUsLocation,
|
contactUsLocation,
|
||||||
contactUsPhoneNumber,
|
contactUsPhoneNumber,
|
||||||
copyRight
|
copyRight,
|
||||||
|
logo = undefined
|
||||||
} }: Props) => {
|
} }: Props) => {
|
||||||
|
|
||||||
|
const imageFile: StrapiFile = logo as StrapiFile;
|
||||||
|
const imageUrl = strapiApi.getImageUrl(imageFile?.url)
|
||||||
|
console.info("imageUrl", imageUrl);
|
||||||
|
|
||||||
return (<section className="footer-section" id="footer_section">
|
return (<section className="footer-section" id="footer_section">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
@@ -26,7 +31,7 @@ const FooterComponent = ({ config: {
|
|||||||
<div className="col-lg-3 col-md-4 col-sm-6 col-xs-12 d-lg-block d-none">
|
<div className="col-lg-3 col-md-4 col-sm-6 col-xs-12 d-lg-block d-none">
|
||||||
<div className="footer_logo">
|
<div className="footer_logo">
|
||||||
<Link href="/index.html" className="text-decoration-none">
|
<Link href="/index.html" className="text-decoration-none">
|
||||||
<figure className="mb-0"><YogaImageComponent src="/assets/images/footer_logo.png" alt=""
|
<figure className="mb-0"><YogaImageComponent src={imageUrl} alt=""
|
||||||
className="img-fluid"/></figure>
|
className="img-fluid"/></figure>
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
69
yoga-app/src/components/listing.component.tsx
Normal file
69
yoga-app/src/components/listing.component.tsx
Normal file
@@ -0,0 +1,69 @@
|
|||||||
|
import React from 'react';
|
||||||
|
|
||||||
|
interface ListingComponentProps {
|
||||||
|
text?: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
const ListingComponent: React.FC<ListingComponentProps> = ({ text }) => {
|
||||||
|
if (!text) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
|
const lines = text.split('\n');
|
||||||
|
const elements: React.ReactNode[] = [];
|
||||||
|
let currentParagraph: string[] = [];
|
||||||
|
let currentList: React.ReactNode[] = [];
|
||||||
|
|
||||||
|
const flushParagraph = () => {
|
||||||
|
if (currentParagraph.length > 0) {
|
||||||
|
elements.push(<p key={elements.length}>{currentParagraph.join('\n')}</p>);
|
||||||
|
currentParagraph = [];
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
const flushList = () => {
|
||||||
|
if (currentList.length > 0) {
|
||||||
|
elements.push(<ul key={elements.length}>{currentList}</ul>);
|
||||||
|
currentList = [];
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
let currentListItemContent: string[] = [];
|
||||||
|
|
||||||
|
const flushListItem = () => {
|
||||||
|
if(currentListItemContent.length > 0) {
|
||||||
|
currentList.push(<li key={currentList.length}>{currentListItemContent.join('\n')}</li>);
|
||||||
|
currentListItemContent = [];
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
for (const line of lines) {
|
||||||
|
const trimmedLine = line.trim();
|
||||||
|
|
||||||
|
if (trimmedLine.startsWith('- ') || trimmedLine.startsWith('* ')) {
|
||||||
|
flushParagraph(); // End any ongoing paragraph
|
||||||
|
flushListItem(); // End previous list item
|
||||||
|
currentListItemContent.push(trimmedLine.substring(2));
|
||||||
|
} else if (trimmedLine === '') {
|
||||||
|
flushListItem();
|
||||||
|
flushList(); // An empty line ends the list
|
||||||
|
} else {
|
||||||
|
if (currentList.length > 0 || currentListItemContent.length > 0) {
|
||||||
|
// This line belongs to the current list item
|
||||||
|
currentListItemContent.push(line);
|
||||||
|
} else {
|
||||||
|
// This is a paragraph line
|
||||||
|
flushList();
|
||||||
|
currentParagraph.push(line);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
flushListItem();
|
||||||
|
flushList();
|
||||||
|
flushParagraph();
|
||||||
|
|
||||||
|
return <>{elements}</>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export default ListingComponent;
|
||||||
@@ -2,22 +2,32 @@ import YogaImageComponent from "@/components/yoga.image.component";
|
|||||||
import {YogaMainHeaderComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-main-header-component";
|
import {YogaMainHeaderComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-main-header-component";
|
||||||
import {MAIN_MENU} from "@/util/const";
|
import {MAIN_MENU} from "@/util/const";
|
||||||
import Nav from "@/components/nav.component";
|
import Nav from "@/components/nav.component";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import { YogaCommon_Plain } from "@/types/generated-strapi-interfaces/api/yoga-common";
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaMainHeaderComponent_Plain
|
config: YogaMainHeaderComponent_Plain,
|
||||||
|
common?: YogaCommon_Plain
|
||||||
}
|
}
|
||||||
const MainHeaderComponent = ({ config: {
|
const MainHeaderComponent = ({ config: {
|
||||||
title,
|
title,
|
||||||
header,
|
header,
|
||||||
description,
|
description,
|
||||||
button,
|
button,
|
||||||
headerIType
|
headerIType,
|
||||||
|
image
|
||||||
|
|
||||||
}}: Props) => {
|
},common}: Props) => {
|
||||||
|
|
||||||
|
const imageFile: StrapiFile = image as StrapiFile;
|
||||||
|
const imageSrc = imageFile ? strapiApi.getImageUrl(imageFile?.url): undefined;
|
||||||
|
const logoImageFile: StrapiFile = (common?.logoImage) as StrapiFile;
|
||||||
|
const logoImageSrc = logoImageFile ? strapiApi.getImageUrl(logoImageFile.url) : undefined;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="banner-section-outer">
|
<div className="banner-section-outer">
|
||||||
<header>
|
<header>
|
||||||
<Nav menuItems={MAIN_MENU} />
|
<Nav menuItems={MAIN_MENU} imageSrc={logoImageSrc} />
|
||||||
</header>
|
</header>
|
||||||
{/*<!-- SOCIAL ICONS -->*/}
|
{/*<!-- SOCIAL ICONS -->*/}
|
||||||
<div className="social-icons left_icons float-left d-table" data-aos="fade-down">
|
<div className="social-icons left_icons float-left d-table" data-aos="fade-down">
|
||||||
@@ -54,7 +64,7 @@ const MainHeaderComponent = ({ config: {
|
|||||||
<div className="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
<div className="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
||||||
<div className="banner-section-image">
|
<div className="banner-section-image">
|
||||||
<figure className="mb-0">
|
<figure className="mb-0">
|
||||||
<YogaImageComponent src="/assets/images/banner_right_image.png" alt="" />
|
<YogaImageComponent src={imageSrc!} alt="" />
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,23 +1,22 @@
|
|||||||
"use client"
|
"use client"
|
||||||
import {FC} from "react";
|
|
||||||
import YogaImageComponent from "@/components/yoga.image.component";
|
import YogaImageComponent from "@/components/yoga.image.component";
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
export interface MenuItem{
|
export interface MenuItem {
|
||||||
href?: string;
|
href?: string;
|
||||||
label: string;
|
label: string;
|
||||||
children?: MenuItem[];
|
children?: MenuItem[];
|
||||||
active?: boolean,
|
active?: boolean,
|
||||||
styleClass?: string;
|
styleClass?: string;
|
||||||
}
|
}
|
||||||
export interface Props{
|
|
||||||
|
export interface Props {
|
||||||
menuItems: MenuItem[];
|
menuItems: MenuItem[];
|
||||||
|
imageSrc?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
const Nav: FC<Props> = ({menuItems}:Props) => {
|
const Nav = ({menuItems, imageSrc}: Props) => {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<header>
|
<header>
|
||||||
@@ -25,7 +24,7 @@ const Nav: FC<Props> = ({menuItems}:Props) => {
|
|||||||
<div className="container-fluid">
|
<div className="container-fluid">
|
||||||
<nav className="navbar navbar-expand-lg navbar-light p-0">
|
<nav className="navbar navbar-expand-lg navbar-light p-0">
|
||||||
<Link className="navbar-brand" href="/">
|
<Link className="navbar-brand" href="/">
|
||||||
<figure className="mb-0"><YogaImageComponent src="/assets/images/yogastic_logo.png" alt=""/>
|
<figure className="mb-0"> {imageSrc && <YogaImageComponent src={imageSrc} alt=""/>}
|
||||||
</figure>
|
</figure>
|
||||||
</Link>
|
</Link>
|
||||||
<button className="navbar-toggler collapsed" type="button" data-toggle="collapse"
|
<button className="navbar-toggler collapsed" type="button" data-toggle="collapse"
|
||||||
@@ -37,7 +36,8 @@ const Nav: FC<Props> = ({menuItems}:Props) => {
|
|||||||
</button>
|
</button>
|
||||||
<div className="collapse navbar-collapse" id="navbarSupportedContent">
|
<div className="collapse navbar-collapse" id="navbarSupportedContent">
|
||||||
<ul className="navbar-nav">
|
<ul className="navbar-nav">
|
||||||
{menuItems.map( (menuItem,index) => <MenuItemComponent key={"nav"+menuItem.href+"_"+index} menuItem={menuItem} />)}
|
{menuItems.map((menuItem, index) => <MenuItemComponent
|
||||||
|
key={"nav" + menuItem.href + "_" + index} menuItem={menuItem}/>)}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
@@ -47,32 +47,35 @@ const Nav: FC<Props> = ({menuItems}:Props) => {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
interface MenuItemProps{
|
interface MenuItemProps {
|
||||||
menuItem: MenuItem,
|
menuItem: MenuItem,
|
||||||
dropdownItem?: boolean,
|
dropdownItem?: boolean,
|
||||||
}
|
}
|
||||||
const MenuItemComponent: FC<MenuItemProps> = ({menuItem, dropdownItem}: MenuItemProps) => {
|
|
||||||
if ( !menuItem ){
|
const MenuItemComponent = ({menuItem, dropdownItem}: MenuItemProps) => {
|
||||||
|
if (!menuItem) {
|
||||||
return (<></>);
|
return (<></>);
|
||||||
}
|
}
|
||||||
if ( !menuItem.children || menuItem.children.length == 0 ){
|
if (!menuItem.children || menuItem.children.length == 0) {
|
||||||
return (
|
return (
|
||||||
// <li className="nav-item active">
|
// <li className="nav-item active">
|
||||||
<li className={clsx("nav-item", {"active": menuItem.active})}>
|
<li className={clsx("nav-item", {"active": menuItem.active})}>
|
||||||
<a className={clsx("nav-link", {"dropdown-item":dropdownItem},menuItem.styleClass)} href={menuItem.href}>{menuItem.label}</a>
|
<a className={clsx("nav-link", {"dropdown-item": dropdownItem}, menuItem.styleClass)}
|
||||||
|
href={menuItem.href!}>{menuItem.label}</a>
|
||||||
</li>
|
</li>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li className={clsx("nav-item", "dropdown",{"active": menuItem.active})}>
|
<li className={clsx("nav-item", "dropdown", {"active": menuItem.active})}>
|
||||||
<a className="nav-link dropdown-toggle dropdown-color navbar-text-color" href="#"
|
<a className="nav-link dropdown-toggle dropdown-color navbar-text-color" href="#"
|
||||||
role="button" data-toggle="dropdown" aria-haspopup="true"
|
role="button" data-toggle="dropdown" aria-haspopup="true"
|
||||||
aria-expanded="false">{menuItem.label}</a>
|
aria-expanded="false">{menuItem.label}</a>
|
||||||
<div className="dropdown-menu drop-down-content">
|
<div className="dropdown-menu drop-down-content">
|
||||||
<ul className="list-unstyled drop-down-pages">
|
<ul className="list-unstyled drop-down-pages">
|
||||||
{
|
{
|
||||||
menuItem.children.map((item,index) => <MenuItemComponent key={"child_"+item.href+"_"+index} menuItem={item} dropdownItem={true}/>)
|
menuItem.children.map((item, index) => <MenuItemComponent
|
||||||
|
key={"child_" + item.href + "_" + index} menuItem={item} dropdownItem={true}/>)
|
||||||
}
|
}
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -67,7 +67,6 @@ const OurServiceComponent = ({config: {title,header,description,services}}: Prop
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
console.info(settings)
|
|
||||||
return (
|
return (
|
||||||
<section className="services_section">
|
<section className="services_section">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
|
|||||||
@@ -31,6 +31,11 @@
|
|||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.roundedImage{
|
||||||
|
border-top-left-radius: 60px;
|
||||||
|
border-bottom-right-radius: 60px;
|
||||||
|
}
|
||||||
|
|
||||||
/*:global(div.slick-active):nth-last-child(n!*){*/
|
/*:global(div.slick-active):nth-last-child(n!*){*/
|
||||||
/* padding-left: 6px;*/
|
/* padding-left: 6px;*/
|
||||||
/* padding-right: 0;*!*/
|
/* padding-right: 0;*!*/
|
||||||
|
|||||||
@@ -4,6 +4,7 @@ import {StrapiFile} from "@/types/types";
|
|||||||
import strapiApi from "@/api/strapi/strapi-api";
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
import styles from './our.services.item.component.module.css'
|
import styles from './our.services.item.component.module.css'
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
import classNames from "classnames";
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
config: YogaSingleService_Plain
|
config: YogaSingleService_Plain
|
||||||
@@ -14,7 +15,7 @@ const OurServiceItemComponent = ({config: {header,description,image,name}}: Prop
|
|||||||
if (!imageFile || !imageFile.url) {
|
if (!imageFile || !imageFile.url) {
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
const path = '/services/' + name;
|
const path = '/serviceList#' + name;
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<div className={styles.serviceSlide}>
|
<div className={styles.serviceSlide}>
|
||||||
@@ -22,7 +23,7 @@ const OurServiceItemComponent = ({config: {header,description,image,name}}: Prop
|
|||||||
<div className="services_box_content">
|
<div className="services_box_content">
|
||||||
<div className="services_box_upper_portion">
|
<div className="services_box_upper_portion">
|
||||||
<figure className="mb-0">
|
<figure className="mb-0">
|
||||||
<YogaImageComponent src={strapiApi.getImageUrl(imageFile.url)} alt="" className="img-fluid"/>
|
<YogaImageComponent src={strapiApi.getImageUrl(imageFile.url)} alt="" className={classNames(styles.roundedImage,"img-fluid" )}/>
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<div className="services_box_lower_portion">
|
<div className="services_box_lower_portion">
|
||||||
|
|||||||
@@ -1,6 +1,8 @@
|
|||||||
import YogaImageComponent from "@/components/yoga.image.component";
|
import YogaImageComponent from "@/components/yoga.image.component";
|
||||||
import OurSpecialitiesItemComponent from "@/components/our.specialities.item.component";
|
import OurSpecialitiesItemComponent from "@/components/our.specialities.item.component";
|
||||||
import {YogaSpecialitiesComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-specialities-component";
|
import {YogaSpecialitiesComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-specialities-component";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaSpecialitiesComponent_Plain
|
config: YogaSpecialitiesComponent_Plain
|
||||||
@@ -14,8 +16,14 @@ const OurSpecialitiesComponent = ({ config: { title,header,description,
|
|||||||
right1,
|
right1,
|
||||||
right2,
|
right2,
|
||||||
right3,
|
right3,
|
||||||
right4
|
right4,
|
||||||
|
image
|
||||||
} }: Props) => {
|
} }: Props) => {
|
||||||
|
|
||||||
|
|
||||||
|
const imageFile: StrapiFile = image as StrapiFile;
|
||||||
|
const imageUrl = strapiApi.getImageUrl(imageFile?.url)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|
||||||
<section className="our_specialties_section">
|
<section className="our_specialties_section">
|
||||||
@@ -43,7 +51,7 @@ const OurSpecialitiesComponent = ({ config: { title,header,description,
|
|||||||
</div>
|
</div>
|
||||||
<div className="col-lg-6 col-md-4 col-sm-6 col-xs-12 d-md-block d-none">
|
<div className="col-lg-6 col-md-4 col-sm-6 col-xs-12 d-md-block d-none">
|
||||||
<figure className="specialties_image mb-0">
|
<figure className="specialties_image mb-0">
|
||||||
<YogaImageComponent src="/assets/images/specialties_image.png" alt="" className="img-fluid" />
|
<YogaImageComponent src={imageUrl} alt="" className="img-fluid" />
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-lg-3 col-md-4 col-sm-6 col-xs-12" data-aos="fade-right">
|
<div className="col-lg-3 col-md-4 col-sm-6 col-xs-12" data-aos="fade-right">
|
||||||
|
|||||||
@@ -11,7 +11,6 @@ export function PriceItemComponent({config: {header, description, option1,option
|
|||||||
// there are some issues with the strapi generated types
|
// there are some issues with the strapi generated types
|
||||||
const iconFile: StrapiFile = icon as StrapiFile;
|
const iconFile: StrapiFile = icon as StrapiFile;
|
||||||
const imageFile: StrapiFile = image as StrapiFile;
|
const imageFile: StrapiFile = image as StrapiFile;
|
||||||
console.info("image:",strapiApi.getImageUrl(imageFile?.url));
|
|
||||||
return (
|
return (
|
||||||
<div className="col-lg-4 col-md-4 col-sm-6 col-xs-12">
|
<div className="col-lg-4 col-md-4 col-sm-6 col-xs-12">
|
||||||
<div className="pricing_plans_box_content">
|
<div className="pricing_plans_box_content">
|
||||||
|
|||||||
32
yoga-app/src/components/single.service.component.tsx
Normal file
32
yoga-app/src/components/single.service.component.tsx
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
import {YogaSingleService_Plain} from "@/types/generated-strapi-interfaces/api/yoga-single-service";
|
||||||
|
import clsx from "clsx";
|
||||||
|
import NextBlocksRenderer from "@/components/next.blocks.renderer";
|
||||||
|
import {BlocksContent} from "@strapi/blocks-react-renderer";
|
||||||
|
import React from "react";
|
||||||
|
|
||||||
|
|
||||||
|
export interface Props {
|
||||||
|
config: YogaSingleService_Plain
|
||||||
|
}
|
||||||
|
|
||||||
|
const SingleService = ({config}: Props) => {
|
||||||
|
if (!config || !config.article) {
|
||||||
|
return null; // or some fallback UI
|
||||||
|
}
|
||||||
|
|
||||||
|
return (
|
||||||
|
<section id={config.name+""} className={clsx('mb-3')}>
|
||||||
|
<div className="container">
|
||||||
|
<div className={"row"}>
|
||||||
|
<div className={"col-lg-12 col-md-12 col-sm-12 col-xs-12"}>
|
||||||
|
<NextBlocksRenderer
|
||||||
|
content={config.article as BlocksContent}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default SingleService;
|
||||||
@@ -3,14 +3,31 @@ import Nav from "@/components/nav.component";
|
|||||||
import {MAIN_MENU} from "@/util/const";
|
import {MAIN_MENU} from "@/util/const";
|
||||||
import {HeaderB} from "@/types/generated-strapi-interfaces/components/yoga-site/HeaderB";
|
import {HeaderB} from "@/types/generated-strapi-interfaces/components/yoga-site/HeaderB";
|
||||||
import NextBreadcrumb from "@/components/breadcrumbs.component";
|
import NextBreadcrumb from "@/components/breadcrumbs.component";
|
||||||
|
import {YogaCommon_Plain} from "@/types/generated-strapi-interfaces/api/yoga-common";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
|
||||||
|
|
||||||
export type Props = HeaderB ;
|
export type Props = {
|
||||||
|
header: HeaderB,
|
||||||
|
common?: YogaCommon_Plain
|
||||||
|
} ;
|
||||||
|
|
||||||
|
const SubHeaderComponent = ( {
|
||||||
|
header:{ header1,description},common }: Props) =>{
|
||||||
|
|
||||||
|
|
||||||
|
let logoImageSrc: string|undefined = undefined;
|
||||||
|
|
||||||
|
const logoImage = common && common.logoImage;
|
||||||
|
if ( logoImage ){
|
||||||
|
const logoImageFile: StrapiFile = logoImage as StrapiFile;
|
||||||
|
logoImageSrc = strapiApi.getImageUrl(logoImageFile?.url) ;
|
||||||
|
}
|
||||||
|
|
||||||
const SubHeaderComponent = ({header1,description}: Props) =>{
|
|
||||||
return (
|
return (
|
||||||
<div className="sub-banner-section">
|
<div className="sub-banner-section">
|
||||||
<Nav menuItems={MAIN_MENU} />
|
<Nav menuItems={MAIN_MENU} imageSrc={logoImageSrc} />
|
||||||
<section className="banner-section">
|
<section className="banner-section">
|
||||||
<div className="container">
|
<div className="container">
|
||||||
<div className="row">
|
<div className="row">
|
||||||
@@ -42,3 +59,6 @@ const SubHeaderComponent = ({header1,description}: Props) =>{
|
|||||||
}
|
}
|
||||||
|
|
||||||
export default SubHeaderComponent;
|
export default SubHeaderComponent;
|
||||||
|
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic'
|
||||||
|
|||||||
4
yoga-app/src/components/subscribe.component.module.css
Normal file
4
yoga-app/src/components/subscribe.component.module.css
Normal file
@@ -0,0 +1,4 @@
|
|||||||
|
|
||||||
|
.roundedImage img{
|
||||||
|
border-bottom-right-radius: 60px;
|
||||||
|
}
|
||||||
@@ -3,14 +3,22 @@ import {
|
|||||||
YogaSubscribeNowComponent_Plain
|
YogaSubscribeNowComponent_Plain
|
||||||
} from "@/types/generated-strapi-interfaces/api/yoga-subscribe-now-component";
|
} from "@/types/generated-strapi-interfaces/api/yoga-subscribe-now-component";
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
|
import {StrapiFile} from "@/types/types";
|
||||||
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import styles from './subscribe.component.module.css'
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaSubscribeNowComponent_Plain,
|
config: YogaSubscribeNowComponent_Plain,
|
||||||
styleClass?: string
|
styleClass?: string,
|
||||||
}
|
}
|
||||||
const SubscribeComponent = ({
|
const SubscribeComponent = ({
|
||||||
config: {title,header,placeHolderEmail,buttonSubscribeLabel},
|
config: {title,header,placeHolderEmail,buttonSubscribeLabel, image = undefined},
|
||||||
styleClass
|
styleClass
|
||||||
}: Props) => {
|
}: Props) => {
|
||||||
|
const imageFile: StrapiFile = image as StrapiFile;
|
||||||
|
if (!imageFile || !imageFile.url) {
|
||||||
|
return null
|
||||||
|
}
|
||||||
return (
|
return (
|
||||||
<section className={clsx("subscribe_section",styleClass)}>
|
<section className={clsx("subscribe_section",styleClass)}>
|
||||||
<div className="container">
|
<div className="container">
|
||||||
@@ -32,8 +40,8 @@ const SubscribeComponent = ({
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className="col-lg-5 col-md-5 col-sm-6 col-xs-12">
|
<div className="col-lg-5 col-md-5 col-sm-6 col-xs-12">
|
||||||
<figure className="subscribe_image mb-0">
|
<figure className={clsx(styles.roundedImage,"subscribe_image","mb-0",)}>
|
||||||
<YogaImageComponent src="/assets/images/subscribe_image.png" alt=""/>
|
<YogaImageComponent src={strapiApi.getImageUrl(imageFile.url)} alt=""/>
|
||||||
</figure>
|
</figure>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import TextWithRightImage from "@/components/text.with.right.image.component";
|
import TextWithRightImage from "@/components/text.with.right.image.component";
|
||||||
import TextWithLeftImage from "@/components/text.with.right.left.component";
|
import TextWithLeftImage from "@/components/text.with.left.image.component";
|
||||||
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
|
|||||||
@@ -2,6 +2,7 @@ import YogaImageComponent from "@/components/yoga.image.component";
|
|||||||
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
||||||
import {StrapiFile} from "@/types/types";
|
import {StrapiFile} from "@/types/types";
|
||||||
import strapiApi from "@/api/strapi/strapi-api";
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import ListingComponent from "@/components/listing.component";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaTextWithImageComponent_Plain
|
config: YogaTextWithImageComponent_Plain
|
||||||
@@ -29,7 +30,7 @@ export default function TextWithLeftImage ({config: {
|
|||||||
<div className="vision_content">
|
<div className="vision_content">
|
||||||
<h5>{title}</h5>
|
<h5>{title}</h5>
|
||||||
<h2>{header}</h2>
|
<h2>{header}</h2>
|
||||||
<p>{description}</p>
|
<ListingComponent text={description} />
|
||||||
<div className="btn_wrapper">
|
<div className="btn_wrapper">
|
||||||
{button && <a href={button.link} className="text-decoration-none read_more_btn">{button.label}</a>}
|
{button && <a href={button.link} className="text-decoration-none read_more_btn">{button.label}</a>}
|
||||||
</div>
|
</div>
|
||||||
@@ -2,6 +2,7 @@ import YogaImageComponent from "@/components/yoga.image.component";
|
|||||||
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
import {YogaTextWithImageComponent_Plain} from "@/types/generated-strapi-interfaces/api/yoga-text-with-image-component";
|
||||||
import {StrapiFile} from "@/types/types";
|
import {StrapiFile} from "@/types/types";
|
||||||
import strapiApi from "@/api/strapi/strapi-api";
|
import strapiApi from "@/api/strapi/strapi-api";
|
||||||
|
import ListingComponent from "./listing.component";
|
||||||
|
|
||||||
export interface Props{
|
export interface Props{
|
||||||
config: YogaTextWithImageComponent_Plain
|
config: YogaTextWithImageComponent_Plain
|
||||||
@@ -22,7 +23,7 @@ export default function TextWithRightImage ({config: {
|
|||||||
<div className="mission_content">
|
<div className="mission_content">
|
||||||
<h5>{title}</h5>
|
<h5>{title}</h5>
|
||||||
<h2>{header}</h2>
|
<h2>{header}</h2>
|
||||||
<p>{description}</p>
|
<ListingComponent text={description} />
|
||||||
<div className="btn_wrapper">
|
<div className="btn_wrapper">
|
||||||
{button && <a href={button.link} className="text-decoration-none read_more_btn">{button.label}</a>}
|
{button && <a href={button.link} className="text-decoration-none read_more_btn">{button.label}</a>}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-compon
|
|||||||
import { YogaDiscountComponent } from './yoga-discount-component';
|
import { YogaDiscountComponent } from './yoga-discount-component';
|
||||||
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
|
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
|
||||||
import { YogaAchivementsComponent } from './yoga-achivements-component';
|
import { YogaAchivementsComponent } from './yoga-achivements-component';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
|
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
@@ -16,6 +17,7 @@ import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-
|
|||||||
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
||||||
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
|
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
|
||||||
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
|
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
@@ -31,6 +33,7 @@ export interface About {
|
|||||||
ourMission?: { data: YogaTextWithImageComponent };
|
ourMission?: { data: YogaTextWithImageComponent };
|
||||||
ourVision?: { data: YogaTextWithImageComponent };
|
ourVision?: { data: YogaTextWithImageComponent };
|
||||||
achievements?: { data: YogaAchivementsComponent };
|
achievements?: { data: YogaAchivementsComponent };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: About[] };
|
localizations?: { data: About[] };
|
||||||
};
|
};
|
||||||
@@ -46,6 +49,7 @@ export interface About_Plain {
|
|||||||
ourMission?: YogaTextWithImageComponent_Plain;
|
ourMission?: YogaTextWithImageComponent_Plain;
|
||||||
ourVision?: YogaTextWithImageComponent_Plain;
|
ourVision?: YogaTextWithImageComponent_Plain;
|
||||||
achievements?: YogaAchivementsComponent_Plain;
|
achievements?: YogaAchivementsComponent_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About_Plain[];
|
localizations?: About_Plain[];
|
||||||
}
|
}
|
||||||
@@ -61,6 +65,7 @@ export interface About_NoRelations {
|
|||||||
ourMission?: number;
|
ourMission?: number;
|
||||||
ourVision?: number;
|
ourVision?: number;
|
||||||
achievements?: number;
|
achievements?: number;
|
||||||
|
common?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About[];
|
localizations?: About[];
|
||||||
}
|
}
|
||||||
@@ -76,6 +81,7 @@ export interface About_AdminPanelLifeCycle {
|
|||||||
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||||
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||||
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
|
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About[];
|
localizations?: About[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ import { YogaContactUs } from './yoga-contact-us';
|
|||||||
import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
|
import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||||
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
|
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ContactPage {
|
export interface ContactPage {
|
||||||
@@ -19,6 +21,7 @@ export interface ContactPage {
|
|||||||
google_maps?: { data: YogaGoogleMapsComponent };
|
google_maps?: { data: YogaGoogleMapsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ContactPage_Plain {
|
export interface ContactPage_Plain {
|
||||||
@@ -29,6 +32,7 @@ export interface ContactPage_Plain {
|
|||||||
google_maps?: YogaGoogleMapsComponent_Plain;
|
google_maps?: YogaGoogleMapsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ContactPage_NoRelations {
|
export interface ContactPage_NoRelations {
|
||||||
@@ -39,6 +43,7 @@ export interface ContactPage_NoRelations {
|
|||||||
google_maps?: number;
|
google_maps?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ContactPage_AdminPanelLifeCycle {
|
export interface ContactPage_AdminPanelLifeCycle {
|
||||||
@@ -49,4 +54,5 @@ export interface ContactPage_AdminPanelLifeCycle {
|
|||||||
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
|
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ import { YogaAchivementsComponent } from './yoga-achivements-component';
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaFaqComponent_Plain } from './yoga-faq-component';
|
import { YogaFaqComponent_Plain } from './yoga-faq-component';
|
||||||
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface FaqPage {
|
export interface FaqPage {
|
||||||
@@ -22,6 +24,7 @@ export interface FaqPage {
|
|||||||
blogs?: { data: YogaBlogPostsComponent };
|
blogs?: { data: YogaBlogPostsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface FaqPage_Plain {
|
export interface FaqPage_Plain {
|
||||||
@@ -33,6 +36,7 @@ export interface FaqPage_Plain {
|
|||||||
blogs?: YogaBlogPostsComponent_Plain;
|
blogs?: YogaBlogPostsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FaqPage_NoRelations {
|
export interface FaqPage_NoRelations {
|
||||||
@@ -44,6 +48,7 @@ export interface FaqPage_NoRelations {
|
|||||||
blogs?: number;
|
blogs?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FaqPage_AdminPanelLifeCycle {
|
export interface FaqPage_AdminPanelLifeCycle {
|
||||||
@@ -55,4 +60,5 @@ export interface FaqPage_AdminPanelLifeCycle {
|
|||||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export interface Global {
|
|||||||
favicon?: { data: Media };
|
favicon?: { data: Media };
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo;
|
defaultSeo?: Seo;
|
||||||
|
logoImage?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface Global_Plain {
|
export interface Global_Plain {
|
||||||
@@ -22,6 +23,7 @@ export interface Global_Plain {
|
|||||||
favicon?: Media_Plain;
|
favicon?: Media_Plain;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_Plain;
|
defaultSeo?: Seo_Plain;
|
||||||
|
logoImage?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Global_NoRelations {
|
export interface Global_NoRelations {
|
||||||
@@ -30,6 +32,7 @@ export interface Global_NoRelations {
|
|||||||
favicon?: number;
|
favicon?: number;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_NoRelations;
|
defaultSeo?: Seo_NoRelations;
|
||||||
|
logoImage?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Global_AdminPanelLifeCycle {
|
export interface Global_AdminPanelLifeCycle {
|
||||||
@@ -38,4 +41,5 @@ export interface Global_AdminPanelLifeCycle {
|
|||||||
favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
|
favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_Plain;
|
defaultSeo?: Seo_Plain;
|
||||||
|
logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
|||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
import { YogaMainHeaderComponent } from './yoga-main-header-component';
|
import { YogaMainHeaderComponent } from './yoga-main-header-component';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||||
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
||||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||||
@@ -20,6 +21,7 @@ import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
|||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
|
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface Home {
|
export interface Home {
|
||||||
@@ -35,6 +37,7 @@ export interface Home {
|
|||||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
header?: { data: YogaMainHeaderComponent };
|
header?: { data: YogaMainHeaderComponent };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: Home[] };
|
localizations?: { data: Home[] };
|
||||||
};
|
};
|
||||||
@@ -51,6 +54,7 @@ export interface Home_Plain {
|
|||||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
header?: YogaMainHeaderComponent_Plain;
|
header?: YogaMainHeaderComponent_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home_Plain[];
|
localizations?: Home_Plain[];
|
||||||
}
|
}
|
||||||
@@ -67,6 +71,7 @@ export interface Home_NoRelations {
|
|||||||
subscribeNow?: number;
|
subscribeNow?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
header?: number;
|
header?: number;
|
||||||
|
common?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home[];
|
localizations?: Home[];
|
||||||
}
|
}
|
||||||
@@ -83,6 +88,7 @@ export interface Home_AdminPanelLifeCycle {
|
|||||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
|
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home[];
|
localizations?: Home[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ import { YogaDiscountComponent } from './yoga-discount-component';
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
||||||
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface PricesPage {
|
export interface PricesPage {
|
||||||
@@ -22,6 +24,7 @@ export interface PricesPage {
|
|||||||
blogs?: { data: YogaBlogPostsComponent };
|
blogs?: { data: YogaBlogPostsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface PricesPage_Plain {
|
export interface PricesPage_Plain {
|
||||||
@@ -33,6 +36,7 @@ export interface PricesPage_Plain {
|
|||||||
blogs?: YogaBlogPostsComponent_Plain;
|
blogs?: YogaBlogPostsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PricesPage_NoRelations {
|
export interface PricesPage_NoRelations {
|
||||||
@@ -44,6 +48,7 @@ export interface PricesPage_NoRelations {
|
|||||||
blogs?: number;
|
blogs?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PricesPage_AdminPanelLifeCycle {
|
export interface PricesPage_AdminPanelLifeCycle {
|
||||||
@@ -55,4 +60,5 @@ export interface PricesPage_AdminPanelLifeCycle {
|
|||||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
|
import { YogaSingleService } from './yoga-single-service';
|
||||||
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
|
import { YogaSingleService_Plain } from './yoga-single-service';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
|
export interface ServiceListPage {
|
||||||
|
id: number;
|
||||||
|
attributes: {
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
|
services: { data: YogaSingleService[] };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export interface ServiceListPage_Plain {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
|
services: YogaSingleService_Plain[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ServiceListPage_NoRelations {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: number;
|
||||||
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
|
services: number[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ServiceListPage_AdminPanelLifeCycle {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
|
services: AdminPanelRelationPropertyModification<YogaSingleService_Plain>;
|
||||||
|
}
|
||||||
@@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ServicePage {
|
export interface ServicePage {
|
||||||
@@ -13,6 +15,7 @@ export interface ServicePage {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ServicePage_Plain {
|
export interface ServicePage_Plain {
|
||||||
@@ -21,6 +24,7 @@ export interface ServicePage_Plain {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicePage_NoRelations {
|
export interface ServicePage_NoRelations {
|
||||||
@@ -29,6 +33,7 @@ export interface ServicePage_NoRelations {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: number;
|
subscribeNow?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicePage_AdminPanelLifeCycle {
|
export interface ServicePage_AdminPanelLifeCycle {
|
||||||
@@ -37,4 +42,5 @@ export interface ServicePage_AdminPanelLifeCycle {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-componen
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||||
@@ -14,6 +15,7 @@ import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-co
|
|||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ServicesPage {
|
export interface ServicesPage {
|
||||||
@@ -29,6 +31,7 @@ export interface ServicesPage {
|
|||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ServicesPage_Plain {
|
export interface ServicesPage_Plain {
|
||||||
@@ -43,6 +46,7 @@ export interface ServicesPage_Plain {
|
|||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicesPage_NoRelations {
|
export interface ServicesPage_NoRelations {
|
||||||
@@ -57,6 +61,7 @@ export interface ServicesPage_NoRelations {
|
|||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicesPage_AdminPanelLifeCycle {
|
export interface ServicesPage_AdminPanelLifeCycle {
|
||||||
@@ -71,4 +76,5 @@ export interface ServicesPage_AdminPanelLifeCycle {
|
|||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
|
export interface YogaCommon {
|
||||||
|
id: number;
|
||||||
|
attributes: {
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: { data: Media };
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export interface YogaCommon_Plain {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: Media_Plain;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface YogaCommon_NoRelations {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: number;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface YogaCommon_AdminPanelLifeCycle {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
@@ -1,8 +1,11 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
import { Link } from '../components/yoga-site/Link';
|
import { Link } from '../components/yoga-site/Link';
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
import { Link_Plain } from '../components/yoga-site/Link';
|
import { Link_Plain } from '../components/yoga-site/Link';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
import { Link_NoRelations } from '../components/yoga-site/Link';
|
import { Link_NoRelations } from '../components/yoga-site/Link';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaFooter {
|
export interface YogaFooter {
|
||||||
id: number;
|
id: number;
|
||||||
@@ -17,6 +20,7 @@ export interface YogaFooter {
|
|||||||
contactUsLocation?: Link;
|
contactUsLocation?: Link;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface YogaFooter_Plain {
|
export interface YogaFooter_Plain {
|
||||||
@@ -31,6 +35,7 @@ export interface YogaFooter_Plain {
|
|||||||
contactUsLocation?: Link_Plain;
|
contactUsLocation?: Link_Plain;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaFooter_NoRelations {
|
export interface YogaFooter_NoRelations {
|
||||||
@@ -45,6 +50,7 @@ export interface YogaFooter_NoRelations {
|
|||||||
contactUsLocation?: Link_NoRelations;
|
contactUsLocation?: Link_NoRelations;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaFooter_AdminPanelLifeCycle {
|
export interface YogaFooter_AdminPanelLifeCycle {
|
||||||
@@ -59,4 +65,5 @@ export interface YogaFooter_AdminPanelLifeCycle {
|
|||||||
contactUsLocation?: Link_Plain;
|
contactUsLocation?: Link_Plain;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
import { YogaSingleSpeciality } from './yoga-single-speciality';
|
import { YogaSingleSpeciality } from './yoga-single-speciality';
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
|
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaSpecialitiesComponent {
|
export interface YogaSpecialitiesComponent {
|
||||||
@@ -19,6 +21,7 @@ export interface YogaSpecialitiesComponent {
|
|||||||
right2?: { data: YogaSingleSpeciality };
|
right2?: { data: YogaSingleSpeciality };
|
||||||
right3?: { data: YogaSingleSpeciality };
|
right3?: { data: YogaSingleSpeciality };
|
||||||
right4?: { data: YogaSingleSpeciality };
|
right4?: { data: YogaSingleSpeciality };
|
||||||
|
image?: { data: Media };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: YogaSpecialitiesComponent[] };
|
localizations?: { data: YogaSpecialitiesComponent[] };
|
||||||
};
|
};
|
||||||
@@ -37,6 +40,7 @@ export interface YogaSpecialitiesComponent_Plain {
|
|||||||
right2?: YogaSingleSpeciality_Plain;
|
right2?: YogaSingleSpeciality_Plain;
|
||||||
right3?: YogaSingleSpeciality_Plain;
|
right3?: YogaSingleSpeciality_Plain;
|
||||||
right4?: YogaSingleSpeciality_Plain;
|
right4?: YogaSingleSpeciality_Plain;
|
||||||
|
image?: Media_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent_Plain[];
|
localizations?: YogaSpecialitiesComponent_Plain[];
|
||||||
}
|
}
|
||||||
@@ -55,6 +59,7 @@ export interface YogaSpecialitiesComponent_NoRelations {
|
|||||||
right2?: number;
|
right2?: number;
|
||||||
right3?: number;
|
right3?: number;
|
||||||
right4?: number;
|
right4?: number;
|
||||||
|
image?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent[];
|
localizations?: YogaSpecialitiesComponent[];
|
||||||
}
|
}
|
||||||
@@ -73,6 +78,7 @@ export interface YogaSpecialitiesComponent_AdminPanelLifeCycle {
|
|||||||
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent[];
|
localizations?: YogaSpecialitiesComponent[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent {
|
export interface YogaSubscribeNowComponent {
|
||||||
id: number;
|
id: number;
|
||||||
attributes: {
|
attributes: {
|
||||||
@@ -7,6 +11,7 @@ export interface YogaSubscribeNowComponent {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface YogaSubscribeNowComponent_Plain {
|
export interface YogaSubscribeNowComponent_Plain {
|
||||||
@@ -15,6 +20,7 @@ export interface YogaSubscribeNowComponent_Plain {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent_NoRelations {
|
export interface YogaSubscribeNowComponent_NoRelations {
|
||||||
@@ -23,6 +29,7 @@ export interface YogaSubscribeNowComponent_NoRelations {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
||||||
@@ -31,4 +38,5 @@ export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,29 +11,42 @@ export const MAIN_MENU:MenuItem[] = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Szolgáltatásaink',
|
label: 'Szolgáltatásaink',
|
||||||
href: '/services'
|
href: '/serviceList'
|
||||||
|
},
|
||||||
|
// {
|
||||||
|
// label: 'Oldalak',
|
||||||
|
// children: [
|
||||||
|
// {
|
||||||
|
// label: 'Áraink',
|
||||||
|
// href: '/prices'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// label: 'FAQ',
|
||||||
|
// href: '/faq'
|
||||||
|
// },
|
||||||
|
// ]
|
||||||
|
// },
|
||||||
|
{
|
||||||
|
label: 'Áraink',
|
||||||
|
href: '/prices'
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Oldalak',
|
label: 'GY.I.K',
|
||||||
children: [
|
href: '/faq'
|
||||||
{
|
|
||||||
label: 'Áraink',
|
|
||||||
href: '/prices'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
label: 'FAQ',
|
|
||||||
href: '/faq'
|
|
||||||
},
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Rólam',
|
label: 'Szolgáltatásaink',
|
||||||
href: '/team'
|
href: '/serviceList'
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// label: 'Rólam',
|
||||||
|
// href: '/team'
|
||||||
|
// },
|
||||||
|
// {
|
||||||
|
// label: 'Blog',
|
||||||
|
// href: '/blog'
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
label: 'Blog',
|
|
||||||
href: '/blog'
|
|
||||||
}, {
|
|
||||||
label: 'Kapcsolat',
|
label: 'Kapcsolat',
|
||||||
href: '/contact',
|
href: '/contact',
|
||||||
styleClass: "contact_us"
|
styleClass: "contact_us"
|
||||||
|
|||||||
@@ -39,6 +39,9 @@
|
|||||||
specialityRight4: {
|
specialityRight4: {
|
||||||
fields: ['*'] ,
|
fields: ['*'] ,
|
||||||
},
|
},
|
||||||
|
"image": {
|
||||||
|
"fields": ["name","mime","url"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-compon
|
|||||||
import { YogaDiscountComponent } from './yoga-discount-component';
|
import { YogaDiscountComponent } from './yoga-discount-component';
|
||||||
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
|
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
|
||||||
import { YogaAchivementsComponent } from './yoga-achivements-component';
|
import { YogaAchivementsComponent } from './yoga-achivements-component';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
|
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
@@ -16,6 +17,7 @@ import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-
|
|||||||
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
||||||
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
|
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
|
||||||
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
|
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
@@ -31,6 +33,7 @@ export interface About {
|
|||||||
ourMission?: { data: YogaTextWithImageComponent };
|
ourMission?: { data: YogaTextWithImageComponent };
|
||||||
ourVision?: { data: YogaTextWithImageComponent };
|
ourVision?: { data: YogaTextWithImageComponent };
|
||||||
achievements?: { data: YogaAchivementsComponent };
|
achievements?: { data: YogaAchivementsComponent };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: About[] };
|
localizations?: { data: About[] };
|
||||||
};
|
};
|
||||||
@@ -46,6 +49,7 @@ export interface About_Plain {
|
|||||||
ourMission?: YogaTextWithImageComponent_Plain;
|
ourMission?: YogaTextWithImageComponent_Plain;
|
||||||
ourVision?: YogaTextWithImageComponent_Plain;
|
ourVision?: YogaTextWithImageComponent_Plain;
|
||||||
achievements?: YogaAchivementsComponent_Plain;
|
achievements?: YogaAchivementsComponent_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About_Plain[];
|
localizations?: About_Plain[];
|
||||||
}
|
}
|
||||||
@@ -61,6 +65,7 @@ export interface About_NoRelations {
|
|||||||
ourMission?: number;
|
ourMission?: number;
|
||||||
ourVision?: number;
|
ourVision?: number;
|
||||||
achievements?: number;
|
achievements?: number;
|
||||||
|
common?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About[];
|
localizations?: About[];
|
||||||
}
|
}
|
||||||
@@ -76,6 +81,7 @@ export interface About_AdminPanelLifeCycle {
|
|||||||
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||||
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
|
||||||
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
|
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: About[];
|
localizations?: About[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,10 +4,12 @@ import { YogaContactUs } from './yoga-contact-us';
|
|||||||
import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
|
import { YogaGoogleMapsComponent } from './yoga-google-maps-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||||
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
|
import { YogaGoogleMapsComponent_Plain } from './yoga-google-maps-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ContactPage {
|
export interface ContactPage {
|
||||||
@@ -19,6 +21,7 @@ export interface ContactPage {
|
|||||||
google_maps?: { data: YogaGoogleMapsComponent };
|
google_maps?: { data: YogaGoogleMapsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ContactPage_Plain {
|
export interface ContactPage_Plain {
|
||||||
@@ -29,6 +32,7 @@ export interface ContactPage_Plain {
|
|||||||
google_maps?: YogaGoogleMapsComponent_Plain;
|
google_maps?: YogaGoogleMapsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ContactPage_NoRelations {
|
export interface ContactPage_NoRelations {
|
||||||
@@ -39,6 +43,7 @@ export interface ContactPage_NoRelations {
|
|||||||
google_maps?: number;
|
google_maps?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ContactPage_AdminPanelLifeCycle {
|
export interface ContactPage_AdminPanelLifeCycle {
|
||||||
@@ -49,4 +54,5 @@ export interface ContactPage_AdminPanelLifeCycle {
|
|||||||
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
|
google_maps?: AdminPanelRelationPropertyModification<YogaGoogleMapsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ import { YogaAchivementsComponent } from './yoga-achivements-component';
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaFaqComponent_Plain } from './yoga-faq-component';
|
import { YogaFaqComponent_Plain } from './yoga-faq-component';
|
||||||
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface FaqPage {
|
export interface FaqPage {
|
||||||
@@ -22,6 +24,7 @@ export interface FaqPage {
|
|||||||
blogs?: { data: YogaBlogPostsComponent };
|
blogs?: { data: YogaBlogPostsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface FaqPage_Plain {
|
export interface FaqPage_Plain {
|
||||||
@@ -33,6 +36,7 @@ export interface FaqPage_Plain {
|
|||||||
blogs?: YogaBlogPostsComponent_Plain;
|
blogs?: YogaBlogPostsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FaqPage_NoRelations {
|
export interface FaqPage_NoRelations {
|
||||||
@@ -44,6 +48,7 @@ export interface FaqPage_NoRelations {
|
|||||||
blogs?: number;
|
blogs?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface FaqPage_AdminPanelLifeCycle {
|
export interface FaqPage_AdminPanelLifeCycle {
|
||||||
@@ -55,4 +60,5 @@ export interface FaqPage_AdminPanelLifeCycle {
|
|||||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -14,6 +14,7 @@ export interface Global {
|
|||||||
favicon?: { data: Media };
|
favicon?: { data: Media };
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo;
|
defaultSeo?: Seo;
|
||||||
|
logoImage?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface Global_Plain {
|
export interface Global_Plain {
|
||||||
@@ -22,6 +23,7 @@ export interface Global_Plain {
|
|||||||
favicon?: Media_Plain;
|
favicon?: Media_Plain;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_Plain;
|
defaultSeo?: Seo_Plain;
|
||||||
|
logoImage?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Global_NoRelations {
|
export interface Global_NoRelations {
|
||||||
@@ -30,6 +32,7 @@ export interface Global_NoRelations {
|
|||||||
favicon?: number;
|
favicon?: number;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_NoRelations;
|
defaultSeo?: Seo_NoRelations;
|
||||||
|
logoImage?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Global_AdminPanelLifeCycle {
|
export interface Global_AdminPanelLifeCycle {
|
||||||
@@ -38,4 +41,5 @@ export interface Global_AdminPanelLifeCycle {
|
|||||||
favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
|
favicon?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
siteDescription: string;
|
siteDescription: string;
|
||||||
defaultSeo?: Seo_Plain;
|
defaultSeo?: Seo_Plain;
|
||||||
|
logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
|||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
import { YogaMainHeaderComponent } from './yoga-main-header-component';
|
import { YogaMainHeaderComponent } from './yoga-main-header-component';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||||
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
|
||||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||||
@@ -20,6 +21,7 @@ import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
|||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
|
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface Home {
|
export interface Home {
|
||||||
@@ -35,6 +37,7 @@ export interface Home {
|
|||||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
header?: { data: YogaMainHeaderComponent };
|
header?: { data: YogaMainHeaderComponent };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: Home[] };
|
localizations?: { data: Home[] };
|
||||||
};
|
};
|
||||||
@@ -51,6 +54,7 @@ export interface Home_Plain {
|
|||||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
header?: YogaMainHeaderComponent_Plain;
|
header?: YogaMainHeaderComponent_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home_Plain[];
|
localizations?: Home_Plain[];
|
||||||
}
|
}
|
||||||
@@ -67,6 +71,7 @@ export interface Home_NoRelations {
|
|||||||
subscribeNow?: number;
|
subscribeNow?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
header?: number;
|
header?: number;
|
||||||
|
common?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home[];
|
localizations?: Home[];
|
||||||
}
|
}
|
||||||
@@ -83,6 +88,7 @@ export interface Home_AdminPanelLifeCycle {
|
|||||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
|
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: Home[];
|
localizations?: Home[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,11 +5,13 @@ import { YogaDiscountComponent } from './yoga-discount-component';
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
import { YogaPriceComponent_Plain } from './yoga-price-component';
|
||||||
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
|
||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface PricesPage {
|
export interface PricesPage {
|
||||||
@@ -22,6 +24,7 @@ export interface PricesPage {
|
|||||||
blogs?: { data: YogaBlogPostsComponent };
|
blogs?: { data: YogaBlogPostsComponent };
|
||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface PricesPage_Plain {
|
export interface PricesPage_Plain {
|
||||||
@@ -33,6 +36,7 @@ export interface PricesPage_Plain {
|
|||||||
blogs?: YogaBlogPostsComponent_Plain;
|
blogs?: YogaBlogPostsComponent_Plain;
|
||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PricesPage_NoRelations {
|
export interface PricesPage_NoRelations {
|
||||||
@@ -44,6 +48,7 @@ export interface PricesPage_NoRelations {
|
|||||||
blogs?: number;
|
blogs?: number;
|
||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface PricesPage_AdminPanelLifeCycle {
|
export interface PricesPage_AdminPanelLifeCycle {
|
||||||
@@ -55,4 +60,5 @@ export interface PricesPage_AdminPanelLifeCycle {
|
|||||||
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
|
||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,52 @@
|
|||||||
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
|
import { YogaSingleService } from './yoga-single-service';
|
||||||
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
|
import { YogaSingleService_Plain } from './yoga-single-service';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
|
export interface ServiceListPage {
|
||||||
|
id: number;
|
||||||
|
attributes: {
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
|
services: { data: YogaSingleService[] };
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export interface ServiceListPage_Plain {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
|
services: YogaSingleService_Plain[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ServiceListPage_NoRelations {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: number;
|
||||||
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
|
services: number[];
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface ServiceListPage_AdminPanelLifeCycle {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
|
||||||
|
description?: string;
|
||||||
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
|
services: AdminPanelRelationPropertyModification<YogaSingleService_Plain>;
|
||||||
|
}
|
||||||
@@ -2,8 +2,10 @@
|
|||||||
|
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ServicePage {
|
export interface ServicePage {
|
||||||
@@ -13,6 +15,7 @@ export interface ServicePage {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: { data: YogaSubscribeNowComponent };
|
subscribeNow?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ServicePage_Plain {
|
export interface ServicePage_Plain {
|
||||||
@@ -21,6 +24,7 @@ export interface ServicePage_Plain {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
subscribeNow?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicePage_NoRelations {
|
export interface ServicePage_NoRelations {
|
||||||
@@ -29,6 +33,7 @@ export interface ServicePage_NoRelations {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: number;
|
subscribeNow?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicePage_AdminPanelLifeCycle {
|
export interface ServicePage_AdminPanelLifeCycle {
|
||||||
@@ -37,4 +42,5 @@ export interface ServicePage_AdminPanelLifeCycle {
|
|||||||
description?: string;
|
description?: string;
|
||||||
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-componen
|
|||||||
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter } from './yoga-footer';
|
import { YogaFooter } from './yoga-footer';
|
||||||
|
import { YogaCommon } from './yoga-common';
|
||||||
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
|
||||||
import { YogaContactUs_Plain } from './yoga-contact-us';
|
import { YogaContactUs_Plain } from './yoga-contact-us';
|
||||||
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
|
||||||
@@ -14,6 +15,7 @@ import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-co
|
|||||||
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
|
||||||
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
|
||||||
import { YogaFooter_Plain } from './yoga-footer';
|
import { YogaFooter_Plain } from './yoga-footer';
|
||||||
|
import { YogaCommon_Plain } from './yoga-common';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface ServicesPage {
|
export interface ServicesPage {
|
||||||
@@ -29,6 +31,7 @@ export interface ServicesPage {
|
|||||||
subscribe?: { data: YogaSubscribeNowComponent };
|
subscribe?: { data: YogaSubscribeNowComponent };
|
||||||
footer?: { data: YogaFooter };
|
footer?: { data: YogaFooter };
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: { data: YogaCommon };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface ServicesPage_Plain {
|
export interface ServicesPage_Plain {
|
||||||
@@ -43,6 +46,7 @@ export interface ServicesPage_Plain {
|
|||||||
subscribe?: YogaSubscribeNowComponent_Plain;
|
subscribe?: YogaSubscribeNowComponent_Plain;
|
||||||
footer?: YogaFooter_Plain;
|
footer?: YogaFooter_Plain;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: YogaCommon_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicesPage_NoRelations {
|
export interface ServicesPage_NoRelations {
|
||||||
@@ -57,6 +61,7 @@ export interface ServicesPage_NoRelations {
|
|||||||
subscribe?: number;
|
subscribe?: number;
|
||||||
footer?: number;
|
footer?: number;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface ServicesPage_AdminPanelLifeCycle {
|
export interface ServicesPage_AdminPanelLifeCycle {
|
||||||
@@ -71,4 +76,5 @@ export interface ServicesPage_AdminPanelLifeCycle {
|
|||||||
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
subscribe?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
|
||||||
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
|
||||||
title?: string;
|
title?: string;
|
||||||
|
common?: AdminPanelRelationPropertyModification<YogaCommon_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
30
yoga-cms/generated-strapi-interfaces/api/yoga-common.ts
Normal file
30
yoga-cms/generated-strapi-interfaces/api/yoga-common.ts
Normal file
@@ -0,0 +1,30 @@
|
|||||||
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
|
export interface YogaCommon {
|
||||||
|
id: number;
|
||||||
|
attributes: {
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: { data: Media };
|
||||||
|
name: string;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
export interface YogaCommon_Plain {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: Media_Plain;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface YogaCommon_NoRelations {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: number;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
|
|
||||||
|
export interface YogaCommon_AdminPanelLifeCycle {
|
||||||
|
id: number;
|
||||||
|
createdAt: Date; updatedAt: Date; publishedAt?: Date; logoImage?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
|
name: string;
|
||||||
|
}
|
||||||
@@ -1,8 +1,11 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
import { Link } from '../components/yoga-site/Link';
|
import { Link } from '../components/yoga-site/Link';
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
import { Link_Plain } from '../components/yoga-site/Link';
|
import { Link_Plain } from '../components/yoga-site/Link';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
import { Link_NoRelations } from '../components/yoga-site/Link';
|
import { Link_NoRelations } from '../components/yoga-site/Link';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaFooter {
|
export interface YogaFooter {
|
||||||
id: number;
|
id: number;
|
||||||
@@ -17,6 +20,7 @@ export interface YogaFooter {
|
|||||||
contactUsLocation?: Link;
|
contactUsLocation?: Link;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface YogaFooter_Plain {
|
export interface YogaFooter_Plain {
|
||||||
@@ -31,6 +35,7 @@ export interface YogaFooter_Plain {
|
|||||||
contactUsLocation?: Link_Plain;
|
contactUsLocation?: Link_Plain;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaFooter_NoRelations {
|
export interface YogaFooter_NoRelations {
|
||||||
@@ -45,6 +50,7 @@ export interface YogaFooter_NoRelations {
|
|||||||
contactUsLocation?: Link_NoRelations;
|
contactUsLocation?: Link_NoRelations;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaFooter_AdminPanelLifeCycle {
|
export interface YogaFooter_AdminPanelLifeCycle {
|
||||||
@@ -59,4 +65,5 @@ export interface YogaFooter_AdminPanelLifeCycle {
|
|||||||
contactUsLocation?: Link_Plain;
|
contactUsLocation?: Link_Plain;
|
||||||
copyRight?: string;
|
copyRight?: string;
|
||||||
name?: string;
|
name?: string;
|
||||||
|
logo?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,7 +1,9 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
import { YogaSingleSpeciality } from './yoga-single-speciality';
|
import { YogaSingleSpeciality } from './yoga-single-speciality';
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
|
import { YogaSingleSpeciality_Plain } from './yoga-single-speciality';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaSpecialitiesComponent {
|
export interface YogaSpecialitiesComponent {
|
||||||
@@ -19,6 +21,7 @@ export interface YogaSpecialitiesComponent {
|
|||||||
right2?: { data: YogaSingleSpeciality };
|
right2?: { data: YogaSingleSpeciality };
|
||||||
right3?: { data: YogaSingleSpeciality };
|
right3?: { data: YogaSingleSpeciality };
|
||||||
right4?: { data: YogaSingleSpeciality };
|
right4?: { data: YogaSingleSpeciality };
|
||||||
|
image?: { data: Media };
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: { data: YogaSpecialitiesComponent[] };
|
localizations?: { data: YogaSpecialitiesComponent[] };
|
||||||
};
|
};
|
||||||
@@ -37,6 +40,7 @@ export interface YogaSpecialitiesComponent_Plain {
|
|||||||
right2?: YogaSingleSpeciality_Plain;
|
right2?: YogaSingleSpeciality_Plain;
|
||||||
right3?: YogaSingleSpeciality_Plain;
|
right3?: YogaSingleSpeciality_Plain;
|
||||||
right4?: YogaSingleSpeciality_Plain;
|
right4?: YogaSingleSpeciality_Plain;
|
||||||
|
image?: Media_Plain;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent_Plain[];
|
localizations?: YogaSpecialitiesComponent_Plain[];
|
||||||
}
|
}
|
||||||
@@ -55,6 +59,7 @@ export interface YogaSpecialitiesComponent_NoRelations {
|
|||||||
right2?: number;
|
right2?: number;
|
||||||
right3?: number;
|
right3?: number;
|
||||||
right4?: number;
|
right4?: number;
|
||||||
|
image?: number;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent[];
|
localizations?: YogaSpecialitiesComponent[];
|
||||||
}
|
}
|
||||||
@@ -73,6 +78,7 @@ export interface YogaSpecialitiesComponent_AdminPanelLifeCycle {
|
|||||||
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right2?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right3?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
right4?: AdminPanelRelationPropertyModification<YogaSingleSpeciality_Plain>;
|
||||||
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
locale: string;
|
locale: string;
|
||||||
localizations?: YogaSpecialitiesComponent[];
|
localizations?: YogaSpecialitiesComponent[];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,9 @@
|
|||||||
// Interface automatically generated by schemas-to-ts
|
// Interface automatically generated by schemas-to-ts
|
||||||
|
|
||||||
|
import { Media } from '../components/shared/Media';
|
||||||
|
import { Media_Plain } from '../components/shared/Media';
|
||||||
|
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent {
|
export interface YogaSubscribeNowComponent {
|
||||||
id: number;
|
id: number;
|
||||||
attributes: {
|
attributes: {
|
||||||
@@ -7,6 +11,7 @@ export interface YogaSubscribeNowComponent {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: { data: Media };
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
export interface YogaSubscribeNowComponent_Plain {
|
export interface YogaSubscribeNowComponent_Plain {
|
||||||
@@ -15,6 +20,7 @@ export interface YogaSubscribeNowComponent_Plain {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: Media_Plain;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent_NoRelations {
|
export interface YogaSubscribeNowComponent_NoRelations {
|
||||||
@@ -23,6 +29,7 @@ export interface YogaSubscribeNowComponent_NoRelations {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
||||||
@@ -31,4 +38,5 @@ export interface YogaSubscribeNowComponent_AdminPanelLifeCycle {
|
|||||||
header?: string;
|
header?: string;
|
||||||
placeHolderEmail?: string;
|
placeHolderEmail?: string;
|
||||||
buttonSubscribeLabel?: string;
|
buttonSubscribeLabel?: string;
|
||||||
|
image?: AdminPanelRelationPropertyModification<Media_Plain>;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,6 +65,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-achivements-component.yoga-achivements-component"
|
"target": "api::yoga-achivements-component.yoga-achivements-component"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -37,6 +37,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-footer.yoga-footer"
|
"target": "api::yoga-footer.yoga-footer"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -42,6 +42,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-footer.yoga-footer"
|
"target": "api::yoga-footer.yoga-footer"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -20,7 +20,11 @@
|
|||||||
"type": "media",
|
"type": "media",
|
||||||
"multiple": false,
|
"multiple": false,
|
||||||
"required": false,
|
"required": false,
|
||||||
"allowedTypes": ["images", "files", "videos"]
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files",
|
||||||
|
"videos"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"siteDescription": {
|
"siteDescription": {
|
||||||
"type": "text",
|
"type": "text",
|
||||||
@@ -30,6 +34,17 @@
|
|||||||
"type": "component",
|
"type": "component",
|
||||||
"repeatable": false,
|
"repeatable": false,
|
||||||
"component": "shared.seo"
|
"component": "shared.seo"
|
||||||
|
},
|
||||||
|
"logoImage": {
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false,
|
||||||
|
"required": false,
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files",
|
||||||
|
"videos",
|
||||||
|
"audios"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,6 +65,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-main-header-component.yoga-main-header-component"
|
"target": "api::yoga-main-header-component.yoga-main-header-component"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"info": {
|
"info": {
|
||||||
"singularName": "prices-page",
|
"singularName": "prices-page",
|
||||||
"pluralName": "prices-pages",
|
"pluralName": "prices-pages",
|
||||||
"displayName": "PricesPage"
|
"displayName": "PricesPage",
|
||||||
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"draftAndPublish": true
|
"draftAndPublish": true
|
||||||
@@ -41,6 +42,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-footer.yoga-footer"
|
"target": "api::yoga-footer.yoga-footer"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,40 @@
|
|||||||
|
{
|
||||||
|
"kind": "singleType",
|
||||||
|
"collectionName": "service_list_pages",
|
||||||
|
"info": {
|
||||||
|
"singularName": "service-list-page",
|
||||||
|
"pluralName": "service-list-pages",
|
||||||
|
"displayName": "ServiceListPage"
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"draftAndPublish": true
|
||||||
|
},
|
||||||
|
"attributes": {
|
||||||
|
"header": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "text"
|
||||||
|
},
|
||||||
|
"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"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
|
},
|
||||||
|
"services": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToMany",
|
||||||
|
"target": "api::yoga-single-service.yoga-single-service"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* service-list-page controller
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi'
|
||||||
|
|
||||||
|
export default factories.createCoreController('api::service-list-page.service-list-page');
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* service-list-page router
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi';
|
||||||
|
|
||||||
|
export default factories.createCoreRouter('api::service-list-page.service-list-page');
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* service-list-page service
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi';
|
||||||
|
|
||||||
|
export default factories.createCoreService('api::service-list-page.service-list-page');
|
||||||
@@ -26,6 +26,11 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-footer.yoga-footer"
|
"target": "api::yoga-footer.yoga-footer"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
"info": {
|
"info": {
|
||||||
"singularName": "services-page",
|
"singularName": "services-page",
|
||||||
"pluralName": "services-pages",
|
"pluralName": "services-pages",
|
||||||
"displayName": "Services",
|
"displayName": "ServicesPage",
|
||||||
"description": ""
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
@@ -55,6 +55,11 @@
|
|||||||
},
|
},
|
||||||
"title": {
|
"title": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"common": {
|
||||||
|
"type": "relation",
|
||||||
|
"relation": "oneToOne",
|
||||||
|
"target": "api::yoga-common.yoga-common"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,30 @@
|
|||||||
|
{
|
||||||
|
"kind": "collectionType",
|
||||||
|
"collectionName": "yoga_commons",
|
||||||
|
"info": {
|
||||||
|
"singularName": "yoga-common",
|
||||||
|
"pluralName": "yoga-commons",
|
||||||
|
"displayName": "YogaCommon",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"options": {
|
||||||
|
"draftAndPublish": true
|
||||||
|
},
|
||||||
|
"attributes": {
|
||||||
|
"logoImage": {
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false,
|
||||||
|
"required": false,
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files",
|
||||||
|
"videos",
|
||||||
|
"audios"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string",
|
||||||
|
"required": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
7
yoga-cms/src/api/yoga-common/controllers/yoga-common.ts
Normal file
7
yoga-cms/src/api/yoga-common/controllers/yoga-common.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* yoga-common controller
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi'
|
||||||
|
|
||||||
|
export default factories.createCoreController('api::yoga-common.yoga-common');
|
||||||
7
yoga-cms/src/api/yoga-common/routes/yoga-common.ts
Normal file
7
yoga-cms/src/api/yoga-common/routes/yoga-common.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* yoga-common router
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi';
|
||||||
|
|
||||||
|
export default factories.createCoreRouter('api::yoga-common.yoga-common');
|
||||||
7
yoga-cms/src/api/yoga-common/services/yoga-common.ts
Normal file
7
yoga-cms/src/api/yoga-common/services/yoga-common.ts
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
/**
|
||||||
|
* yoga-common service
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { factories } from '@strapi/strapi';
|
||||||
|
|
||||||
|
export default factories.createCoreService('api::yoga-common.yoga-common');
|
||||||
@@ -50,6 +50,14 @@
|
|||||||
},
|
},
|
||||||
"name": {
|
"name": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"logo": {
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files"
|
||||||
|
],
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -87,6 +87,14 @@
|
|||||||
"type": "relation",
|
"type": "relation",
|
||||||
"relation": "oneToOne",
|
"relation": "oneToOne",
|
||||||
"target": "api::yoga-single-speciality.yoga-single-speciality"
|
"target": "api::yoga-single-speciality.yoga-single-speciality"
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files"
|
||||||
|
],
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,7 +4,8 @@
|
|||||||
"info": {
|
"info": {
|
||||||
"singularName": "yoga-subscribe-now-component",
|
"singularName": "yoga-subscribe-now-component",
|
||||||
"pluralName": "yoga-subscribe-now-components",
|
"pluralName": "yoga-subscribe-now-components",
|
||||||
"displayName": "YogaSubscribeNowComponent"
|
"displayName": "YogaSubscribeNowComponent",
|
||||||
|
"description": ""
|
||||||
},
|
},
|
||||||
"options": {
|
"options": {
|
||||||
"draftAndPublish": true
|
"draftAndPublish": true
|
||||||
@@ -22,6 +23,14 @@
|
|||||||
},
|
},
|
||||||
"buttonSubscribeLabel": {
|
"buttonSubscribeLabel": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
|
},
|
||||||
|
"image": {
|
||||||
|
"allowedTypes": [
|
||||||
|
"images",
|
||||||
|
"files"
|
||||||
|
],
|
||||||
|
"type": "media",
|
||||||
|
"multiple": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
114
yoga-cms/types/generated/contentTypes.d.ts
vendored
114
yoga-cms/types/generated/contentTypes.d.ts
vendored
@@ -402,6 +402,10 @@ export interface ApiAboutAbout extends Struct.SingleTypeSchema {
|
|||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||||
>;
|
>;
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
@@ -556,6 +560,10 @@ export interface ApiContactPageContactPage extends Struct.SingleTypeSchema {
|
|||||||
draftAndPublish: true;
|
draftAndPublish: true;
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
contactUs: Schema.Attribute.Relation<
|
contactUs: Schema.Attribute.Relation<
|
||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-contact-us.yoga-contact-us'
|
'api::yoga-contact-us.yoga-contact-us'
|
||||||
@@ -610,6 +618,10 @@ export interface ApiFaqPageFaqPage extends Struct.SingleTypeSchema {
|
|||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||||
>;
|
>;
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
@@ -663,6 +675,7 @@ export interface ApiGlobalGlobal extends Struct.SingleTypeSchema {
|
|||||||
'api::global.global'
|
'api::global.global'
|
||||||
> &
|
> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
|
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||||
publishedAt: Schema.Attribute.DateTime;
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
siteDescription: Schema.Attribute.Text & Schema.Attribute.Required;
|
siteDescription: Schema.Attribute.Text & Schema.Attribute.Required;
|
||||||
siteName: Schema.Attribute.String & Schema.Attribute.Required;
|
siteName: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
@@ -697,6 +710,10 @@ export interface ApiHomeHome extends Struct.SingleTypeSchema {
|
|||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||||
>;
|
>;
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
contactUs: Schema.Attribute.Relation<
|
contactUs: Schema.Attribute.Relation<
|
||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-contact-us.yoga-contact-us'
|
'api::yoga-contact-us.yoga-contact-us'
|
||||||
@@ -803,6 +820,7 @@ export interface ApiPersonPerson extends Struct.SingleTypeSchema {
|
|||||||
export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
|
export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
|
||||||
collectionName: 'prices_pages';
|
collectionName: 'prices_pages';
|
||||||
info: {
|
info: {
|
||||||
|
description: '';
|
||||||
displayName: 'PricesPage';
|
displayName: 'PricesPage';
|
||||||
pluralName: 'prices-pages';
|
pluralName: 'prices-pages';
|
||||||
singularName: 'prices-page';
|
singularName: 'prices-page';
|
||||||
@@ -815,6 +833,10 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
|
|||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||||
>;
|
>;
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
@@ -849,6 +871,52 @@ export interface ApiPricesPagePricesPage extends Struct.SingleTypeSchema {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ApiServiceListPageServiceListPage
|
||||||
|
extends Struct.SingleTypeSchema {
|
||||||
|
collectionName: 'service_list_pages';
|
||||||
|
info: {
|
||||||
|
displayName: 'ServiceListPage';
|
||||||
|
pluralName: 'service-list-pages';
|
||||||
|
singularName: 'service-list-page';
|
||||||
|
};
|
||||||
|
options: {
|
||||||
|
draftAndPublish: true;
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
|
createdAt: Schema.Attribute.DateTime;
|
||||||
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
description: Schema.Attribute.Text;
|
||||||
|
footer: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-footer.yoga-footer'
|
||||||
|
>;
|
||||||
|
header: Schema.Attribute.String;
|
||||||
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
|
localizations: Schema.Attribute.Relation<
|
||||||
|
'oneToMany',
|
||||||
|
'api::service-list-page.service-list-page'
|
||||||
|
> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
|
services: Schema.Attribute.Relation<
|
||||||
|
'oneToMany',
|
||||||
|
'api::yoga-single-service.yoga-single-service'
|
||||||
|
>;
|
||||||
|
subscribeNow: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-subscribe-now-component.yoga-subscribe-now-component'
|
||||||
|
>;
|
||||||
|
updatedAt: Schema.Attribute.DateTime;
|
||||||
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
|
export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
|
||||||
collectionName: 'service_pages';
|
collectionName: 'service_pages';
|
||||||
info: {
|
info: {
|
||||||
@@ -861,6 +929,10 @@ export interface ApiServicePageServicePage extends Struct.SingleTypeSchema {
|
|||||||
draftAndPublish: true;
|
draftAndPublish: true;
|
||||||
};
|
};
|
||||||
attributes: {
|
attributes: {
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
createdAt: Schema.Attribute.DateTime;
|
createdAt: Schema.Attribute.DateTime;
|
||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
@@ -891,7 +963,7 @@ export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
|
|||||||
collectionName: 'services_pages';
|
collectionName: 'services_pages';
|
||||||
info: {
|
info: {
|
||||||
description: '';
|
description: '';
|
||||||
displayName: 'Services';
|
displayName: 'ServicesPage';
|
||||||
pluralName: 'services-pages';
|
pluralName: 'services-pages';
|
||||||
singularName: 'services-page';
|
singularName: 'services-page';
|
||||||
};
|
};
|
||||||
@@ -903,6 +975,10 @@ export interface ApiServicesPageServicesPage extends Struct.SingleTypeSchema {
|
|||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
'api::yoga-blog-posts-component.yoga-blog-posts-component'
|
||||||
>;
|
>;
|
||||||
|
common: Schema.Attribute.Relation<
|
||||||
|
'oneToOne',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
>;
|
||||||
contactUs: Schema.Attribute.Relation<
|
contactUs: Schema.Attribute.Relation<
|
||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-contact-us.yoga-contact-us'
|
'api::yoga-contact-us.yoga-contact-us'
|
||||||
@@ -1208,6 +1284,36 @@ export interface ApiYogaBlogPostsComponentYogaBlogPostsComponent
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export interface ApiYogaCommonYogaCommon extends Struct.CollectionTypeSchema {
|
||||||
|
collectionName: 'yoga_commons';
|
||||||
|
info: {
|
||||||
|
description: '';
|
||||||
|
displayName: 'YogaCommon';
|
||||||
|
pluralName: 'yoga-commons';
|
||||||
|
singularName: 'yoga-common';
|
||||||
|
};
|
||||||
|
options: {
|
||||||
|
draftAndPublish: true;
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
createdAt: Schema.Attribute.DateTime;
|
||||||
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
|
localizations: Schema.Attribute.Relation<
|
||||||
|
'oneToMany',
|
||||||
|
'api::yoga-common.yoga-common'
|
||||||
|
> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
logoImage: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
|
||||||
|
name: Schema.Attribute.String & Schema.Attribute.Required;
|
||||||
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
|
updatedAt: Schema.Attribute.DateTime;
|
||||||
|
updatedBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
|
Schema.Attribute.Private;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
export interface ApiYogaContactUsYogaContactUs
|
export interface ApiYogaContactUsYogaContactUs
|
||||||
extends Struct.CollectionTypeSchema {
|
extends Struct.CollectionTypeSchema {
|
||||||
collectionName: 'yoga_contact_uses';
|
collectionName: 'yoga_contact_uses';
|
||||||
@@ -1487,6 +1593,7 @@ export interface ApiYogaFooterYogaFooter extends Struct.CollectionTypeSchema {
|
|||||||
'api::yoga-footer.yoga-footer'
|
'api::yoga-footer.yoga-footer'
|
||||||
> &
|
> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
|
logo: Schema.Attribute.Media<'images' | 'files'>;
|
||||||
name: Schema.Attribute.String;
|
name: Schema.Attribute.String;
|
||||||
publishedAt: Schema.Attribute.DateTime;
|
publishedAt: Schema.Attribute.DateTime;
|
||||||
quickLinksHeader: Schema.Attribute.String;
|
quickLinksHeader: Schema.Attribute.String;
|
||||||
@@ -1870,6 +1977,7 @@ export interface ApiYogaSpecialitiesComponentYogaSpecialitiesComponent
|
|||||||
localized: true;
|
localized: true;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
image: Schema.Attribute.Media<'images' | 'files'>;
|
||||||
left1: Schema.Attribute.Relation<
|
left1: Schema.Attribute.Relation<
|
||||||
'oneToOne',
|
'oneToOne',
|
||||||
'api::yoga-single-speciality.yoga-single-speciality'
|
'api::yoga-single-speciality.yoga-single-speciality'
|
||||||
@@ -1930,6 +2038,7 @@ export interface ApiYogaSubscribeNowComponentYogaSubscribeNowComponent
|
|||||||
extends Struct.CollectionTypeSchema {
|
extends Struct.CollectionTypeSchema {
|
||||||
collectionName: 'yoga_subscribe_now_components';
|
collectionName: 'yoga_subscribe_now_components';
|
||||||
info: {
|
info: {
|
||||||
|
description: '';
|
||||||
displayName: 'YogaSubscribeNowComponent';
|
displayName: 'YogaSubscribeNowComponent';
|
||||||
pluralName: 'yoga-subscribe-now-components';
|
pluralName: 'yoga-subscribe-now-components';
|
||||||
singularName: 'yoga-subscribe-now-component';
|
singularName: 'yoga-subscribe-now-component';
|
||||||
@@ -1943,6 +2052,7 @@ export interface ApiYogaSubscribeNowComponentYogaSubscribeNowComponent
|
|||||||
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
createdBy: Schema.Attribute.Relation<'oneToOne', 'admin::user'> &
|
||||||
Schema.Attribute.Private;
|
Schema.Attribute.Private;
|
||||||
header: Schema.Attribute.String;
|
header: Schema.Attribute.String;
|
||||||
|
image: Schema.Attribute.Media<'images' | 'files'>;
|
||||||
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
locale: Schema.Attribute.String & Schema.Attribute.Private;
|
||||||
localizations: Schema.Attribute.Relation<
|
localizations: Schema.Attribute.Relation<
|
||||||
'oneToMany',
|
'oneToMany',
|
||||||
@@ -2544,6 +2654,7 @@ declare module '@strapi/strapi' {
|
|||||||
'api::page.page': ApiPagePage;
|
'api::page.page': ApiPagePage;
|
||||||
'api::person.person': ApiPersonPerson;
|
'api::person.person': ApiPersonPerson;
|
||||||
'api::prices-page.prices-page': ApiPricesPagePricesPage;
|
'api::prices-page.prices-page': ApiPricesPagePricesPage;
|
||||||
|
'api::service-list-page.service-list-page': ApiServiceListPageServiceListPage;
|
||||||
'api::service-page.service-page': ApiServicePageServicePage;
|
'api::service-page.service-page': ApiServicePageServicePage;
|
||||||
'api::services-page.services-page': ApiServicesPageServicesPage;
|
'api::services-page.services-page': ApiServicesPageServicesPage;
|
||||||
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
|
'api::yoga-about-us-component.yoga-about-us-component': ApiYogaAboutUsComponentYogaAboutUsComponent;
|
||||||
@@ -2552,6 +2663,7 @@ declare module '@strapi/strapi' {
|
|||||||
'api::yoga-achivements-component.yoga-achivements-component': ApiYogaAchivementsComponentYogaAchivementsComponent;
|
'api::yoga-achivements-component.yoga-achivements-component': ApiYogaAchivementsComponentYogaAchivementsComponent;
|
||||||
'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost;
|
'api::yoga-blog-post.yoga-blog-post': ApiYogaBlogPostYogaBlogPost;
|
||||||
'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent;
|
'api::yoga-blog-posts-component.yoga-blog-posts-component': ApiYogaBlogPostsComponentYogaBlogPostsComponent;
|
||||||
|
'api::yoga-common.yoga-common': ApiYogaCommonYogaCommon;
|
||||||
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
|
'api::yoga-contact-us.yoga-contact-us': ApiYogaContactUsYogaContactUs;
|
||||||
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
|
'api::yoga-customer-feedback-component.yoga-customer-feedback-component': ApiYogaCustomerFeedbackComponentYogaCustomerFeedbackComponent;
|
||||||
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;
|
'api::yoga-customer-feedback.yoga-customer-feedback': ApiYogaCustomerFeedbackYogaCustomerFeedback;
|
||||||
|
|||||||
Reference in New Issue
Block a user