1
+ "use client" ;
2
+
1
3
import {
2
4
SiDiscord ,
3
- SiEbay ,
4
- SiEtsy ,
5
5
SiGithub ,
6
- SiGoogleplay ,
7
- SiFacebook ,
8
6
SiInstagram ,
9
7
SiLinkedin ,
10
- SiReddit ,
8
+ SiMedium ,
9
+ SiPatreon ,
11
10
SiUdemy ,
12
11
SiX ,
12
+ SiYoutube ,
13
13
} from "react-icons/si" ;
14
+ import GitHubButton from "react-github-btn" ;
15
+ import packageJson from "../package.json" ;
14
16
import "styles/footer.css" ;
15
17
const Footer = ( ) => {
16
18
const currentYear = new Date ( ) . getFullYear ( ) ;
@@ -21,26 +23,10 @@ const Footer = () => {
21
23
url : "https://discord.gg/RFjtXKfJy3" ,
22
24
icon : < SiDiscord className = "discord" size = { iconSize } /> ,
23
25
} ,
24
- {
25
- url : "https://ebay.com/usr/ditectrev" ,
26
- icon : < SiEbay className = "ebay" size = { iconSize } /> ,
27
- } ,
28
- {
29
- url : "https://ditectrev.etsy.com" ,
30
- icon : < SiEtsy className = "etsy" size = { iconSize } /> ,
31
- } ,
32
- {
33
- url : "https://facebook.com/ditectrev" ,
34
- icon : < SiFacebook className = "facebook" size = { iconSize } /> ,
35
- } ,
36
26
{
37
27
url : "https://github.com/ditectrev" ,
38
28
icon : < SiGithub className = "github" size = { iconSize } /> ,
39
29
} ,
40
- {
41
- url : "https://play.google.com/store/books/author?id=Daniel+Danielecki" ,
42
- icon : < SiGoogleplay className = "googleplay" size = { iconSize } /> ,
43
- } ,
44
30
{
45
31
url : "https://instagram.com/ditectrev" ,
46
32
icon : < SiInstagram className = "instagram" size = { iconSize } /> ,
@@ -50,8 +36,12 @@ const Footer = () => {
50
36
icon : < SiLinkedin className = "linkedin" size = { iconSize } /> ,
51
37
} ,
52
38
{
53
- url : "https://reddit.com/user/Ditectrev" ,
54
- icon : < SiReddit className = "reddit" size = { iconSize } /> ,
39
+ url : "https://medium.com/@ditectrev" ,
40
+ icon : < SiMedium className = "medium" size = { iconSize } /> ,
41
+ } ,
42
+ {
43
+ url : "https://patreon.com/Ditectrev" ,
44
+ icon : < SiPatreon className = "patreon" size = { iconSize } /> ,
55
45
} ,
56
46
{
57
47
url : "https://udemy.com/user/social-ditectrev" ,
@@ -61,6 +51,10 @@ const Footer = () => {
61
51
url : "https://x.com/ditectrev" ,
62
52
icon : < SiX className = "x" size = { iconSize } /> ,
63
53
} ,
54
+ {
55
+ url : "https://youtube.com/@Ditectrev" ,
56
+ icon : < SiYoutube className = "youtube" size = { iconSize } /> ,
57
+ } ,
64
58
] ;
65
59
66
60
return (
@@ -79,6 +73,22 @@ const Footer = () => {
79
73
</ a >
80
74
) ) }
81
75
</ div >
76
+
77
+ { /* GitHub Star and Version */ }
78
+ < div className = "flex flex-col sm:flex-row items-center justify-center gap-2 mb-4" >
79
+ < GitHubButton
80
+ href = "https://github.com/Ditectrev/Practice-Exams-Platform"
81
+ data-color-scheme = "no-preference: dark; light: light; dark: dark;"
82
+ data-icon = "octicon-star"
83
+ data-size = "large"
84
+ data-show-count = "true"
85
+ aria-label = "Star Practice Exams Platform on GitHub"
86
+ >
87
+ Star
88
+ </ GitHubButton >
89
+ < span className = "text-slate-400 text-xs" > v{ packageJson . version } </ span >
90
+ </ div >
91
+
82
92
< p className = "text-white text-sm flex justify-center" >
83
93
© { currentYear } Ditectrev
84
94
</ p >
0 commit comments