File tree 2 files changed +29
-22
lines changed
2 files changed +29
-22
lines changed Original file line number Diff line number Diff line change 1
1
import { FiGithub , FiTwitter , FiInstagram , FiBook } from 'react-icons/fi' ;
2
- import { Link } from 'react-router-dom ' ;
2
+ import AppFooterCopyright from './AppFooterCopyright ' ;
3
3
4
4
const socialLinks = [
5
5
{
@@ -48,29 +48,9 @@ const AppFooter = () => {
48
48
) ) }
49
49
</ ul >
50
50
</ div >
51
- { /* Footer social links end */ }
52
51
53
52
{ /* Footer copyright start */ }
54
- < div className = "font-general-regular flex justify-center items-center text-center" >
55
- < div className = "text-lg text-ternary-dark dark:text-ternary-light" >
56
- © { new Date ( ) . getFullYear ( ) }
57
- < Link
58
- to = "https://github.com/realstoman/react-tailwindcss-portfolio"
59
- className = "hover:underline ml-1"
60
- >
61
- React & TailwindCSS Portfolio
62
- </ Link >
63
- .
64
- < Link
65
- to = "https://stoman.me"
66
- target = "__blank"
67
- className = "text-secondary-dark dark:text-secondary-light uppercase hover:underline ml-1"
68
- >
69
- Stoman
70
- </ Link >
71
- </ div >
72
- </ div >
73
- { /* Footer copyright end */ }
53
+ < AppFooterCopyright />
74
54
</ div >
75
55
</ div >
76
56
) ;
Original file line number Diff line number Diff line change
1
+ import { Link } from 'react-router-dom' ;
2
+
3
+ function AppFooterCopyright ( ) {
4
+ return (
5
+ < div className = "font-general-regular flex justify-center items-center text-center" >
6
+ < div className = "text-lg text-ternary-dark dark:text-ternary-light" >
7
+ © { new Date ( ) . getFullYear ( ) }
8
+ < Link
9
+ to = "https://github.com/realstoman/react-tailwindcss-portfolio"
10
+ className = "hover:underline ml-1"
11
+ >
12
+ React & TailwindCSS Portfolio
13
+ </ Link >
14
+ .
15
+ < Link
16
+ to = "https://stoman.me"
17
+ target = "__blank"
18
+ className = "text-secondary-dark dark:text-secondary-light uppercase hover:underline ml-1"
19
+ >
20
+ Stoman
21
+ </ Link >
22
+ </ div >
23
+ </ div >
24
+ ) ;
25
+ }
26
+
27
+ export default AppFooterCopyright ;
You can’t perform that action at this time.
0 commit comments