home and about page

This commit is contained in:
Schneider Roland
2025-01-26 11:06:15 +01:00
parent 86dda89db9
commit 04c436cb34
76 changed files with 2036 additions and 176 deletions

View File

@@ -1,25 +1,21 @@
// Interface automatically generated by schemas-to-ts
import { HeaderB } from '../components/yoga-site/HeaderB';
import { YogaContactUs } from './yoga-contact-us';
import { YogaPriceComponent } from './yoga-price-component';
import { YogaSpecialitiesComponent } from './yoga-specialities-component';
import { YogaAboutUsComponent } from './yoga-about-us-component';
import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-component';
import { YogaOurServicesComponent } from './yoga-our-services-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer';
import { YogaAboutUsWithBoxesComponent } from './yoga-about-us-with-boxes-component';
import { YogaDiscountComponent } from './yoga-discount-component';
import { YogaTextWithImageComponent } from './yoga-text-with-image-component';
import { YogaAchivementsComponent } from './yoga-achivements-component';
import { HeaderB_Plain } from '../components/yoga-site/HeaderB';
import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaPriceComponent_Plain } from './yoga-price-component';
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-component';
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer';
import { YogaAboutUsWithBoxesComponent_Plain } from './yoga-about-us-with-boxes-component';
import { YogaDiscountComponent_Plain } from './yoga-discount-component';
import { YogaTextWithImageComponent_Plain } from './yoga-text-with-image-component';
import { YogaAchivementsComponent_Plain } from './yoga-achivements-component';
import { HeaderB_NoRelations } from '../components/yoga-site/HeaderB';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
@@ -27,15 +23,14 @@ export interface About {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB;
contactUs?: { data: YogaContactUs };
prices?: { data: YogaPriceComponent };
ourSpecialities?: { data: YogaSpecialitiesComponent };
aboutUs?: { data: YogaAboutUsComponent };
feedbacks?: { data: YogaCustomerFeedbackComponent };
ourServices?: { data: YogaOurServicesComponent };
blogs?: { data: YogaBlogPostsComponent };
subscribeNow?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter };
aboutUs?: { data: YogaAboutUsWithBoxesComponent };
discount?: { data: YogaDiscountComponent };
ourMission?: { data: YogaTextWithImageComponent };
ourVision?: { data: YogaTextWithImageComponent };
achievements?: { data: YogaAchivementsComponent };
locale: string;
localizations?: { data: About[] };
};
@@ -43,15 +38,14 @@ export interface About {
export interface About_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
contactUs?: YogaContactUs_Plain;
prices?: YogaPriceComponent_Plain;
ourSpecialities?: YogaSpecialitiesComponent_Plain;
aboutUs?: YogaAboutUsComponent_Plain;
feedbacks?: YogaCustomerFeedbackComponent_Plain;
ourServices?: YogaOurServicesComponent_Plain;
blogs?: YogaBlogPostsComponent_Plain;
subscribeNow?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain;
aboutUs?: YogaAboutUsWithBoxesComponent_Plain;
discount?: YogaDiscountComponent_Plain;
ourMission?: YogaTextWithImageComponent_Plain;
ourVision?: YogaTextWithImageComponent_Plain;
achievements?: YogaAchivementsComponent_Plain;
locale: string;
localizations?: About_Plain[];
}
@@ -59,15 +53,14 @@ export interface About_Plain {
export interface About_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_NoRelations;
contactUs?: number;
prices?: number;
ourSpecialities?: number;
aboutUs?: number;
feedbacks?: number;
ourServices?: number;
blogs?: number;
subscribeNow?: number;
footer?: number;
aboutUs?: number;
discount?: number;
ourMission?: number;
ourVision?: number;
achievements?: number;
locale: string;
localizations?: About[];
}
@@ -75,15 +68,14 @@ export interface About_NoRelations {
export interface About_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: HeaderB_Plain;
contactUs?: AdminPanelRelationPropertyModification<YogaContactUs_Plain>;
prices?: AdminPanelRelationPropertyModification<YogaPriceComponent_Plain>;
ourSpecialities?: AdminPanelRelationPropertyModification<YogaSpecialitiesComponent_Plain>;
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsWithBoxesComponent_Plain>;
discount?: AdminPanelRelationPropertyModification<YogaDiscountComponent_Plain>;
ourMission?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
ourVision?: AdminPanelRelationPropertyModification<YogaTextWithImageComponent_Plain>;
achievements?: AdminPanelRelationPropertyModification<YogaAchivementsComponent_Plain>;
locale: string;
localizations?: About[];
}

