File tree Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Expand file tree Collapse file tree 1 file changed +2
-14
lines changed Original file line number Diff line number Diff line change 1
- import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' ;
2
- import { Link } from 'react-router-dom' ;
3
-
4
1
import { ReactComponent as HeroIllustration } from '../assets/images/hero-illustration.svg' ;
5
- import { SocialLink , socialLinks } from '../data/Social ' ;
2
+ import SocialLinks from './SocialLinks ' ;
6
3
7
4
const HeroSection = ( ) => {
8
5
return (
@@ -25,16 +22,7 @@ const HeroSection = () => {
25
22
< h2 className = "mb-4 font-serif text-xl font-medium text-dark-900 dark:text-white md:text-3xl" >
26
23
Connect with me
27
24
</ h2 >
28
- < div className = "flex items-center gap-4" >
29
- { socialLinks . map ( ( link : SocialLink ) => (
30
- < Link to = { link . url } key = { link . id } >
31
- < FontAwesomeIcon
32
- icon = { link . icon }
33
- className = "h-8 w-8 text-dark-900 shadow-sm transition-transform duration-300 ease-linear hover:-translate-y-1 hover:text-blue-600 dark:text-white dark:hover:text-blue-400"
34
- />
35
- </ Link >
36
- ) ) }
37
- </ div >
25
+ < SocialLinks />
38
26
</ div >
39
27
</ div >
40
28
< div className = "grow" >
You can’t perform that action at this time.
0 commit comments