Created
November 21, 2020 09:57
-
-
Save navdeepsingh/45cbbd43ca88170b105977385f1225ff to your computer and use it in GitHub Desktop.
Revisions
-
navdeepsingh created this gist
Nov 21, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,37 @@ import React from "react"; import classNames from "classnames"; import A from "@styleguide/components/a"; import { IconBuilding, IconMessage, IconPhone } from "@icons/index"; import css from "./index.scss"; import { CONTACT_US_EMAIL, CONTACT_US_PHONE_NUMBER } from "@lib/staticRoutes"; import { CONTACT_ADDRESS, CONTACT_EMAIL, CONTACT_PHONE_NUMBER } from "@lib/constants"; const ContactDetails = () => ( <div className={css.contactInfo}> <A link={CONTACT_US_PHONE_NUMBER} className={css.contactInfoSection}> <IconPhone className={css.contactIcons} size={"2x"} width="0" /> <span>{CONTACT_PHONE_NUMBER}</span> </A> <A link={CONTACT_US_EMAIL} className={css.contactInfoSection}> <IconMessage className={css.contactIcons} size={"2x"} width="0" /> <span>{CONTACT_EMAIL}</span> </A> <div className={css.contactInfoSection}> <IconBuilding className={classNames(css.contactIcons, css.contactBuildingIcon)} size={"2x"} width="0" /> <span>{CONTACT_ADDRESS}</span> </div> </div> ); export default ContactDetails;