Skip to content

Commit

Permalink
feat: footer link
Browse files Browse the repository at this point in the history
  • Loading branch information
sunithvs committed Dec 27, 2024
1 parent 190ede2 commit 4a3782f
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions docs/2024-wrapped.html
Original file line number Diff line number Diff line change
Expand Up @@ -388,7 +388,7 @@ <h2 class="text-2xl font-bold">2024 Wrapped</h2>
<div>
<h2 class="text-xl font-bold">Quick Links</h2>
<ul class="mt-4">
<li><a href="#" class="hover:text-lime-500 transition-colors">Home</a></li>
<li><a href="/" class="hover:text-lime-500 transition-colors">Home</a></li>
<li><a href="https://devb.io/#how-to" class="hover:text-lime-500 transition-colors">How It Works</a></li>
<li><a href="https://github.com/sunithvs/devb.io" class="hover:text-lime-500 transition-colors">Contribute</a>
</li>
Expand Down Expand Up @@ -634,25 +634,6 @@ <h2 class="text-xl font-bold">Follow us</h2>
}, 2000);
};
});
//
// shareBtn.addEventListener('click', async () => {
// const svgElement = document.querySelector("#svg-container svg");
// if (!svgElement) return;
//
// const svgData = new XMLSerializer().serializeToString(svgElement);
// const blob = new Blob([svgData], {type: "image/png"});
// const file = new File([blob], "wrapped-2024.png", { type: "image/png" });
//
// try {
// await navigator.share({
// files: [file],
// title: '2024 GitHub Wrapped',
// text: 'Check out my 2024 GitHub Wrapped!'
// });
// } catch (error) {
// console.error('Error sharing:', error);
// }
// });
shareBtn.addEventListener('click', async () => {
const svgElement = document.querySelector("#svg-container svg");
if (!svgElement) return;
Expand Down

0 comments on commit 4a3782f

Please sign in to comment.