1- import { Color } from "../../../../ styles/colors" ;
1+ import { Color } from "@ styles/colors" ;
22import { FC , Suspense } from "react" ;
33import FaqCard from "./components/FaqsCard" ;
4- import LessThanIcon from "../../../../assets/images/LessThanBlueIcon.svg" ;
5- import MoreThanIcon from "../../../../assets/images/LessThanBlueWhiteIcon.svg" ;
6- import SectionWrapper from "../../../../components/SectionWrapper/SectionWrapper" ;
7- import { faqsData } from "./FaqsData" ;
84import { useWindowSize } from "react-use" ;
9- import { MOBILE_BREAKPOINT } from "../../../../constants/BreakPoints" ;
10- import flickr from "../../../../assets/images/flickr.svg" ;
11- import youtube from "../../../../assets/images/youtube.svg" ;
12- import slides from "../../../../assets/images/slides.png" ;
13- import Logo from "../../../../assets/images/logo.svg" ;
14- import { StyledLoadingImage } from "../../../../components/Loading/Loading" ;
5+ import { MOBILE_BREAKPOINT } from "@constants/BreakPoints" ;
6+ import { StyledLoadingImage } from "@components/Loading/Loading" ;
7+ import { SectionWrapper } from "@components/SectionWrapper/SectionWrapper" ;
158import {
169 StyledFaqSection ,
1710 StyledH2 ,
@@ -21,6 +14,7 @@ import {
2114 StyleLessIcon ,
2215 StyleMoreIcon ,
2316} from "./Faqs.style" ;
17+ import { faqsData } from "@views/Home/components/Faqs/FaqsData" ;
2418
2519const Faqs : FC < React . PropsWithChildren < unknown > > = ( ) => {
2620 const { width } = useWindowSize ( ) ;
@@ -34,13 +28,17 @@ const Faqs: FC<React.PropsWithChildren<unknown>> = () => {
3428 < div id = "last-jbcnconf" > </ div >
3529 < div style = { { width : "60%" } } >
3630 < StyledH2 > Check last JBCNConf edition</ StyledH2 >
37- < Suspense fallback = { < StyledLoadingImage src = { Logo } /> } >
31+ < Suspense
32+ fallback = { < StyledLoadingImage src = { "/images/logo.svg" } /> }
33+ >
3834 < StyledImage
3935 src = "images/jbcnconf/jbcnconf-1.jpg"
4036 alt = "JBCNConf"
4137 />
4238 </ Suspense >
43- < Suspense fallback = { < StyledLoadingImage src = { Logo } /> } >
39+ < Suspense
40+ fallback = { < StyledLoadingImage src = { "/images/logo.svg" } /> }
41+ >
4442 < StyledImage
4543 src = "images/jbcnconf/jbcnconf-2.jpg"
4644 alt = "JBCNConf - Keynote"
@@ -58,27 +56,42 @@ const Faqs: FC<React.PropsWithChildren<unknown>> = () => {
5856 rel = "noreferrer"
5957 target = "_blank"
6058 >
61- < img src = { flickr } alt = "flickr" height = { 32 } width = { 32 } />
59+ < img
60+ src = "/images/flickr.svg"
61+ alt = "flickr"
62+ height = { 32 }
63+ width = { 32 }
64+ />
6265 </ a >
6366 < a
6467 href = "https://www.youtube.com/watch?v=zFPpwRyl4Iw& list = PLo0fJV3LkR3z42GevLgXlQfNFP2qfgtrq "
6568 rel = "noreferrer"
6669 target = "_blank"
6770 >
68- < img src = { youtube } alt = "Youtube" height = { 32 } width = { 32 } />
71+ < img
72+ src = "/images/youtube.svg"
73+ alt = "Youtube"
74+ height = { 32 }
75+ width = { 32 }
76+ />
6977 </ a >
7078 < a
7179 href = "https://docs.google.com/presentation/d/1t1RnYOqcoP8Bo1GVyiGyW-mY_2bBpUspnW8nqXDUbGI/edit?usp=sharing"
7280 rel = "noreferrer"
7381 target = "_blank"
7482 >
75- < img src = { slides } alt = "Summary Slides" height = { 32 } width = { 32 } />
83+ < img
84+ src = "/images/slides.png"
85+ alt = "Summary Slides"
86+ height = { 32 }
87+ width = { 32 }
88+ />
7689 </ a >
7790 </ div >
7891 { width > MOBILE_BREAKPOINT && (
7992 < >
80- < StyleMoreIcon src = { MoreThanIcon } />
81- < StyleLessIcon src = { LessThanIcon } />
93+ < StyleMoreIcon src = "/images/LessThanBlueWhiteIcon.svg" />
94+ < StyleLessIcon src = "/images/LessThanBlueIcon.svg" />
8295 </ >
8396 ) }
8497 </ StyledFaqSection >
0 commit comments