mirror of
https://github.com/Snigdha-OS/snigdhaos-web-dev.git
synced 2025-09-06 21:25:11 +02:00
🐛 fix(bump): unnecessary lines has been deleted
This commit is contained in:
@@ -17,18 +17,6 @@ export function Footer() {
|
|||||||
fetchGithubFollowers();
|
fetchGithubFollowers();
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
// Fetch GitLab follower count
|
|
||||||
// useEffect(() => {
|
|
||||||
// async function fetchGitlabFollowers() {
|
|
||||||
// const response = await fetch('https://gitlab.com/api/v4/users/Snigdha-OS');
|
|
||||||
// const data = await response.json();
|
|
||||||
// if (data[0]?.followers_count !== undefined) {
|
|
||||||
// setGitlabFollowers(data[0].followers_count);
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
// fetchGitlabFollowers();
|
|
||||||
// }, []);
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<footer className="bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white py-10">
|
<footer className="bg-gradient-to-r from-gray-900 via-gray-800 to-gray-900 text-white py-10">
|
||||||
<div className="container mx-auto px-6">
|
<div className="container mx-auto px-6">
|
||||||
@@ -117,40 +105,6 @@ export function Footer() {
|
|||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{/* GitLab Follower Count Card */}
|
|
||||||
{/* <div className="bg-gray-800 p-4 rounded-lg shadow-lg flex items-center space-x-3">
|
|
||||||
<a
|
|
||||||
href="https://gitlab.com/Snigdha-OS"
|
|
||||||
className="hover:text-indigo-400 transition-all"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
>
|
|
||||||
<Gitlab className="h-7 w-7 text-white" />
|
|
||||||
</a>
|
|
||||||
{gitlabFollowers !== null && (
|
|
||||||
<div className="text-white">
|
|
||||||
<span className="block text-sm">Followers</span>
|
|
||||||
<span className="text-lg font-bold">{gitlabFollowers}</span>
|
|
||||||
</div>
|
|
||||||
)}
|
|
||||||
</div> */}
|
|
||||||
|
|
||||||
{/* Dev.to (No follower count, placeholder) */}
|
|
||||||
{/* <a
|
|
||||||
href="https://dev.to/SnigdhaOS"
|
|
||||||
className="hover:text-indigo-400 transition-all"
|
|
||||||
target="_blank"
|
|
||||||
rel="noopener noreferrer"
|
|
||||||
>
|
|
||||||
<svg
|
|
||||||
className="h-7 w-7 fill-current"
|
|
||||||
xmlns="http://www.w3.org/2000/svg"
|
|
||||||
viewBox="0 0 50 40"
|
|
||||||
>
|
|
||||||
<path d="M0 2.7v34.6c0 1.5.6 2.9 1.6 3.9 1 1 2.4 1.6 3.9 1.6h38.9c1.5 0 2.9-.6 3.9-1.6 1-1 1.6-2.4 1.6-3.9V2.7c0-1.5-.6-2.9-1.6-3.9-1-1-2.4-1.6-3.9-1.6H5.5c-1.5 0-2.9.6-3.9 1.6C.6-.2 0 1.2 0 2.7zm21.8 26.7h-3.9V10.6h3.9v18.8zm8.5 0h-3.3l-2.2-6.6h-1.5v6.6h-3.9V10.6h5.5c.7 0 1.3.1 1.9.4s1 .6 1.4 1.1.7 1 .9 1.7c.2.6.3 1.3.3 2v2.6c0 .7-.1 1.4-.3 2s-.5 1.1-.9 1.6c-.4.5-.8.8-1.4 1.1-.6.2-1.2.4-1.9.4h-1.6l2 6.3h2.4l3.5-6.3v6.3zm9.5 0h-3.9v-6.6h-5.6v6.6h-3.9V10.6h3.9v6.2h5.6v-6.2h3.9v18.8z" />
|
|
||||||
</svg>
|
|
||||||
</a> */}
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user