1+ "use client" ;
2+
13import {
24 SiDiscord ,
3- SiEbay ,
4- SiEtsy ,
55 SiGithub ,
6- SiGoogleplay ,
7- SiFacebook ,
86 SiInstagram ,
97 SiLinkedin ,
10- SiReddit ,
8+ SiMedium ,
9+ SiPatreon ,
1110 SiUdemy ,
1211 SiX ,
12+ SiYoutube ,
1313} from "react-icons/si" ;
14+ import GitHubButton from "react-github-btn" ;
15+ import packageJson from "../package.json" ;
1416import "styles/footer.css" ;
1517const Footer = ( ) => {
1618 const currentYear = new Date ( ) . getFullYear ( ) ;
@@ -21,26 +23,10 @@ const Footer = () => {
2123 url : "https://discord.gg/RFjtXKfJy3" ,
2224 icon : < SiDiscord className = "discord" size = { iconSize } /> ,
2325 } ,
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- } ,
3626 {
3727 url : "https://github.com/ditectrev" ,
3828 icon : < SiGithub className = "github" size = { iconSize } /> ,
3929 } ,
40- {
41- url : "https://play.google.com/store/books/author?id=Daniel+Danielecki" ,
42- icon : < SiGoogleplay className = "googleplay" size = { iconSize } /> ,
43- } ,
4430 {
4531 url : "https://instagram.com/ditectrev" ,
4632 icon : < SiInstagram className = "instagram" size = { iconSize } /> ,
@@ -50,8 +36,12 @@ const Footer = () => {
5036 icon : < SiLinkedin className = "linkedin" size = { iconSize } /> ,
5137 } ,
5238 {
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 } /> ,
5545 } ,
5646 {
5747 url : "https://udemy.com/user/social-ditectrev" ,
@@ -61,6 +51,10 @@ const Footer = () => {
6151 url : "https://x.com/ditectrev" ,
6252 icon : < SiX className = "x" size = { iconSize } /> ,
6353 } ,
54+ {
55+ url : "https://youtube.com/@Ditectrev" ,
56+ icon : < SiYoutube className = "youtube" size = { iconSize } /> ,
57+ } ,
6458 ] ;
6559
6660 return (
@@ -79,6 +73,22 @@ const Footer = () => {
7973 </ a >
8074 ) ) }
8175 </ 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+
8292 < p className = "text-white text-sm flex justify-center" >
8393 © { currentYear } Ditectrev
8494 </ p >
0 commit comments