View File

@@ -0,0 +1,88 @@
// Interface automatically generated by schemas-to-ts
import { YogaOurServicesComponent } from './yoga-our-services-component';
import { YogaAboutUsComponent } from './yoga-about-us-component';
import { YogaSpecialitiesComponent } from './yoga-specialities-component';
import { YogaContactUs } from './yoga-contact-us';
import { YogaPriceComponent } from './yoga-price-component';
import { YogaCustomerFeedbackComponent } from './yoga-customer-feedback-component';
import { YogaBlogPostsComponent } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent } from './yoga-subscribe-now-component';
import { YogaFooter } from './yoga-footer';
import { YogaMainHeaderComponent } from './yoga-main-header-component';
import { YogaOurServicesComponent_Plain } from './yoga-our-services-component';
import { YogaAboutUsComponent_Plain } from './yoga-about-us-component';
import { YogaSpecialitiesComponent_Plain } from './yoga-specialities-component';
import { YogaContactUs_Plain } from './yoga-contact-us';
import { YogaPriceComponent_Plain } from './yoga-price-component';
import { YogaCustomerFeedbackComponent_Plain } from './yoga-customer-feedback-component';
import { YogaBlogPostsComponent_Plain } from './yoga-blog-posts-component';
import { YogaSubscribeNowComponent_Plain } from './yoga-subscribe-now-component';
import { YogaFooter_Plain } from './yoga-footer';
import { YogaMainHeaderComponent_Plain } from './yoga-main-header-component';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface Home {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: { data: YogaOurServicesComponent };
aboutUs?: { data: YogaAboutUsComponent };
ourSpecialities?: { data: YogaSpecialitiesComponent };
contactUs?: { data: YogaContactUs };
prices?: { data: YogaPriceComponent };
feedbacks?: { data: YogaCustomerFeedbackComponent };
blogs?: { data: YogaBlogPostsComponent };
subscribeNow?: { data: YogaSubscribeNowComponent };
footer?: { data: YogaFooter };
header?: { data: YogaMainHeaderComponent };
locale: string;
localizations?: { data: Home[] };
};
}
export interface Home_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: YogaOurServicesComponent_Plain;
aboutUs?: YogaAboutUsComponent_Plain;
ourSpecialities?: YogaSpecialitiesComponent_Plain;
contactUs?: YogaContactUs_Plain;
prices?: YogaPriceComponent_Plain;
feedbacks?: YogaCustomerFeedbackComponent_Plain;
blogs?: YogaBlogPostsComponent_Plain;
subscribeNow?: YogaSubscribeNowComponent_Plain;
footer?: YogaFooter_Plain;
header?: YogaMainHeaderComponent_Plain;
locale: string;
localizations?: Home_Plain[];
}
export interface Home_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: number;
aboutUs?: number;
ourSpecialities?: number;
contactUs?: number;
prices?: number;
feedbacks?: number;
blogs?: number;
subscribeNow?: number;
footer?: number;
header?: number;
locale: string;
localizations?: Home[];
}
export interface Home_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; ourServices?: AdminPanelRelationPropertyModification<YogaOurServicesComponent_Plain>;
aboutUs?: AdminPanelRelationPropertyModification<YogaAboutUsComponent_Plain>;
ourSpecialities?: AdminPanelRelationPropertyModification<YogaSpecialitiesComponent_Plain>;
contactUs?: AdminPanelRelationPropertyModification<YogaContactUs_Plain>;
prices?: AdminPanelRelationPropertyModification<YogaPriceComponent_Plain>;
feedbacks?: AdminPanelRelationPropertyModification<YogaCustomerFeedbackComponent_Plain>;
blogs?: AdminPanelRelationPropertyModification<YogaBlogPostsComponent_Plain>;
subscribeNow?: AdminPanelRelationPropertyModification<YogaSubscribeNowComponent_Plain>;
footer?: AdminPanelRelationPropertyModification<YogaFooter_Plain>;
header?: AdminPanelRelationPropertyModification<YogaMainHeaderComponent_Plain>;
locale: string;
localizations?: Home[];
}

View File

@@ -0,0 +1,54 @@
// 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 YogaAboutUsWithBoxesComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
title?: string;
description?: string;
box1?: string;
box2?: string;
box3?: string;
box4?: string;
image?: { data: Media };
};
}
export interface YogaAboutUsWithBoxesComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
title?: string;
description?: string;
box1?: string;
box2?: string;
box3?: string;
box4?: string;
image?: Media_Plain;
}
export interface YogaAboutUsWithBoxesComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
title?: string;
description?: string;
box1?: string;
box2?: string;
box3?: string;
box4?: string;
image?: number;
}
export interface YogaAboutUsWithBoxesComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; header?: string;
title?: string;
description?: string;
box1?: string;
box2?: string;
box3?: string;
box4?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
}

