diff options
| author | Eltrac <hi@guhub.cn> | 2025-02-03 19:55:32 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-02-03 19:55:32 +0800 |
| commit | 6267dd43a2910c8ae7257baaba5eacbf569518ab (patch) | |
| tree | 7aa2554e6541be281e96f74c33c71e1bfec17f31 /layouts/partials/components | |
| parent | 67383a3a076bd6c1fef57e7502c1c9809c0d4519 (diff) | |
refactor: encapsulate heatmap component
Diffstat (limited to 'layouts/partials/components')
| -rw-r--r-- | layouts/partials/components/heatmap.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/layouts/partials/components/heatmap.html b/layouts/partials/components/heatmap.html new file mode 100644 index 00000000..269e7f52 --- /dev/null +++ b/layouts/partials/components/heatmap.html @@ -0,0 +1,14 @@ +<!-- Post Word-count Heatmap --> +<div id="cal-heatmap-container"> + <div id="cal-heatmap"></div> +</div> +<script>initCalHeatmap();</script> +<style> + #cal-heatmap-container { + display: flex; + width: 100%; + overflow-x: auto; + justify-content: flex-end; + margin: 1rem 0; + } +</style> |
