mirror of
https://codeberg.org/pluja/kycnot.me
synced 2025-04-16 13:43:19 -04:00
add support x, mastodon
This commit is contained in:
parent
d21df98439
commit
49b07a8f8d
@ -285,6 +285,26 @@
|
||||
<span>Matrix</span>
|
||||
</a>
|
||||
</li>
|
||||
{{else if eq .Platform "x" }}
|
||||
<li class="text-center hover:underline">
|
||||
<a class="flex items-center justify-center space-x-2" href="{{.Link}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="size-5 fill-white" width="1em" height="1em" viewBox="0 0 16 16">
|
||||
<path fill="white"
|
||||
d="M9.294 6.928L14.357 1h-1.2L8.762 6.147L5.25 1H1.2l5.31 7.784L1.2 15h1.2l4.642-5.436L10.751 15h4.05zM7.651 8.852l-.538-.775L2.832 1.91h1.843l3.454 4.977l.538.775l4.491 6.47h-1.843z" />
|
||||
</svg>
|
||||
<span>X</span>
|
||||
</a>
|
||||
</li>
|
||||
{{else if eq .Platform "mastodon" }}
|
||||
<li class="text-center hover:underline">
|
||||
<a class="flex items-center justify-center space-x-2" href="{{.Link}}">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" class="size-5 fill-white" width="1em" height="1em" viewBox="0 0 24 24">
|
||||
<path fill="white"
|
||||
d="M20.94 14c-.28 1.41-2.44 2.96-4.97 3.26c-1.31.15-2.6.3-3.97.24c-2.25-.11-4-.54-4-.54v.62c.32 2.22 2.22 2.35 4.03 2.42c1.82.05 3.44-.46 3.44-.46l.08 1.65s-1.28.68-3.55.81c-1.25.07-2.81-.03-4.62-.5c-3.92-1.05-4.6-5.24-4.7-9.5l-.01-3.43c0-4.34 2.83-5.61 2.83-5.61C6.95 2.3 9.41 2 11.97 2h.06c2.56 0 5.02.3 6.47.96c0 0 2.83 1.27 2.83 5.61c0 0 .04 3.21-.39 5.43M18 8.91c0-1.08-.3-1.91-.85-2.56c-.56-.63-1.3-.96-2.23-.96c-1.06 0-1.87.41-2.42 1.23l-.5.88l-.5-.88c-.56-.82-1.36-1.23-2.43-1.23c-.92 0-1.66.33-2.23.96C6.29 7 6 7.83 6 8.91v5.26h2.1V9.06c0-1.06.45-1.62 1.36-1.62c1 0 1.5.65 1.5 1.93v2.79h2.07V9.37c0-1.28.5-1.93 1.51-1.93c.9 0 1.35.56 1.35 1.62v5.11H18z" />
|
||||
</svg>
|
||||
<span>Mastodon</span>
|
||||
</a>
|
||||
</li>
|
||||
{{else}}
|
||||
<li class="text-center hover:underline">
|
||||
<a class="flex items-center justify-center space-x-2" href="{{.Link}}">
|
||||
|
Loading…
x
Reference in New Issue
Block a user