diff --git a/yoga-app/src/app/services/[slug]/page.tsx b/yoga-app/src/app/services/[slug]/page.tsx new file mode 100644 index 0000000..db111e9 --- /dev/null +++ b/yoga-app/src/app/services/[slug]/page.tsx @@ -0,0 +1,6 @@ + +export default async function ServiceDetails() { + return ( +

hello

+ ) +} diff --git a/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts b/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts index bcfab73..d09adba 100644 --- a/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts +++ b/yoga-cms/generated-strapi-interfaces/api/yoga-single-service.ts @@ -13,6 +13,7 @@ export interface YogaSingleService { image?: { data: Media }; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: { data: YogaSingleService[] }; }; @@ -25,6 +26,7 @@ export interface YogaSingleService_Plain { image?: Media_Plain; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService_Plain[]; } @@ -37,6 +39,7 @@ export interface YogaSingleService_NoRelations { image?: number; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService[]; } @@ -49,6 +52,7 @@ export interface YogaSingleService_AdminPanelLifeCycle { image?: AdminPanelRelationPropertyModification; imageAlt?: string; name?: string; + article?: string; locale: string; localizations?: YogaSingleService[]; } diff --git a/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json b/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json index 7d7f947..f64b0ca 100644 --- a/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json +++ b/yoga-cms/src/api/yoga-single-service/content-types/yoga-single-service/schema.json @@ -4,7 +4,8 @@ "info": { "singularName": "yoga-single-service", "pluralName": "yoga-single-services", - "displayName": "YogaSingleService" + "displayName": "YogaSingleService", + "description": "" }, "options": { "draftAndPublish": true @@ -40,14 +41,15 @@ "type": "string" }, "image": { + "type": "media", + "multiple": false, + "required": false, "allowedTypes": [ "images", "files", "videos", "audios" ], - "type": "media", - "multiple": false, "pluginOptions": { "i18n": { "localized": true @@ -69,6 +71,9 @@ } }, "type": "string" + }, + "article": { + "type": "richtext" } } } diff --git a/yoga-cms/types/generated/contentTypes.d.ts b/yoga-cms/types/generated/contentTypes.d.ts index e8a1138..c927640 100644 --- a/yoga-cms/types/generated/contentTypes.d.ts +++ b/yoga-cms/types/generated/contentTypes.d.ts @@ -1677,6 +1677,7 @@ export interface ApiYogaSingleServiceYogaSingleService extends Struct.CollectionTypeSchema { collectionName: 'yoga_single_services'; info: { + description: ''; displayName: 'YogaSingleService'; pluralName: 'yoga-single-services'; singularName: 'yoga-single-service'; @@ -1690,6 +1691,7 @@ export interface ApiYogaSingleServiceYogaSingleService }; }; attributes: { + article: Schema.Attribute.RichText; buttonLink: Schema.Attribute.String & Schema.Attribute.SetPluginOptions<{ i18n: {