-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
166 additions
and
54 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
import React from 'react'; | ||
import { Contact } from '../types/Contact'; | ||
import { FiGithub, FiLinkedin, FiMail, FiSend } from 'react-icons/fi'; | ||
|
||
type Props = { | ||
contact: Contact; | ||
}; | ||
|
||
const ContactCard: React.FC<Props> = ({ contact }) => { | ||
const { | ||
name: devName, | ||
image, | ||
motto, | ||
linkedIn, | ||
github, | ||
email, | ||
telegramLink, | ||
} = contact; | ||
|
||
return ( | ||
<article | ||
className="card box-border p-8 relative | ||
flex flex-col gap-4 | ||
border border-secondary rounded-lg | ||
min-w-[272px] | ||
bg-white text-primary | ||
hover:shadow-card" | ||
> | ||
<a href={linkedIn} target="_blank"> | ||
<img | ||
alt={devName} | ||
src={require(`../assets/images/team/${image}`)} | ||
className="w-[210px] h-[210px] object-cover rounded-full self-center" | ||
/> | ||
</a> | ||
|
||
<h2 className="font-bold text-xl">{devName}</h2> | ||
|
||
<ul className="text-secondary"> | ||
<li> | ||
<a | ||
href={linkedIn} | ||
className="flex gap-2 items-center hover:text-secondary-accent" | ||
target="_blank" | ||
> | ||
<FiLinkedin /> | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
href={github} | ||
className="flex gap-2 items-center hover:text-secondary-accent" | ||
target="_blank" | ||
> | ||
<FiGithub /> | ||
Github | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
href={`mailto:${email}`} | ||
className="flex gap-2 items-center hover:text-secondary-accent" | ||
> | ||
<FiMail /> | ||
</a> | ||
</li> | ||
<li> | ||
<a | ||
href={telegramLink} | ||
className="flex gap-2 items-center hover:text-secondary-accent" | ||
target="_blank" | ||
> | ||
<FiSend /> | ||
Telegram | ||
</a> | ||
</li> | ||
</ul> | ||
|
||
<p>{motto}</p> | ||
</article> | ||
); | ||
}; | ||
|
||
export default ContactCard; |
This file contains 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 characters
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export interface Contact { | ||
name: string; | ||
image: string; | ||
id: string; | ||
telegramLink: string; | ||
github: string; | ||
email: string; | ||
linkedIn: string; | ||
motto: string; | ||
} |
This file contains 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 characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
import { Contact } from '../types/Contact'; | ||
|
||
export const contacts: Contact[] = [ | ||
{ | ||
name: 'Maksym Kuznetsov', | ||
image: 'maksym_kuznetsov.jfif', | ||
id: 'dev-0', | ||
telegramLink: 'https://t.me/MaxSchmide', | ||
github: 'https://github.com/MaxSchmide', | ||
email: 'kuznetsov.max.v@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/maxschmide/', | ||
motto: "It's not a bug, it's a feature", | ||
}, | ||
{ | ||
name: 'Olha Sheliakina', | ||
image: 'olha_sheliakina.jfif', | ||
id: 'dev-1', | ||
telegramLink: 'https://t.me/olia_sheliakina', | ||
github: 'https://github.com/OlhaSheliakina', | ||
email: 'olha.sheliakina.mail@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/olha-sheliakina-248497283', | ||
motto: "Code, Debug, Don't Cry (Much)", | ||
}, | ||
{ | ||
name: 'Nazar Baraban', | ||
image: 'nazar_baraban.jfif', | ||
id: 'dev-2', | ||
telegramLink: 'https://t.me/nazar_10_04', | ||
github: 'https://github.com/NazarBaraban', | ||
email: 'barabannazar44@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/nazar-baraban-5661b5283/', | ||
motto: 'Programmers never make mistakes, we just have unexpected features', | ||
}, | ||
{ | ||
name: 'Ihor Hladkov', | ||
image: 'ihor_hladkov.jfif', | ||
id: 'dev-3', | ||
telegramLink: 'https://t.me/ihorhladkov', | ||
github: 'https://github.com/ihorhladkov', | ||
email: 'ihor.hladkov@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/ihor-hladkov-b9b481283/', | ||
motto: | ||
'Once, I asked, "What is the meaning of life?" In response, I received, "Read the documentation."', | ||
}, | ||
{ | ||
name: 'Vlad Roznatovskyi', | ||
image: 'vlad_roznatovskyi.jfif', | ||
id: 'dev-4', | ||
telegramLink: 'https://t.me/perfectAcedia', | ||
github: 'https://github.com/perfectAcedia', | ||
email: 'vladyslav.roznatovskyi@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/vladyslav-roznatovskyi-3b9491283/', | ||
motto: 'No desire, no hire', | ||
}, | ||
{ | ||
name: 'Olena Vats', | ||
image: 'olena_vats.jfif', | ||
id: 'dev-5', | ||
telegramLink: 'https://t.me/olenaOle1', | ||
github: 'https://github.com/olena-ole', | ||
email: 'olenavats.employment@gmail.com', | ||
linkedIn: 'https://www.linkedin.com/in/olena-vats-20ab131b8/', | ||
motto: 'It works on my machine', | ||
}, | ||
]; |