Updated the About page
This commit is contained in:
@@ -36,6 +36,17 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"component": "section.title-with-text"
|
"component": "section.title-with-text"
|
||||||
|
},
|
||||||
|
"MissionVisionValuesSection": {
|
||||||
|
"displayName": "5 Texts",
|
||||||
|
"type": "component",
|
||||||
|
"repeatable": false,
|
||||||
|
"pluginOptions": {
|
||||||
|
"i18n": {
|
||||||
|
"localized": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"component": "about-page.5-texts"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
19
src/components/about-page/5-texts.json
Normal file
19
src/components/about-page/5-texts.json
Normal file
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"collectionName": "components_section_5_texts",
|
||||||
|
"info": {
|
||||||
|
"displayName": "Mission, Vision and Values",
|
||||||
|
"description": ""
|
||||||
|
},
|
||||||
|
"options": {},
|
||||||
|
"attributes": {
|
||||||
|
"Mission": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Vision": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Values": {
|
||||||
|
"type": "richtext"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -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-13T23:19:31.710Z"
|
"x-generation-date": "2024-03-14T00:18:58.238Z"
|
||||||
},
|
},
|
||||||
"x-strapi-config": {
|
"x-strapi-config": {
|
||||||
"path": "/documentation",
|
"path": "/documentation",
|
||||||
@@ -98,6 +98,9 @@
|
|||||||
"AboutSection": {
|
"AboutSection": {
|
||||||
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
||||||
},
|
},
|
||||||
|
"MissionVisionValuesSection": {
|
||||||
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
|
},
|
||||||
"locale": {
|
"locale": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -118,6 +121,9 @@
|
|||||||
"AboutSection": {
|
"AboutSection": {
|
||||||
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
||||||
},
|
},
|
||||||
|
"MissionVisionValuesSection": {
|
||||||
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
|
},
|
||||||
"locale": {
|
"locale": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
}
|
}
|
||||||
@@ -248,6 +254,9 @@
|
|||||||
"AboutSection": {
|
"AboutSection": {
|
||||||
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
"$ref": "#/components/schemas/SectionTitleWithTextComponent"
|
||||||
},
|
},
|
||||||
|
"MissionVisionValuesSection": {
|
||||||
|
"$ref": "#/components/schemas/AboutPage5TextsComponent"
|
||||||
|
},
|
||||||
"createdAt": {
|
"createdAt": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"format": "date-time"
|
"format": "date-time"
|
||||||
@@ -612,6 +621,23 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"AboutPage5TextsComponent": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"id": {
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
"Mission": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Vision": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"Values": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"HomeLocalizationRequest": {
|
"HomeLocalizationRequest": {
|
||||||
"required": [
|
"required": [
|
||||||
"locale"
|
"locale"
|
||||||
|
|||||||
14
types/generated/components.d.ts
vendored
14
types/generated/components.d.ts
vendored
@@ -1,5 +1,18 @@
|
|||||||
import type { Schema, Attribute } from '@strapi/strapi';
|
import type { Schema, Attribute } from '@strapi/strapi';
|
||||||
|
|
||||||
|
export interface AboutPage5Texts extends Schema.Component {
|
||||||
|
collectionName: 'components_section_5_texts';
|
||||||
|
info: {
|
||||||
|
displayName: 'Mission, Vision and Values';
|
||||||
|
description: '';
|
||||||
|
};
|
||||||
|
attributes: {
|
||||||
|
Mission: Attribute.String;
|
||||||
|
Vision: Attribute.String;
|
||||||
|
Values: Attribute.RichText;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
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: {
|
||||||
@@ -27,6 +40,7 @@ export interface TitleTitleWithTag extends Schema.Component {
|
|||||||
declare module '@strapi/types' {
|
declare module '@strapi/types' {
|
||||||
export module Shared {
|
export module Shared {
|
||||||
export interface Components {
|
export interface Components {
|
||||||
|
'about-page.5-texts': AboutPage5Texts;
|
||||||
'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
@@ -391,6 +391,12 @@ export interface ApiAboutAbout extends Schema.SingleType {
|
|||||||
localized: true;
|
localized: true;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
MissionVisionValuesSection: Attribute.Component<'about-page.5-texts'> &
|
||||||
|
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