You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

58 lines
1.7 KiB

3 years ago
import React from "react";
3 years ago
import "./ContactInfoSection.scss";
import ReactTooltip from "react-tooltip";
3 years ago
import customerSupport from "../../assets/icons/customer-support.png";
import lightGreenLine from "../../assets/icons/light-green-line.svg";
import lightBlueLine from "../../assets/icons/light-blue-line.svg";
const ContactInfoSection = () => {
return (
<section className="bg-midGrayBgColor relative flex flex-col sm:flex-row items-center justify-center p-4">
{/* line */}
<img
src={lightBlueLine}
alt=""
className="hidden sm:block absolute right-72"
/>
{/* middle content */}
3 years ago
<img
src={customerSupport}
alt=""
data-tip="صفحه تماس با ما"
className="w-20 cursor-pointer customer-support"
/>
<ReactTooltip place="bottom" type="dark" effect="float" />
3 years ago
<p className="mr-0 sm:mr-10 mt-5 sm:mt-0 text-sm text-darkCrimsonTextColor leading-6">
<span className="text-lightBlueTextColor2">7 </span>
روز هفته
<span className="text-lightBlueTextColor2"> 24 </span>
ساعته
<br />
منتظر شنیدن صدای گرمتان هستیم
</p>
3 years ago
<div className="flex flex-col mr-0 sm:mr-10 mt-5 sm:mt-0">
<a href="tel:021654412" className="text-sm text-darkCrimsonTextColor">
021654412
</a>
<a
href="mailto:webmaster@example.com"
className="text-sm text-darkCrimsonTextColor"
>
info@danovin.ir
</a>
3 years ago
</div>
{/* line */}
<img
src={lightGreenLine}
alt=""
className="hidden sm:block absolute left-72"
/>
</section>
);
};
export default ContactInfoSection;