52 lines
1.1 KiB
TypeScript
52 lines
1.1 KiB
TypeScript
import styles from '@/styles/ContactCode.module.css';
|
|
|
|
const contactItems = [
|
|
{
|
|
social: 'website',
|
|
link: 'Portfolio',
|
|
href: 'https://ahmed.galadima.talenttic.com',
|
|
},
|
|
{
|
|
social: 'email',
|
|
link: 'ahmed.galadima@hotmail.com',
|
|
href: 'mailto:ahmed.galadima@hotmail.com',
|
|
},
|
|
{
|
|
social: 'github',
|
|
link: 'galads',
|
|
href: 'https://github.com/glimz',
|
|
},
|
|
{
|
|
social: 'linkedin',
|
|
link: 'Linkedin URL',
|
|
href: 'https://www.linkedin.com/in/ahmed-galadima',
|
|
},
|
|
{
|
|
social: 'twitter',
|
|
link: 'galads',
|
|
href: 'https://x.com/Mr_galads',
|
|
},
|
|
];
|
|
|
|
const ContactCode = () => {
|
|
return (
|
|
<div className={styles.code}>
|
|
<p className={styles.line}>
|
|
<span className={styles.className}>.socials</span> {
|
|
</p>
|
|
{contactItems.map((item, index) => (
|
|
<p className={styles.line} key={index}>
|
|
{item.social}:{' '}
|
|
<a href={item.href} target="_blank" rel="noopener">
|
|
{item.link}
|
|
</a>
|
|
;
|
|
</p>
|
|
))}
|
|
<p className={styles.line}>}</p>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default ContactCode;
|