Compare commits
1 Commits
main
...
feature/yo
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56dda3233a |
6
yoga-app/src/app/services/[slug]/page.tsx
Normal file
6
yoga-app/src/app/services/[slug]/page.tsx
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
export default async function ServiceDetails() {
|
||||
return (
|
||||
<h1>hello </h1>
|
||||
)
|
||||
}
|
||||
@ -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<Media_Plain>;
|
||||
imageAlt?: string;
|
||||
name?: string;
|
||||
article?: string;
|
||||
locale: string;
|
||||
localizations?: YogaSingleService[];
|
||||
}
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
2
yoga-cms/types/generated/contentTypes.d.ts
vendored
2
yoga-cms/types/generated/contentTypes.d.ts
vendored
@ -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: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user