diff --git a/sanityIo/schemas/sections/web-dev/FooterSection.js b/sanityIo/schemas/sections/web-dev/FooterSection.js index 3755a39a..e67ab604 100644 --- a/sanityIo/schemas/sections/web-dev/FooterSection.js +++ b/sanityIo/schemas/sections/web-dev/FooterSection.js @@ -8,6 +8,11 @@ export default { title: 'Name', type: 'string', }, + { + name: 'isSocialMediaBlock', + title: 'Show Social Media Block', + type: 'boolean', + }, { name: 'footerMenuRef', title: 'Footer Menu', diff --git a/src/common/sanityIo/Types.ts b/src/common/sanityIo/Types.ts index 3a9c7993..5a93f1b7 100644 --- a/src/common/sanityIo/Types.ts +++ b/src/common/sanityIo/Types.ts @@ -241,7 +241,6 @@ export type SanityMenuContainer = { logoAccentText?: string logoImageSrc?: SanityImageAsset isSearch?: boolean - } export type MainMenuAnchorType = 'left' | 'top' | 'right' | 'bottom' \ No newline at end of file diff --git a/src/components/BlockContentLayoutContainer.tsx b/src/components/BlockContentLayoutContainer.tsx index 2093a061..742a92af 100644 --- a/src/components/BlockContentLayoutContainer.tsx +++ b/src/components/BlockContentLayoutContainer.tsx @@ -463,6 +463,8 @@ const BlockContentLayoutContainer: FunctionComponent + <> + diff --git a/src/components/BlockContentTypes.ts b/src/components/BlockContentTypes.ts index fc9f8560..06772a55 100644 --- a/src/components/BlockContentTypes.ts +++ b/src/components/BlockContentTypes.ts @@ -615,6 +615,7 @@ export type DevelopmentFooterSectionType = { } export type FooterSectionType = { name: string + isSocialMediaBlock: boolean footerMenuRef: SanityMenuContainer } diff --git a/src/components/FooterBlockContentLayoutContainer.tsx b/src/components/FooterBlockContentLayoutContainer.tsx index fac0e901..7a494e8c 100644 --- a/src/components/FooterBlockContentLayoutContainer.tsx +++ b/src/components/FooterBlockContentLayoutContainer.tsx @@ -86,6 +86,7 @@ const FooterBlockContentLayoutContainer: FunctionComponent<>