Skip to content

Commit f3ccf66

Browse files
Updated github calender
1 parent 1763cd6 commit f3ccf66

File tree

1 file changed

+14
-3
lines changed

1 file changed

+14
-3
lines changed

index.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -274,9 +274,19 @@ <h1 class="content__heading paddingTop" id="github_contributions">Github Contrib
274274
</div>
275275

276276
<script>
277-
GitHubCalendar(".calendar", "onkar-shaligram");
278-
// or enable responsive functionality
279-
GitHubCalendar(".calendar", "onkar-shaligram", { responsive: true });
277+
GitHubCalendar(".calendar", "onkar-shaligram");
278+
279+
// or enable responsive functionality:
280+
GitHubCalendar(".calendar", "onkar-shaligram",
281+
{ responsive: true }
282+
);
283+
284+
// Use a proxy
285+
GitHubCalendar(".calendar", "onkar-shaligram",
286+
{ proxy (username)
287+
{
288+
return fetch(`https://your-proxy.com/github?user=${username}`).then(r => r.text())
289+
}});
280290
</script>
281291

282292
</div>
@@ -429,3 +439,4 @@ <h1 class="content__heading">Get in Touch</h1>
429439
</body>
430440

431441
</html>
442+

0 commit comments

Comments
 (0)