Skip to content

Commit 5f667ab

Browse files
authored
Migrate feedback form to Asana (#1080)
1 parent 9c4c17a commit 5f667ab

File tree

2 files changed

+9
-13
lines changed

2 files changed

+9
-13
lines changed

apps/antalmanac/src/components/Header/AboutButtonGroup.tsx

+6-12
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import analyticsEnum, { logAnalytics } from '$lib/analytics';
1717
import { useThemeStore } from '$stores/SettingsStore';
1818

1919
const DONATION_LINK = 'https://venmo.com/u/ICSSC';
20-
const FEEDBACK_LINK = 'https://forms.gle/k81f2aNdpdQYeKK8A';
20+
const FEEDBACK_LINK = '/feedback';
2121

2222
const About = () => {
2323
const [open, setOpen] = useState(false);
@@ -95,17 +95,11 @@ const About = () => {
9595
const Feedback = () => {
9696
return (
9797
<Tooltip title="Give Us Feedback!">
98-
<Button
99-
onClick={() => {
100-
window.open(FEEDBACK_LINK, '_blank');
101-
}}
102-
color="inherit"
103-
startIcon={<Assignment />}
104-
size="large"
105-
href={FEEDBACK_LINK}
106-
>
107-
Feedback
108-
</Button>
98+
<Link href={FEEDBACK_LINK} target="_blank" color="inherit" underline="none">
99+
<Button color="inherit" startIcon={<Assignment />} size="large">
100+
Feedback
101+
</Button>
102+
</Link>
109103
</Tooltip>
110104
);
111105
};
+3-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1+
export const FEEDBACK_LINK = 'https://form.asana.com/?k=fZ3SGnuGknDmzTYdocgIUg&d=1208267282546207';
2+
13
export default function Feedback() {
2-
window.location.replace('https://forms.gle/k81f2aNdpdQYeKK8A');
4+
window.location.replace(FEEDBACK_LINK);
35
return null;
46
}

0 commit comments

Comments
 (0)