defer loading of external contents

This commit is contained in:
2022-02-13 13:04:54 +01:00
parent e07255fc3e
commit dab1e8b469
3 changed files with 46 additions and 6 deletions

View File

@@ -3,7 +3,12 @@ layout: home
---
<a href="https://profile.codersrank.io/user/siphalor" aria-label="My CodersRank profile" style="height:111px">
<codersrank-activity username="Siphalor" legend="false" labels branding="false" tooltip step="5"
title="Combined activity graph from GitHub, GitLab and others" aria-hidden="true"></codersrank-activity>
<span class="cr-placeholder"><!--
<codersrank-activity username="Siphalor" legend="false" labels branding="false" tooltip step="5"
title="Combined activity graph from GitHub, GitLab and others" aria-hidden="true"></codersrank-activity>
-->
Click here to load external content from codersrank.io. Your preference will be saved.
</span>
</a>
<script src="https://unpkg.com/@codersrank/activity/codersrank-activity.min.js"></script>
<script>prepareCodersrank()</script>