Skip to content

Commit

Permalink
Merge pull request #18 from openobserve/dev
Browse files Browse the repository at this point in the history
feat: add herosection for the why choose us
  • Loading branch information
ktx-krupa authored Feb 4, 2025
2 parents 2b4a754 + 3cf472c commit cf783eb
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/components/section-hero/company-why-o2-hero-section.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"collectionName": "components_section_hero_company_why_o2_hero_sections",
"info": {
"displayName": "CompanyWhyO2HeroSection",
"icon": "crown"
},
"options": {},
"attributes": {
"title": {
"type": "string",
"required": true
},
"description": {
"type": "text",
"required": true
},
"primaryButton": {
"type": "component",
"repeatable": false,
"component": "elements.button"
}
}
}
15 changes: 15 additions & 0 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,20 @@ export interface SectionHeroCompanyHeroSection extends Struct.ComponentSchema {
};
}

export interface SectionHeroCompanyWhyO2HeroSection
extends Struct.ComponentSchema {
collectionName: 'components_section_hero_company_why_o2_hero_sections';
info: {
displayName: 'CompanyWhyO2HeroSection';
icon: 'crown';
};
attributes: {
description: Schema.Attribute.Text & Schema.Attribute.Required;
primaryButton: Schema.Attribute.Component<'elements.button', false>;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}

export interface SectionHeroContactHeroSection extends Struct.ComponentSchema {
collectionName: 'components_section_hero_contact_hero_sections';
info: {
Expand Down Expand Up @@ -815,6 +829,7 @@ declare module '@strapi/strapi' {
'section-forms.contact': SectionFormsContact;
'section-forms.enterprice-contact': SectionFormsEnterpriceContact;
'section-hero.company-hero-section': SectionHeroCompanyHeroSection;
'section-hero.company-why-o2-hero-section': SectionHeroCompanyWhyO2HeroSection;
'section-hero.contact-hero-section': SectionHeroContactHeroSection;
'section-hero.feature-hero-section': SectionHeroFeatureHeroSection;
'section-hero.feature-sub-hero-section': SectionHeroFeatureSubHeroSection;
Expand Down

0 comments on commit cf783eb

Please sign in to comment.