Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/28726/about us #12

Merged
merged 11 commits into from
Dec 26, 2024
3 changes: 3 additions & 0 deletions .deco/blocks/site.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,9 @@
"replaces": [],
"includeScriptsToHead": {
"includes": []
},
"includeScriptsToBody": {
"includes": []
}
},
"flavor": {
Expand Down
8 changes: 4 additions & 4 deletions sections/AboutUs/AboutUs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export interface CompanyProps {
}

/**@title Parágrafos */
export interface AboutUsProps {
export interface Item {
gsbenevides2 marked this conversation as resolved.
Show resolved Hide resolved
/**@title Primeiro Parágrafo */
firstText?: RichText;
/**@title Segundo Parágrafo */
Expand All @@ -75,7 +75,7 @@ export interface AboutUsProps {
}

/**@title Conteúdo */
interface ItemsAboutUs {
interface Props {
/**@title Banner principal */
bannerDesktop?: ImageWidget;
/**@title Banner principal Mobile */
Expand All @@ -89,7 +89,7 @@ interface ItemsAboutUs {
/**@title Texto alternativo Logo*/
altLogo: string;
/**@title Paragráfos */
items: AboutUsProps[];
items: Item[];
/**@title Sobre a empresa */
company: CompanyProps;
/**@title Informação adicional */
Expand All @@ -98,7 +98,7 @@ interface ItemsAboutUs {

export default function AboutUs(
{ items, company, additionalInfo, title, logo, altLogo, bannerDesktop, bannerMobile, altBanner }:
ItemsAboutUs,
Props,
) {
return (
<>
Expand Down