1
0
mirror of https://github.com/Damillora/Yuika synced 2024-11-05 10:27:32 +00:00
Yuika/partials/primary-tag.hbs

28 lines
747 B
Handlebars
Raw Normal View History

2020-11-11 19:54:23 +00:00
{{#if primary_tag}}
{{#primary_tag}}
2021-03-10 17:41:31 +00:00
<div class="pr-2">
<a href="{{url}}">
{{#if accent_color}}
<span class="tag-accent-color small" style="background-color: {{accent_color}};"></span>
{{else}}
<span class="tag-accent-color small"></span>{{name}}
{{/if}}
<span class="text-base text-white hover:underline">{{name}}</span>
</a>
</div>
2020-11-11 19:54:23 +00:00
{{/primary_tag}}
2021-03-10 17:41:31 +00:00
{{/if}}
{{#has visibility="paid"}}
<div class="pr-2">
<a href="/subscribe">
<span class="text-sm text-red-200 hover:underline">Autonomous Systems only</span>
</a>
</div>
{{/has}}
{{#has visibility="members"}}
<div class="pr-2">
<a href="/subscribe">
<span class="text-sm text-yuika-blue-200 hover:underline">Subscribers only</span>
</a>
</div>
{{/has}}