Skip to content

Commit 10fc471

Browse files
committed
feat: Added GitHub Hits and Stars badges to Footer
1 parent 0d7e105 commit 10fc471

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

src/components/layout/footer.tsx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import Link from 'next/link';
2+
import Image from 'next/image';
23
import { FolderTreeIcon } from 'lucide-react';
34

45
const Footer = () => {
@@ -62,6 +63,38 @@ const Footer = () => {
6263
Contribute to the project!
6364
</a>
6465
</p>
66+
<div className="flex space-x-4 mt-2">
67+
<a
68+
href='https://hits.seeyoufarm.com'
69+
aria-label="View page visit counter"
70+
title="Page visit counter by Hits.seeyoufarm.com"
71+
className="inline-block"
72+
>
73+
<Image
74+
src="https://hits.seeyoufarm.com/api/count/incr/badge.svg?url=https%3A%2F%2Fgithub.com%2Fcoder-ralph%2FRepoTree&count_bg=%232563EB&title_bg=%23555555&icon=&icon_color=%23E7E7E7&title=hits&edge_flat=false"
75+
alt="Page visit counter"
76+
width={90}
77+
height={20}
78+
unoptimized
79+
className="opacity-50 hover:opacity-100 transition-opacity"
80+
/>
81+
</a>
82+
<a
83+
href='https://github.com/coder-ralph/RepoTree/stargazers'
84+
aria-label="GitHub Stars"
85+
title="Stars on GitHub"
86+
className="inline-block"
87+
>
88+
<Image
89+
src="https://img.shields.io/github/stars/coder-ralph/RepoTree?logo=Github"
90+
alt="GitHub Stars"
91+
width={80}
92+
height={20}
93+
unoptimized
94+
className="opacity-50 hover:opacity-100 transition-opacity"
95+
/>
96+
</a>
97+
</div>
6598
</div>
6699
</div>
67100
<div className="mt-8 pt-8 border-t border-gray-200 dark:border-gray-700 text-center text-sm sm:text-base md:text-lg text-gray-600 dark:text-gray-300">

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy