File tree 3 files changed +88
-0
lines changed
3 files changed +88
-0
lines changed Original file line number Diff line number Diff line change
1
+ const AboutClientSingle = ( { clients } ) => {
2
+ return (
3
+ < >
4
+ { clients . map ( ( client ) => (
5
+ < img
6
+ src = { client . img }
7
+ className = "w-64 py-5 px-10 border border-ternary-light dark:border-ternary-dark shadow-sm rounded-xl mb-8 cursor-pointer"
8
+ alt = { client . title }
9
+ />
10
+ ) ) }
11
+ </ >
12
+ ) ;
13
+ } ;
14
+
15
+ export default AboutClientSingle ;
Original file line number Diff line number Diff line change
1
+ import AmazonImage from '../images/brands/amazon_gray.png' ;
2
+ import SonyImage from '../images/brands/sony_gray.png' ;
3
+ import AdidasImage from '../images/brands/adidas_gray.png' ;
4
+ import FilaImage from '../images/brands/fila_gray.png' ;
5
+ import NBImage from '../images/brands/nb_gray.png' ;
6
+ import SamsungImage from '../images/brands/samsung_gray.png' ;
7
+ import CanonImage from '../images/brands/canon_gray.png' ;
8
+ import PumaImage from '../images/brands/puma_gray.png' ;
9
+ import AboutClientSingle from './AboutClientSingle' ;
10
+
11
+ const clientsHeading = 'Some of the brands I worked with' ;
12
+ const clientsData = [
13
+ {
14
+ id : 1 ,
15
+ title : 'Amazon' ,
16
+ img : AmazonImage ,
17
+ } ,
18
+ {
19
+ id : 2 ,
20
+ title : 'Sony' ,
21
+ img : SonyImage ,
22
+ } ,
23
+ {
24
+ id : 3 ,
25
+ title : 'Adidas' ,
26
+ img : AdidasImage ,
27
+ } ,
28
+ {
29
+ id : 4 ,
30
+ title : 'FILA' ,
31
+ img : FilaImage ,
32
+ } ,
33
+ {
34
+ id : 5 ,
35
+ title : 'NB' ,
36
+ img : NBImage ,
37
+ } ,
38
+ {
39
+ id : 6 ,
40
+ title : 'SAMSUNG' ,
41
+ img : SamsungImage ,
42
+ } ,
43
+ {
44
+ id : 7 ,
45
+ title : 'CANON' ,
46
+ img : CanonImage ,
47
+ } ,
48
+ {
49
+ id : 7 ,
50
+ title : 'PUMA' ,
51
+ img : PumaImage ,
52
+ } ,
53
+ ] ;
54
+
55
+ const AboutClients = ( ) => {
56
+ return (
57
+ < div className = "mt-10 sm:mt-20" >
58
+ < p className = "text-2xl sm:text-4xl text-primary-dark dark:text-primary-light font-sans font-semibold" >
59
+ { clientsHeading }
60
+ </ p >
61
+ < div className = "grid grid-cols-2 sm:grid-cols-4 mt-10 sm:mt-20 gap-2" >
62
+ < AboutClientSingle clients = { clientsData } />
63
+ </ div >
64
+ </ div >
65
+ ) ;
66
+ } ;
67
+
68
+ export default AboutClients ;
Original file line number Diff line number Diff line change
1
+ import AboutClients from '../components/AboutClients' ;
1
2
import AboutCounter from '../components/AboutCounter' ;
2
3
import AboutMeBio from '../components/AboutMeBio' ;
3
4
@@ -10,6 +11,10 @@ const About = () => {
10
11
11
12
{ /** Counter without paddings */ }
12
13
< AboutCounter />
14
+
15
+ < div className = "container mx-auto" >
16
+ < AboutClients />
17
+ </ div >
13
18
</ div >
14
19
) ;
15
20
} ;
You can’t perform that action at this time.
0 commit comments