Updated the About page
This commit is contained in:
@@ -47,6 +47,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"component": "about-page.5-texts"
|
"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",
|
"name": "Apache 2.0",
|
||||||
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
|
"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": {
|
"x-strapi-config": {
|
||||||
"path": "/documentation",
|
"path": "/documentation",
|
||||||
@@ -101,6 +101,9 @@
|
|||||||
"MissionVisionValuesSection": {
|
"MissionVisionValuesSection": {
|
||||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
},
|
},
|
||||||
|
"CEOMessage": {
|
||||||
|
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||||
|
},
|
||||||
"locale": {
|
"locale": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -124,6 +127,9 @@
|
|||||||
"MissionVisionValuesSection": {
|
"MissionVisionValuesSection": {
|
||||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
},
|
},
|
||||||
|
"CEOMessage": {
|
||||||
|
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||||
|
},
|
||||||
"locale": {
|
"locale": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -257,6 +263,9 @@
|
|||||||
"MissionVisionValuesSection": {
|
"MissionVisionValuesSection": {
|
||||||
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
},
|
},
|
||||||
|
"CEOMessage": {
|
||||||
|
"$ref": "#/components/schemas/AboutPageCeoMessageComponent"
|
||||||
|
},
|
||||||
"createdAt": {
|
"createdAt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date-time"
|
||||||
@@ -638,6 +647,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AboutPageCeoMessageComponent": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"Title": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"name": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Text": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"HomeLocalizationRequest": {
|
"HomeLocalizationRequest": {
|
||||||
"required": [
|
"required": [
|
||||||
"locale"
|
"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 {
|
export interface SectionTitleWithText extends Schema.Component {
|
||||||
collectionName: 'components_section_title_with_texts';
|
collectionName: 'components_section_title_with_texts';
|
||||||
info: {
|
info: {
|
||||||
@@ -41,6 +53,7 @@ declare module '@strapi/types' {
|
|||||||
export module Shared {
|
export module Shared {
|
||||||
export interface Components {
|
export interface Components {
|
||||||
'about-page.5-texts': AboutPage5Texts;
|
'about-page.5-texts': AboutPage5Texts;
|
||||||
|
'about-page.ceo-message': AboutPageCeoMessage;
|
||||||
'section.title-with-text': SectionTitleWithText;
|
'section.title-with-text': SectionTitleWithText;
|
||||||
'title.title-with-tag': TitleTitleWithTag;
|
'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;
|
localized: true;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
CEOMessage: Attribute.Component<'about-page.ceo-message'> &
|
||||||
|
Attribute.SetPluginOptions<{
|
||||||
|
i18n: {
|
||||||
|
localized: true;
|
||||||
|
};
|
||||||
|
}>;
|
||||||
createdAt: Attribute.DateTime;
|
createdAt: Attribute.DateTime;
|
||||||
updatedAt: Attribute.DateTime;
|
updatedAt: Attribute.DateTime;
|
||||||
publishedAt: Attribute.DateTime;
|
publishedAt: Attribute.DateTime;
|
||||||
|
|||||||
Reference in New Issue
Block a user