mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
added contacts
This commit is contained in:
parent
9d5db84456
commit
87959ff55f
5 changed files with 103 additions and 11 deletions
25
src/components/boris/BorisContactItem/index.tsx
Normal file
25
src/components/boris/BorisContactItem/index.tsx
Normal file
|
@ -0,0 +1,25 @@
|
|||
import React, { FC } from 'react';
|
||||
import styles from './styles.module.scss';
|
||||
import { Icon } from '~/components/input/Icon';
|
||||
|
||||
interface Props {
|
||||
icon: string;
|
||||
title: string;
|
||||
subtitle: string;
|
||||
link: string;
|
||||
}
|
||||
|
||||
const BorisContactItem: FC<Props> = ({ icon, title, subtitle, link }) => (
|
||||
<a className={styles.item} href={link} target="_blank">
|
||||
<div className={styles.icon}>
|
||||
<Icon icon={icon} size={32} />
|
||||
</div>
|
||||
|
||||
<div className={styles.info}>
|
||||
<div className={styles.title}>{title}</div>
|
||||
<div className={styles.subtitle}>{subtitle}</div>
|
||||
</div>
|
||||
</a>
|
||||
);
|
||||
|
||||
export { BorisContactItem };
|
Loading…
Add table
Add a link
Reference in a new issue