11import { BIG_BREAKPOINT } from "@constants/BreakPoints" ;
22import { FC } from "react" ;
3- import LessThanBlueIcon from "@assets/images/LessThanBlueIcon.svg" ;
4- import emailIcon from "@assets/images/emailIcon.svg" ;
5- import blueskyIcon from "@assets/images/blueskyIcon.svg" ;
6- import instagramIcon from "@assets/images/instagramIcon.svg" ;
7- import flickrIcon from "@assets/images/flickr.svg" ;
8- import linkedinIcon from "@assets/images/linkedinIcon.svg" ;
9- import logo from "@assets/images/devBcn.png" ;
10- import twitterIcon from "@assets/images/twitterIcon.svg" ;
113import { useNavigate } from "react-router" ;
124import { useWindowSize } from "react-use" ;
135import data from "@data/2024.json" ;
14- import youtubeIcon from "@assets/images/youtubeIcon.svg" ;
156import {
167 StyledAbsoluteImg ,
178 StyledFlexCol ,
@@ -24,7 +15,7 @@ import {
2415 StyledLink ,
2516} from "./Styles.Footer" ;
2617
27- const Footer : FC < React . PropsWithChildren < unknown > > = ( ) => {
18+ export const Footer : FC < React . PropsWithChildren < unknown > > = ( ) => {
2819 const { width } = useWindowSize ( ) ;
2920
3021 const navigate = useNavigate ( ) ;
@@ -38,7 +29,10 @@ const Footer: FC<React.PropsWithChildren<unknown>> = () => {
3829 < StyledFooterAbsoluteContainer className = "Footer" >
3930 < StyledFooterContainer >
4031 < StyledFooterItem >
41- < StyledAbsoluteImg alt = "less than - icon" src = { LessThanBlueIcon } />
32+ < StyledAbsoluteImg
33+ alt = "less than - icon"
34+ src = "/images/LessThanBlueIcon.svg"
35+ />
4236 </ StyledFooterItem >
4337 < StyledFooterItem >
4438 < StyledFlexCol >
@@ -49,46 +43,46 @@ const Footer: FC<React.PropsWithChildren<unknown>> = () => {
4943 < StyledLink target = { "_blank" } href = { data . twitter } >
5044 < StyledFooterIcon
5145 alt = "twitter"
52- src = { twitterIcon }
46+ src = "/images/ twitterIcon.svg"
5347 height = { 24 }
5448 width = { 24 }
5549 />
5650 </ StyledLink >
5751 < StyledLink target = { "_blank" } href = { data . youtube } >
5852 < StyledFooterIcon
59- src = { youtubeIcon }
53+ src = "/images/ youtubeIcon.svg"
6054 alt = "youtube"
6155 height = { 24 }
6256 width = { 24 }
6357 />
6458 </ StyledLink >
6559 < StyledLink target = { "_blank" } href = { data . flickr } >
6660 < StyledFooterIcon
67- src = { flickrIcon }
61+ src = "/images/flickr.svg"
6862 alt = "facebook"
6963 height = { 24 }
7064 width = { 24 }
7165 />
7266 </ StyledLink >
7367 < StyledLink target = { "_blank" } href = { data . linkedin } >
7468 < StyledFooterIcon
75- src = { linkedinIcon }
69+ src = "/images/ linkedinIcon.svg"
7670 alt = "facebook"
7771 height = { 24 }
7872 width = { 24 }
7973 />
8074 </ StyledLink >
8175 < StyledLink target = { "_blank" } href = { data . bluesky } >
8276 < StyledFooterIcon
83- src = { blueskyIcon }
77+ src = "/images/ blueskyIcon.svg"
8478 alt = "facebook"
8579 height = { 24 }
8680 width = { 24 }
8781 />
8882 </ StyledLink >
8983 < StyledLink target = { "_blank" } href = { data . instagram } >
9084 < StyledFooterIcon
91- src = { instagramIcon }
85+ src = "/images/ instagramIcon.svg"
9286 alt = "facebook"
9387 height = { 24 }
9488 width = { 24 }
@@ -101,7 +95,7 @@ const Footer: FC<React.PropsWithChildren<unknown>> = () => {
10195 < StyledFooterItem >
10296 < StyledImg
10397 alt = "DevBcn"
104- src = { logo }
98+ src = "/images/devBcn.png"
10599 width = { 140 }
106100 height = { 72 }
107101 onClick = { handleLogoClick }
@@ -113,7 +107,7 @@ const Footer: FC<React.PropsWithChildren<unknown>> = () => {
113107 < StyledFlexRow >
114108 < StyledLink href = { `mailto: ${ data . email } ` } >
115109 < StyledFooterIcon
116- src = { emailIcon }
110+ src = "/images/ emailIcon.svg"
117111 alt = "email"
118112 height = { 24 }
119113 width = { 24 }
@@ -129,5 +123,3 @@ const Footer: FC<React.PropsWithChildren<unknown>> = () => {
129123 </ StyledFooterAbsoluteContainer >
130124 ) ;
131125} ;
132-
133- export default Footer ;
0 commit comments