diff --git a/src/components/Footer/constants.js b/src/components/Footer/constants.js index 680de83..63ebc55 100644 --- a/src/components/Footer/constants.js +++ b/src/components/Footer/constants.js @@ -44,9 +44,10 @@ export const NAV_ITEMS = [ { label: 'Resources', children: [ - /*{ - title: 'Blog' - },*/ + { + title: 'Blog', + href: ROUTES.BLOG + }, { title: 'Contact Sales', href: ROUTES.CONTACT_US @@ -56,9 +57,10 @@ export const NAV_ITEMS = [ { label: 'Partners', children: [ - /*{ - title: 'Become a Partner' - },*/ + { + title: 'Become a Partner', + href: ROUTES.BECOME_PARTNER + }, { title: 'Integrations', href: ROUTES.ACCOUNTING_INTEGRATION @@ -79,16 +81,18 @@ export const NAV_ITEMS = [ title: 'Careers', href: ROUTES.CAREERS }, - /*{ - title: 'Press' - }, { - title: 'Partners' + title: 'Press', + href: ROUTES.PRESS }, + /*{ + title: 'Partners' + },*/ { - title: 'Loyalty' + title: 'Loyalty', + href: ROUTES.LOYALTY }, - { + /*{ title: 'Legal' }*/ ] diff --git a/src/components/Forms/ContactUsForm.jsx b/src/components/Forms/ContactUsForm.jsx index c5eced2..c261e4a 100644 --- a/src/components/Forms/ContactUsForm.jsx +++ b/src/components/Forms/ContactUsForm.jsx @@ -14,7 +14,6 @@ import { Image, Textarea, } from "@chakra-ui/core"; -import { useSearchParams } from "react-router-dom"; import { CongratulationsModal } from "../Modals"; import { FONTS, INPUT_STYLES } from "../../theme"; import { DEPARTMENT, DEPARTMENT_OPTIONS } from "../../constants/constants"; @@ -23,7 +22,7 @@ import popoverBlack from "../../images/popover-black.svg"; export const ContactUsForm = () => { const [isCongratulationsModalOpen, setIsCongratulationsModalOpen] = useState(false); const [dropdownOption, setDropdownOption] = useState({}); - const [searchParams] = useSearchParams(); + const searchParams = new URLSearchParams(window.location.search); useEffect(() => { const queryValue = searchParams.get("department"); diff --git a/src/components/Header/Header.js b/src/components/Header/Header.js index 2c495a2..b8202ab 100644 --- a/src/components/Header/Header.js +++ b/src/components/Header/Header.js @@ -71,18 +71,18 @@ const NAV_ITEMS = [ ], }, }, - /* { + { label: 'Solutions', - href: '#' + href: ROUTES.SOLUTIONS, }, { label: 'Pricing', - href: '#' + href: ROUTES.PRICING, }, - { + /*{ label: 'Resources', - href: '#' - }, */ + href: ROUTES.RESOURCES, + },*/ { label: "Customer Support", href: ROUTES.CUSTOMER_SUPPORT, @@ -236,6 +236,9 @@ const DesktopNav = ({ isLightHeader }) => ( fontWeight={500} fontSize="16px" lineHeight="140%" + _hover={{ + color: "#8A7BF0", + }} > {title}