Skip to content

Commit 19f2d1c

Browse files
committed
feat: add webinar component in resource landing page
1 parent 2f1348c commit 19f2d1c

4 files changed

Lines changed: 34 additions & 1 deletion

File tree

src/api/resource-landing-page/content-types/resource-landing-page/schema.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"section-cards.blog",
2121
"section-cards.feature3",
2222
"section-cards.articles",
23-
"section-cards.feature4"
23+
"section-cards.feature4",
24+
"section-cards.webinar"
2425
]
2526
},
2627
"seo": {
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"collectionName": "components_section_cards_webinars",
3+
"info": {
4+
"displayName": "Webinar"
5+
},
6+
"options": {},
7+
"attributes": {
8+
"heading": {
9+
"type": "component",
10+
"repeatable": false,
11+
"component": "elements.heading"
12+
},
13+
"primaryButton": {
14+
"type": "component",
15+
"repeatable": false,
16+
"component": "elements.button"
17+
}
18+
}
19+
}

types/generated/components.d.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,17 @@ export interface SectionCardsTestimonials extends Struct.ComponentSchema {
576576
};
577577
}
578578

579+
export interface SectionCardsWebinar extends Struct.ComponentSchema {
580+
collectionName: 'components_section_cards_webinars';
581+
info: {
582+
displayName: 'Webinar';
583+
};
584+
attributes: {
585+
heading: Schema.Attribute.Component<'elements.heading', false>;
586+
primaryButton: Schema.Attribute.Component<'elements.button', false>;
587+
};
588+
}
589+
579590
export interface SectionCtaBanner extends Struct.ComponentSchema {
580591
collectionName: 'components_section_cta_banners';
581592
info: {
@@ -1093,6 +1104,7 @@ declare module '@strapi/strapi' {
10931104
'section-cards.our-partners': SectionCardsOurPartners;
10941105
'section-cards.plaform-key-features': SectionCardsPlaformKeyFeatures;
10951106
'section-cards.testimonials': SectionCardsTestimonials;
1107+
'section-cards.webinar': SectionCardsWebinar;
10961108
'section-cta.banner': SectionCtaBanner;
10971109
'section-cta.download-cta': SectionCtaDownloadCta;
10981110
'section-faqs.fa-qs-page-section': SectionFaqsFaQsPageSection;

types/generated/contentTypes.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,6 +1330,7 @@ export interface ApiResourceLandingPageResourceLandingPage
13301330
'section-cards.feature3',
13311331
'section-cards.articles',
13321332
'section-cards.feature4',
1333+
'section-cards.webinar',
13331334
]
13341335
>;
13351336
createdAt: Schema.Attribute.DateTime;

0 commit comments

Comments
 (0)