Skip to content

Commit

Permalink
Merge pull request #17 from openobserve/dev
Browse files Browse the repository at this point in the history
fix: update contact herosection
  • Loading branch information
ktx-kirtan authored Feb 3, 2025
2 parents de4d024 + 4b95b50 commit 2b4a754
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 14 deletions.
4 changes: 2 additions & 2 deletions src/api/contact/content-types/contact/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"section-cta.banner",
"section-cards.community-support",
"section-cards.case-studies",
"section-hero.company-hero-section",
"seo.seo",
"section-separator.separator"
"section-separator.separator",
"section-hero.contact-hero-section"
]
},
"seo": {
Expand Down
4 changes: 4 additions & 0 deletions src/components/elements/items.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,10 @@
"videos",
"audios"
]
},
"link": {
"type": "string",
"required": true
}
}
}
8 changes: 0 additions & 8 deletions src/components/section-hero/company-hero-section.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@
"type": "component",
"repeatable": false,
"component": "elements.button"
},
"headingGradientColor": {
"type": "enumeration",
"enum": [
"blue",
"cyan",
"orange"
]
}
}
}
4 changes: 1 addition & 3 deletions types/generated/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ export interface ElementsItems extends Struct.ComponentSchema {
attributes: {
description: Schema.Attribute.Text;
image: Schema.Attribute.Media<'images' | 'files' | 'videos' | 'audios'>;
link: Schema.Attribute.String & Schema.Attribute.Required;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
}
Expand Down Expand Up @@ -582,9 +583,6 @@ export interface SectionHeroCompanyHeroSection extends Struct.ComponentSchema {
};
attributes: {
description: Schema.Attribute.Text;
headingGradientColor: Schema.Attribute.Enumeration<
['blue', 'cyan', 'orange']
>;
primaryButton: Schema.Attribute.Component<'elements.button', false>;
title: Schema.Attribute.String & Schema.Attribute.Required;
};
Expand Down
2 changes: 1 addition & 1 deletion types/generated/contentTypes.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -608,9 +608,9 @@ export interface ApiContactContact extends Struct.SingleTypeSchema {
'section-cta.banner',
'section-cards.community-support',
'section-cards.case-studies',
'section-hero.company-hero-section',
'seo.seo',
'section-separator.separator',
'section-hero.contact-hero-section',
]
>;
createdAt: Schema.Attribute.DateTime;
Expand Down

0 comments on commit 2b4a754

Please sign in to comment.