Updated the About page

This commit is contained in:
Tiago Ribeiro
2024-03-14 00:31:52 +00:00
parent 5c6ed146ef
commit 4530a8ec1f
5 changed files with 75 additions and 1 deletions

View File

@@ -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;
}

View File

@@ -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;