diff --git a/components/blocks/downloadBlock.tsx b/components/blocks/downloadBlock.tsx
index 6f2be8cf3a..cf456070c1 100644
--- a/components/blocks/downloadBlock.tsx
+++ b/components/blocks/downloadBlock.tsx
@@ -1,5 +1,6 @@
import classNames from "classnames";
import Image from "next/image";
+import { useState } from "react";
import { FaFileDownload } from "react-icons/fa";
import type { Template } from "tinacms";
import { tinaField } from "tinacms/dist/react";
@@ -43,6 +44,7 @@ export const DownloadBlock = (data: DownloadBlockProps) => {
};
const Download = (data: Downloads) => {
+ const [isImgBroken, setIsImgBroken] = useState(false);
const {
header,
img,
@@ -64,7 +66,15 @@ const Download = (data: Downloads) => {
)}
data-tina-field={tinaField(data, "img")}
>
-
+ {!isImgBroken && (
+ setIsImgBroken(true)}
+ src={img}
+ alt={header}
+ height={400}
+ width={210}
+ />
+ )}
)}
Download
diff --git a/components/layout/footer.tsx b/components/layout/footer.tsx
index 6eef1579c7..cdae84cfcf 100644
--- a/components/layout/footer.tsx
+++ b/components/layout/footer.tsx
@@ -1,9 +1,11 @@
import dayjs from "dayjs";
import dynamic from "next/dynamic";
import Image from "next/image";
+import { BuiltOnAzure } from "../blocks";
import { CustomLink } from "../customLink";
import { SocialIcons } from "../socialIcons/socialIcons";
import { Container } from "../util/container";
+import { Section } from "../util/section";
export const Footer = () => {
return (
@@ -102,3 +104,10 @@ const SiteInfo = () => (
);
+export const PreFooter = () => {
+ return (
+
+ );
+};
diff --git a/components/layout/layout.tsx b/components/layout/layout.tsx
index e3d96518ac..957d261c66 100644
--- a/components/layout/layout.tsx
+++ b/components/layout/layout.tsx
@@ -2,7 +2,7 @@ import classNames from "classnames";
import Head from "next/head";
import { useRouter } from "next/router";
import { useLiveStreamProps } from "../../hooks/useLiveStreamProps";
-import { Footer } from "./footer";
+import { Footer, PreFooter } from "./footer";
import { Theme } from "./theme";
import dayjs from "dayjs";
@@ -57,14 +57,14 @@ interface LayoutProps {
menuGroups: NavMenuGroup[];
};
children: React.ReactNode;
- mainClassName?: string;
+ showAzureBanner?: boolean;
}
export const Layout = ({
children,
menu,
className = "",
- mainClassName = "",
+ showAzureBanner,
}: LayoutProps) => {
const liveStreamProps = useLiveStreamProps();
const router = useRouter();
@@ -153,9 +153,9 @@ export const Layout = ({
/>
-
- {children}
-
+ {children}
+
+ {showAzureBanner && }
diff --git a/content/logo/index.mdx b/content/logo/index.mdx
index 628735f921..a2f4eabace 100644
--- a/content/logo/index.mdx
+++ b/content/logo/index.mdx
@@ -47,7 +47,7 @@ _body:
linkContent: >
+ link="/logo/sophiebot" />
- title: SophieHub
image: /images/company-logos/SophieHub_preview.png
linkContent: >
diff --git a/content/logo/sophiebot.mdx b/content/logo/sophiebot.mdx
new file mode 100644
index 0000000000..1a046857af
--- /dev/null
+++ b/content/logo/sophiebot.mdx
@@ -0,0 +1,33 @@
+---
+seo:
+ title: SophieBot Logo
+ showBreadcrumb: true
+header: SophieBot Logo
+subHeader: "If you have any queries please\_[contact SSW.](/company/about-us)\n"
+_body:
+ - title: Download
+ downloads:
+ - header: Color Vertical
+ img: /images/company-logos/SophieBot_preview.png
+ firstLink: /images/company-logos/downloads/images/SophieBot.png
+ secondLinkText: SVG
+ secondLink: /images/company-logos/downloads/svgs/SophieBot.svg
+ - header: B&W Vertical
+ img: /images/company-logos/SophieBot_BW_preview.png
+ firstLink: /images/company-logos/downloads/images/SophieBot_BW.png
+ secondLinkText: SVG
+ secondLink: /images/company-logos/downloads/svgs/SophieBot_BW.svg
+ - header: Color Horizontal
+ img: /images/company-logos/SophieBot_horizontal_preview.png
+ firstLink: /images/company-logos/downloads/images/SophieBot_horizontal.png
+ secondLinkText: SVG
+ secondLink: /images/company-logos/downloads/svgs/SophieBot_horizontal.svg
+ - header: B&W Horizontal
+ img: /images/company-logos/SophieBot_horizontal_BW_preview.png
+ firstLink: /images/company-logos/downloads/images/SophieBot_horizontal_BW.png
+ secondLinkText: SVG
+ secondLink: /images/company-logos/downloads/svgs/SophieBot_horizontal_BW.svg
+ _template: DownloadBlock
+footer: ''
+---
+
diff --git a/pages/logo/[[...filename]].tsx b/pages/logo/[[...filename]].tsx
index e1c19499ee..f34c13047c 100644
--- a/pages/logo/[[...filename]].tsx
+++ b/pages/logo/[[...filename]].tsx
@@ -3,7 +3,6 @@ import { TinaMarkdown } from "tinacms/dist/rich-text";
import { Breadcrumbs } from "@/blocks/breadcrumbs";
import { componentRenderer } from "@/blocks/mdxComponentRenderer";
-import { BuiltOnAzure } from "@/components/blocks";
import { Blocks } from "@/components/blocks-renderer";
import { Layout } from "@/components/layout";
import { Container } from "@/components/util/container";
@@ -23,7 +22,7 @@ export default function LogosPage(
});
return (
-
+
{props?.seo?.showBreadcrumb && (
@@ -56,9 +55,6 @@ export default function LogosPage(
)}
-
);
}
diff --git a/public/images/company-logos/SophieBot_BW_preview.png b/public/images/company-logos/SophieBot_BW_preview.png
new file mode 100644
index 0000000000..042f3b6650
Binary files /dev/null and b/public/images/company-logos/SophieBot_BW_preview.png differ
diff --git a/public/images/company-logos/SophieBot_horizontal_BW_preview.png b/public/images/company-logos/SophieBot_horizontal_BW_preview.png
new file mode 100644
index 0000000000..7452b8e16f
Binary files /dev/null and b/public/images/company-logos/SophieBot_horizontal_BW_preview.png differ
diff --git a/public/images/company-logos/SophieBot_horizontal_preview.png b/public/images/company-logos/SophieBot_horizontal_preview.png
new file mode 100644
index 0000000000..b34100c072
Binary files /dev/null and b/public/images/company-logos/SophieBot_horizontal_preview.png differ
diff --git a/public/images/company-logos/downloads/images/SophieBot.png b/public/images/company-logos/downloads/images/SophieBot.png
new file mode 100644
index 0000000000..61dea4cfc2
Binary files /dev/null and b/public/images/company-logos/downloads/images/SophieBot.png differ
diff --git a/public/images/company-logos/downloads/images/SophieBot_BW.png b/public/images/company-logos/downloads/images/SophieBot_BW.png
new file mode 100644
index 0000000000..60db058dc1
Binary files /dev/null and b/public/images/company-logos/downloads/images/SophieBot_BW.png differ
diff --git a/public/images/company-logos/downloads/images/SophieBot_horizontal.png b/public/images/company-logos/downloads/images/SophieBot_horizontal.png
new file mode 100644
index 0000000000..8a8f30d3fd
Binary files /dev/null and b/public/images/company-logos/downloads/images/SophieBot_horizontal.png differ
diff --git a/public/images/company-logos/downloads/images/SophieBot_horizontal_BW.png b/public/images/company-logos/downloads/images/SophieBot_horizontal_BW.png
new file mode 100644
index 0000000000..416e5c6f0a
Binary files /dev/null and b/public/images/company-logos/downloads/images/SophieBot_horizontal_BW.png differ
diff --git a/public/images/company-logos/downloads/svgs/SophieBot.svg b/public/images/company-logos/downloads/svgs/SophieBot.svg
new file mode 100644
index 0000000000..69e5dd3c91
--- /dev/null
+++ b/public/images/company-logos/downloads/svgs/SophieBot.svg
@@ -0,0 +1,25 @@
+
+
\ No newline at end of file
diff --git a/public/images/company-logos/downloads/svgs/SophieBot_BW.svg b/public/images/company-logos/downloads/svgs/SophieBot_BW.svg
new file mode 100644
index 0000000000..85ebaaa6be
--- /dev/null
+++ b/public/images/company-logos/downloads/svgs/SophieBot_BW.svg
@@ -0,0 +1,12 @@
+
+
\ No newline at end of file
diff --git a/public/images/company-logos/downloads/svgs/SophieBot_horizontal.svg b/public/images/company-logos/downloads/svgs/SophieBot_horizontal.svg
new file mode 100644
index 0000000000..d7633fd915
--- /dev/null
+++ b/public/images/company-logos/downloads/svgs/SophieBot_horizontal.svg
@@ -0,0 +1,22 @@
+
+
\ No newline at end of file
diff --git a/public/images/company-logos/downloads/svgs/SophieBot_horizontal_BW.svg b/public/images/company-logos/downloads/svgs/SophieBot_horizontal_BW.svg
new file mode 100644
index 0000000000..63e3bb8967
--- /dev/null
+++ b/public/images/company-logos/downloads/svgs/SophieBot_horizontal_BW.svg
@@ -0,0 +1,17 @@
+
+
\ No newline at end of file