File tree 2 files changed +53
-2
lines changed
2 files changed +53
-2
lines changed Original file line number Diff line number Diff line change
1
+ const AboutCounter = ( ) => {
2
+ return (
3
+ < div className = "mt-10 sm:mt-20 bg-primary-light dark:bg-ternary-dark shadow-sm" >
4
+ < div className = "container mx-auto py-20 block sm:flex sm:justify-between sm:items-center" >
5
+ < div className = "mb-20 sm:mb-0" >
6
+ < h2 className = "text-4xl font-bold text-secondary-dark dark:text-secondary-light mb-2" >
7
+ 12
8
+ </ h2 >
9
+ < span className = "block text-md text-ternary-dark dark:text-ternary-light" >
10
+ Years of experience
11
+ </ span >
12
+ </ div >
13
+
14
+ < div className = "mb-20 sm:mb-0" >
15
+ < h2 className = "text-4xl font-bold text-secondary-dark dark:text-secondary-light mb-2" >
16
+ 20k+
17
+ </ h2 >
18
+ < span className = "block text-md text-ternary-dark dark:text-ternary-light" >
19
+ Stars on GitHub
20
+ </ span >
21
+ </ div >
22
+
23
+ < div className = "mb-20 sm:mb-0" >
24
+ < h2 className = "text-4xl font-bold text-secondary-dark dark:text-secondary-light mb-2" >
25
+ 92%
26
+ </ h2 >
27
+ < span className = "block text-md text-ternary-dark dark:text-ternary-light" >
28
+ Positive feedback
29
+ </ span >
30
+ </ div >
31
+
32
+ < div className = "mb-20 sm:mb-0" >
33
+ < h2 className = "text-4xl font-bold text-secondary-dark dark:text-secondary-light mb-2" >
34
+ 77
35
+ </ h2 >
36
+ < span className = "block text-md text-ternary-dark dark:text-ternary-light" >
37
+ Projects completed
38
+ </ span >
39
+ </ div >
40
+ </ div >
41
+ </ div >
42
+ ) ;
43
+ } ;
44
+
45
+ export default AboutCounter ;
Original file line number Diff line number Diff line change
1
+ import AboutCounter from '../components/AboutCounter' ;
1
2
import AboutMeBio from '../components/AboutMeBio' ;
2
3
3
4
const About = ( ) => {
4
5
return (
5
- < div className = "container mx-auto" >
6
- < AboutMeBio />
6
+ < div >
7
+ < div className = "container mx-auto" >
8
+ < AboutMeBio />
9
+ </ div >
10
+
11
+ { /** Counter without paddings */ }
12
+ < AboutCounter />
7
13
</ div >
8
14
) ;
9
15
} ;
You can’t perform that action at this time.
0 commit comments