Updated the About page
This commit is contained in:
@@ -47,6 +47,17 @@
|
||||
}
|
||||
},
|
||||
"component": "about-page.5-texts"
|
||||
},
|
||||
"CEOMessage": {
|
||||
"displayName": "CEO Message",
|
||||
"type": "component",
|
||||
"repeatable": false,
|
||||
"pluginOptions": {
|
||||
"i18n": {
|
||||
"localized": true
|
||||
}
|
||||
},
|
||||
"component": "about-page.ceo-message"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
18
src/components/about-page/ceo-message.json
Normal file
18
src/components/about-page/ceo-message.json
Normal file
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"collectionName": "components_about_page_ceo_messages",
|
||||
"info": {
|
||||
"displayName": "CEO Message"
|
||||
},
|
||||
"options": {},
|
||||
"attributes": {
|
||||
"Title": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"Text": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -14,7 +14,7 @@
|
||||
"name": "Apache 2.0",
|
||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
||||
},
|
||||
"x-generation-date": "2024-03-14T00:18:58.238Z"
|
||||
"x-generation-date": "2024-03-14T00:31:39.277Z"
|
||||
},
|
||||
"x-strapi-config": {
|
||||
"path": "/documentation",
|
||||
@@ -101,6 +101,9 @@
|
||||
"MissionVisionValuesSection": {
|
||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||
},
|
||||
"CEOMessage": {
|
||||
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||
},
|
||||
"locale": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -124,6 +127,9 @@
|
||||
"MissionVisionValuesSection": {
|
||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||
},
|
||||
"CEOMessage": {
|
||||
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||
},
|
||||
"locale": {
|
||||
"type": "string"
|
||||
}
|
||||
@@ -257,6 +263,9 @@
|
||||
"MissionVisionValuesSection": {
|
||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||
},
|
||||
"CEOMessage": {
|
||||
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "date-time"
|
||||
@@ -638,6 +647,23 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"AboutPageCeoMessageComponent": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "number"
|
||||
},
|
||||
"Title": {
|
||||
"type": "string"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"Text": {
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
},
|
||||
"HomeLocalizationRequest": {
|
||||
"required": [
|
||||
"locale"
|
||||
|
||||
13
types/generated/components.d.ts
vendored
13
types/generated/components.d.ts
vendored
@@ -13,6 +13,18 @@ export interface AboutPage5Texts extends Schema.Component {
|
||||
};
|
||||
}
|
||||
|
||||
export interface AboutPageCeoMessage extends Schema.Component {
|
||||
collectionName: 'components_about_page_ceo_messages';
|
||||
info: {
|
||||
displayName: 'CEO Message';
|
||||
};
|
||||
attributes: {
|
||||
Title: Attribute.String;
|
||||
name: Attribute.String;
|
||||
Text: Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
export interface SectionTitleWithText extends Schema.Component {
|
||||
collectionName: 'components_section_title_with_texts';
|
||||
info: {
|
||||
@@ -41,6 +53,7 @@ declare module '@strapi/types' {
|
||||
export module Shared {
|
||||
export interface Components {
|
||||
'about-page.5-texts': AboutPage5Texts;
|
||||
'about-page.ceo-message': AboutPageCeoMessage;
|
||||
'section.title-with-text': SectionTitleWithText;
|
||||
'title.title-with-tag': TitleTitleWithTag;
|
||||
}
|
||||
|
||||
6
types/generated/contentTypes.d.ts
vendored
6
types/generated/contentTypes.d.ts
vendored
@@ -397,6 +397,12 @@ export interface ApiAboutAbout extends Schema.SingleType {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
CEOMessage: Attribute.Component<'about-page.ceo-message'> &
|
||||
Attribute.SetPluginOptions<{
|
||||
i18n: {
|
||||
localized: true;
|
||||
};
|
||||
}>;
|
||||
createdAt: Attribute.DateTime;
|
||||
updatedAt: Attribute.DateTime;
|
||||
publishedAt: Attribute.DateTime;
|
||||
|
||||
Reference in New Issue
Block a user