Skip to content

Commit

Permalink
add mail icon to Contact Us link on archived page
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashwini More committed Sep 23, 2024
1 parent ad84651 commit cb562c3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
7 changes: 6 additions & 1 deletion src/components/archived/ArchiveHome.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import palette from '@/styles/palette'
import FAQCard from './ArchiveCard'
import faq from './data/FAQ.json'
import VideoItem from '../resources/VideoItem'
import MailOutlineIcon from '@mui/icons-material/MailOutline'

export default function ArchiveHome() {
const menuItems: menuProps[] = [
Expand All @@ -19,7 +20,11 @@ export default function ArchiveHome() {
{ heading: 'SMTP', href: '#smtp' },
{ heading: 'Other', href: '#other' },
{ heading: 'Videos', href: '#videos' },
{ heading: 'Contact Us', href: 'mailto:[email protected]' },
{
heading: 'Contact Us',
href: 'mailto:[email protected]',
icon: <MailOutlineIcon />,
},
]
function trackMenuItemClick(heading: string) {
if (typeof window.gtag === 'function') {
Expand Down
8 changes: 0 additions & 8 deletions src/components/resources/DocsHome.cy.tsx

This file was deleted.

0 comments on commit cb562c3

Please sign in to comment.