| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- // styling
- import styles from './styles.module.scss';
- // components
- import Spring from '@components/Spring';
- // hooks
- import {useThemeProvider} from '@contexts/themeContext';
- // assets
- import support_light from '@assets/support_light.webp';
- import support_dark from '@assets/support_dark.webp';
- // utils
- import classNames from 'classnames';
- const GeneralSupport = () => {
- const {theme, direction} = useThemeProvider();
- return (
- <Spring className="card d-flex flex-column h-1 card-padded p-relative">
- <div className={classNames(`cover ${styles[direction]}`, { [styles.cover_dark]: theme === 'dark' })}>
- <img src={theme === 'light' ? support_light : support_dark } alt="media" height="100%"/>
- </div>
- <div className="d-flex flex-column justify-content-between align-items-start flex-1 p-relative z-2">
- <div>
- <h3>Get support</h3>
- <p className="text-12">We will call you back</p>
- </div>
- <a className="d-inline-flex align-items-center g-10 h3" href="tel:+1234567890">
- <i className="icon-phone-solid" />
- 8 800 325 44 86
- </a>
- <button className="btn btn--sm">Start chat</button>
- </div>
- </Spring>
- )
- }
- export default GeneralSupport
|