From faf45237117bc8d6de19c62f4795c2c27d1da818 Mon Sep 17 00:00:00 2001 From: Denis Fadeev Date: Mon, 19 Aug 2024 10:04:15 +0300 Subject: [PATCH] Add feedback form link (#438) --- .../Icons/components/IconSpeechBubble.tsx | 26 ++++++++++++++ .../shared/components/Icons/index.ts | 1 + .../components/PrevNextNavigationWrapper.tsx | 34 +++++++++++++++---- 3 files changed, 54 insertions(+), 7 deletions(-) create mode 100644 src/components/shared/components/Icons/components/IconSpeechBubble.tsx diff --git a/src/components/shared/components/Icons/components/IconSpeechBubble.tsx b/src/components/shared/components/Icons/components/IconSpeechBubble.tsx new file mode 100644 index 00000000..f76384fc --- /dev/null +++ b/src/components/shared/components/Icons/components/IconSpeechBubble.tsx @@ -0,0 +1,26 @@ +import clsx from "clsx"; +import { SVGProps } from "react"; + +const IconSpeechBubble = ({ + color, + ...otherProps +}: SVGProps & { color?: string }) => ( + + + +); + +export { IconSpeechBubble }; diff --git a/src/components/shared/components/Icons/index.ts b/src/components/shared/components/Icons/index.ts index 841e3d86..5d341f74 100644 --- a/src/components/shared/components/Icons/index.ts +++ b/src/components/shared/components/Icons/index.ts @@ -24,6 +24,7 @@ export * from "./components/IconReddit"; export * from "./components/IconSearch"; export * from "./components/IconServer"; export * from "./components/IconSparkle"; +export * from "./components/IconSpeechBubble"; export * from "./components/IconStaking"; export * from "./components/IconSupport"; export * from "./components/IconTelegram"; diff --git a/src/components/shared/components/Layout/components/PrevNextNavigationWrapper.tsx b/src/components/shared/components/Layout/components/PrevNextNavigationWrapper.tsx index 88402c96..7c9f2c10 100644 --- a/src/components/shared/components/Layout/components/PrevNextNavigationWrapper.tsx +++ b/src/components/shared/components/Layout/components/PrevNextNavigationWrapper.tsx @@ -8,6 +8,7 @@ import { selectDirectoriesByRoute, selectFlatDirectories } from "~/lib/directori import { countRouteSegments, getValidParentDirectory } from "~/lib/helpers/nextra"; import { IconArrowNarrowRight } from "../../Icons"; +import { IconSpeechBubble } from "../../Icons"; import { NavigationSection } from "../../NavigationSection"; import { mainNavRoutes } from "../Layout.constants"; @@ -128,13 +129,32 @@ export const PrevNextNavigationWrapper: React.FC {children} {shouldRenderNextSection && ( -
- -
+ <> +
+ +
+
+
+
+
+
How's your journey with ZetaChain?
+ + +
Let us know
+ +
+
+
+ )} );