Skip to content

Commit a40da02

Browse files
committed
chore: feedback modal links added to footer and cta
1 parent 31f28c9 commit a40da02

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

src/components/layouts/CallToAction.jsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { SpeedDial, SpeedDialAction, styled } from '@mui/material'
1212
import ShareIcon from '@mui/icons-material/Share';
1313
import WhatsAppIcon from '@mui/icons-material/WhatsApp';
1414
import TwitterIcon from '@mui/icons-material/Twitter';
15+
import FeedbackIcon from '@mui/icons-material/Feedback';
1516

1617
// Hooks
1718
import useGA from '../../hooks/useGA';
@@ -30,7 +31,12 @@ const CallToAction = () => {
3031
name: 'Share with Twitter',
3132
url: `http://twitter.com/share?text=Check out this website to get the best ECE Notes available out there! @_kunalkeshan_&url=${window.location.protocol}//${window.location.host}?utm_source=twitter.com&utm_medium=social&hashtags=srmist,ece,btech,kunalkeshan`,
3233
icon: <TwitterIcon sx={{ '&:hover': { color: '#1DA1F2 !important' } }} />
33-
}
34+
},
35+
{
36+
name: 'Have some Feedback?',
37+
url: config.GOOGLE_FORM_FEEDBACK_URL,
38+
icon: <FeedbackIcon sx={{ '&:hover': { color: `${config.APP_COLORS.main} !important` } }} />
39+
},
3440
];
3541

3642
const handleClick = (url) => () => {

src/components/layouts/Footer.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ const Footer = () => {
4949
name: 'Drive',
5050
link: 'https://drive.google.com/drive/u/7/folders/17bng9aIkZ3FaULebbgEGpdCsB225dr_K',
5151
},
52+
{
53+
name: 'Give Feedback',
54+
link: config.GOOGLE_FORM_FEEDBACK_URL,
55+
}
5256
];
5357

5458
const handleNavigate = ({ link = null, nav = null }) => {

0 commit comments

Comments
 (0)