View File

@@ -0,0 +1,34 @@
// 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 YogaAchivement {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: { data: Media };
name?: string;
};
}
export interface YogaAchivement_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: Media_Plain;
name?: string;
}
export interface YogaAchivement_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: number;
name?: string;
}
export interface YogaAchivement_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
name?: string;
}

View File

@@ -0,0 +1,42 @@
// Interface automatically generated by schemas-to-ts
import { YogaAchivement } from './yoga-achivement';
import { YogaAchivement_Plain } from './yoga-achivement';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaAchivementsComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
achievements: { data: YogaAchivement[] };
};
}
export interface YogaAchivementsComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
achievements: YogaAchivement_Plain[];
}
export interface YogaAchivementsComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
achievements: number[];
}
export interface YogaAchivementsComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
description?: string;
name?: string;
achievements: AdminPanelRelationPropertyModification<YogaAchivement_Plain>;
}

View File

@@ -0,0 +1,46 @@
// Interface automatically generated by schemas-to-ts
import { Button } from '../components/yoga-site/Button';
import { Button_Plain } from '../components/yoga-site/Button';
import { Button_NoRelations } from '../components/yoga-site/Button';
export interface YogaDiscountComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
headerDiscount?: string;
headerPart2?: string;
description?: string;
button: Button;
name?: string;
};
}
export interface YogaDiscountComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
headerDiscount?: string;
headerPart2?: string;
description?: string;
button: Button_Plain;
name?: string;
}
export interface YogaDiscountComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
headerDiscount?: string;
headerPart2?: string;
description?: string;
button: Button_NoRelations;
name?: string;
}
export interface YogaDiscountComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; headerPart1?: string;
headerDiscount?: string;
headerPart2?: string;
description?: string;
button: Button_Plain;
name?: string;
}

View File

@@ -0,0 +1,49 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Button } from '../components/yoga-site/Button';
import { Media_Plain } from '../components/shared/Media';
import { Button_Plain } from '../components/yoga-site/Button';
import { Button_NoRelations } from '../components/yoga-site/Button';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export interface YogaMainHeaderComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
headerIType?: string;
description?: string;
image?: { data: Media };
button: Button;
};
}
export interface YogaMainHeaderComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
headerIType?: string;
description?: string;
image?: Media_Plain;
button: Button_Plain;
}
export interface YogaMainHeaderComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
headerIType?: string;
description?: string;
image?: number;
button: Button_NoRelations;
}
export interface YogaMainHeaderComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; title?: string;
header?: string;
headerIType?: string;
description?: string;
image?: AdminPanelRelationPropertyModification<Media_Plain>;
button: Button_Plain;
}

View File

@@ -0,0 +1,57 @@
// Interface automatically generated by schemas-to-ts
import { Media } from '../components/shared/Media';
import { Button } from '../components/yoga-site/Button';
import { Media_Plain } from '../components/shared/Media';
import { Button_Plain } from '../components/yoga-site/Button';
import { Button_NoRelations } from '../components/yoga-site/Button';
import { AdminPanelRelationPropertyModification } from '../common/AdminPanelRelationPropertyModification';
export enum ImagePosition {
Left = 'Left',
Right = 'Right',}
export interface YogaTextWithImageComponent {
id: number;
attributes: {
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
imagePosition?: ImagePosition;
title?: string;
header?: string;
description?: string;
image: { data: Media };
button: Button;
};
}
export interface YogaTextWithImageComponent_Plain {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
imagePosition?: ImagePosition;
title?: string;
header?: string;
description?: string;
image: Media_Plain;
button: Button_Plain;
}
export interface YogaTextWithImageComponent_NoRelations {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
imagePosition?: ImagePosition;
title?: string;
header?: string;
description?: string;
image: number;
button: Button_NoRelations;
}
export interface YogaTextWithImageComponent_AdminPanelLifeCycle {
id: number;
createdAt: Date; updatedAt: Date; publishedAt?: Date; name: string;
imagePosition?: ImagePosition;
title?: string;
header?: string;
description?: string;
image: AdminPanelRelationPropertyModification<Media_Plain>;
button: Button_Plain;
}