Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 16 additions & 12 deletions src/components/Footer/constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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'
}*/
]
Expand Down
3 changes: 1 addition & 2 deletions src/components/Forms/ContactUsForm.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand All @@ -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");
Expand Down
15 changes: 9 additions & 6 deletions src/components/Header/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -236,6 +236,9 @@ const DesktopNav = ({ isLightHeader }) => (
fontWeight={500}
fontSize="16px"
lineHeight="140%"
_hover={{
color: "#8A7BF0",
}}
>
{title}
</Link>
Expand Down