17 lines
No EOL
503 B
Text
17 lines
No EOL
503 B
Text
{% capture css %}
|
|
{% render "../../assets/styles/components/post-graph.css" %}
|
|
{% endcapture %}
|
|
<style>{{ css }}</style>
|
|
<div class="post-graph">
|
|
{% assign years = postYears | reverse %}
|
|
{%- for year in years %}
|
|
<div class="post-graph__wrapper">
|
|
<div class="post-graph__year">{{ year.year }}</div>
|
|
<div class="post-graph__progress" style="width: {{ year.yearProgress }}%">
|
|
</div>
|
|
<div class="post-graph__data">
|
|
{{ year.postCount }}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div> |