index.jsx 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. // styling
  2. import styles from './styles.module.scss';
  3. // components
  4. import Spring from '@components/Spring';
  5. import IconButton from '@ui/IconButton';
  6. // hooks
  7. import {useRef} from 'react';
  8. const StoreSupport = () => {
  9. const ref = useRef(null);
  10. return (
  11. <Spring className="card">
  12. <div className={`${styles.main} d-flex flex-column g-16`}>
  13. <span>We will call you back</span>
  14. <div className="d-flex align-items-center g-14">
  15. <IconButton color="blue-gradient" icon="phone-light" onClick={() => ref.current.click()}/>
  16. <div className="d-flex flex-column g-4">
  17. <a className="h2" href="tel:+88003254486" ref={ref}>8 800 3254486</a>
  18. <h6 className="label text-highlight lh-1">24/7 Support</h6>
  19. </div>
  20. </div>
  21. </div>
  22. <div className={`${styles.footer} d-grid col-2 g-24`}>
  23. <button className="btn">Start chat</button>
  24. <button className="btn btn--outlined">Voice call</button>
  25. </div>
  26. </Spring>
  27. )
  28. }
  29. export default StoreSupport