Updated the About page

This commit is contained in:
Tiago Ribeiro
2024-03-14 00:19:47 +00:00
parent 8163e89dd9
commit 5c6ed146ef
5 changed files with 77 additions and 1 deletions

View File

@@ -1,5 +1,18 @@
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 {
collectionName: 'components_section_title_with_texts';
info: {
@@ -27,6 +40,7 @@ export interface TitleTitleWithTag extends Schema.Component {
declare module '@strapi/types' {
export module Shared {
export interface Components {
'about-page.5-texts': AboutPage5Texts;
'section.title-with-text': SectionTitleWithText;
'title.title-with-tag': TitleTitleWithTag;
}

View File

@@ -391,6 +391,12 @@ export interface ApiAboutAbout extends Schema.SingleType {
localized: true;
};
}>;
MissionVisionValuesSection: Attribute.Component<'about-page.5-texts'> &
Attribute.SetPluginOptions<{
i18n: {
localized: true;
};
}>;
createdAt: Attribute.DateTime;
updatedAt: Attribute.DateTime;
publishedAt: Attribute.DateTime;