33import { useState , useRef } from 'react'
44import Image from 'next/image' ;
55import { Trans } from 'react-i18next' ;
6- //import LecodeLogoBackground from '@/images/lecode-logo-background.svg';
7- import SetaEsquerda from '../../images/seta-esquerda.svg' ;
8- import SetaDireita from '../../images/seta-direita.svg' ;
6+ import SetaEsquerda from '../../images/seta-esquerda.svg' ;
7+ import SetaDireita from '../../images/seta-direita.svg' ;
98import novoLogo from '../../../public/clients/novoLogo.svg'
109import autonomyLogo from '../../../public/clients/autonomyLogo.svg'
1110import ethicsNetLogo2 from '../../../public/clients/ethicsNetLogo2.svg'
1211import falconsLogo from '../../../public/clients/falconsLogo.svg'
1312import scouthubLogo from '../../../public/clients/scouthubLogo.svg'
1413import workStory from '../../../public/clients/workStory.svg'
1514import synergyLogo from '../../../public/clients/synergyLogo.svg'
16- // import {LogoBackground} from '../../app/(components)/(testimony)/styles';
15+ import bentCareLogo from '../../../public/clients/bentCareLogo.svg'
1716import {
1817 CarouselContainer ,
1918 CarouselWrapper ,
@@ -26,22 +25,16 @@ import {
2625} from './styles'
2726
2827const logos = [
29- { src : novoLogo , alt : 'Novo Logo' } ,
28+ { src : workStory , alt : 'Work Story Logo' } ,
29+ { src : falconsLogo , alt : 'Falcons Logo' } ,
3030 { src : autonomyLogo , alt : 'Autonomy Logo' } ,
3131 { src : synergyLogo , alt : 'Synergy Logo' } ,
32- { src : falconsLogo , alt : 'Falcons Logo' } ,
3332 { src : scouthubLogo , alt : 'Scouthub Logo' } ,
34- { src : workStory , alt : 'Work Story Logo' } ,
33+ { src : novoLogo , alt : 'Novo Logo' } ,
34+ { src : bentCareLogo , alt : 'bentCareLogo' } ,
3535 { src : ethicsNetLogo2 , alt : 'EthicsNet Logo' } ,
3636]
3737
38- // const BackgroundLogo = [
39- // { $top: '100px', $right: '-50px', $opacity: '9%' },
40- // { $top: '100px', $left: '-38px', $opacity: '9%' },
41- // { $bottom: '70px', $right: '15px',$opacity: '9%' },
42- // { $bottom: '70px', $left: '-48px', $opacity: '9%' },
43- // ]
44-
4538export function NewCarousel ( ) {
4639 const [ currentIndex , setCurrentIndex ] = useState ( 0 )
4740 const slideRef = useRef < HTMLDivElement > ( null )
@@ -66,22 +59,14 @@ export function NewCarousel () {
6659
6760 return (
6861 < CarouselContainer >
69- { /* {BackgroundLogo.map((props, index) => (
70- <LogoBackground
71- key={`logo-background-${index}` }
72- src={LecodeLogoBackground}
73- alt={`lecode-logo-background-${index}`}
74- {...props}
75- />
76- ))} */ }
7762 < TitleContainer >
7863 < Title >
7964 < Trans i18nKey = 'clients.subtitle' />
8065 </ Title >
8166 </ TitleContainer >
8267 < CarouselWrapper >
8368 < NavigationButton direction = "left" onClick = { prevSlide } >
84- < Image alt = 'setaEsquerda' src = { SetaEsquerda } />
69+ < Image alt = 'setaEsquerda' src = { SetaEsquerda } />
8570 </ NavigationButton >
8671
8772 < CarouselSlide ref = { slideRef } style = { {
@@ -97,21 +82,19 @@ export function NewCarousel () {
9782 style = { {
9883 width : '50%' ,
9984 flexShrink : 0 ,
100- padding : logo . alt === 'EthicsNet Logo' ? '20px 2.25rem' : '0 1rem ',
85+ padding : '0 0.5rem ',
10186 objectFit : 'contain'
10287 } }
10388 />
10489 ) ) }
10590 </ CarouselSlide >
106-
10791 < NavigationButton direction = "right" onClick = { nextSlide } >
108- < Image
109- alt = 'setaDireita'
110- src = { SetaDireita }
111- />
92+ < Image
93+ alt = 'setaDireita'
94+ src = { SetaDireita }
95+ />
11296 </ NavigationButton >
11397 </ CarouselWrapper >
114-
11598 < DotsContainer >
11699 { Array . from ( { length : totalDots } ) . map ( ( _ , index ) => (
117100 < Dot
0 commit comments