From 6524da9a9a1836d59cb59832598b558c66e2d319 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Mon, 31 Jul 2023 16:03:40 +0100 Subject: [PATCH] Add feedback link --- src/components/TeamSidebar.tsx | 25 ++++++++++++++++++++++++- src/icons/chat.svg | 1 + 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 src/icons/chat.svg diff --git a/src/components/TeamSidebar.tsx b/src/components/TeamSidebar.tsx index a678858ca..c01506c87 100644 --- a/src/components/TeamSidebar.tsx +++ b/src/components/TeamSidebar.tsx @@ -4,6 +4,7 @@ import ChevronDown from '../icons/dropdown.svg'; import { useTeamId } from '../hooks/use-team-id'; import TeamProgress from '../icons/team-progress.svg'; import SettingsIcon from '../icons/cog.svg'; +import ChatIcon from '../icons/chat.svg'; import MapIcon from '../icons/map.svg'; import GroupIcon from '../icons/group.svg'; import { useState } from 'preact/hooks'; @@ -19,6 +20,8 @@ export const TeamSidebar: FunctionalComponent<{ const { teamId } = useTeamId(); + const feedbackFormLink = 'https://forms.gle/g9h6yEqsG4y1hQUv5'; + const sidebarLinks = [ { title: 'Progress', @@ -100,6 +103,21 @@ export const TeamSidebar: FunctionalComponent<{ ); })} + +
  • + + {'menu + Send Feedback + +
  • )} @@ -127,7 +145,7 @@ export const TeamSidebar: FunctionalComponent<{ menu icon {sidebarLink.title} @@ -143,6 +161,11 @@ export const TeamSidebar: FunctionalComponent<{ ); })} + + + + Send Feedback +
    {children}
    diff --git a/src/icons/chat.svg b/src/icons/chat.svg new file mode 100644 index 000000000..7ae401da7 --- /dev/null +++ b/src/icons/chat.svg @@ -0,0 +1 @@ + \ No newline at end of file