add support for matrix

This commit is contained in:
pluja 2024-10-07 17:35:41 +02:00
parent 547c1e0223
commit d21df98439
No known key found for this signature in database

View File

@ -269,9 +269,27 @@
<span>SimpleX</span>
</a>
</li>
{{else if eq .Platform "matrix" }}
<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="icon size-5 fill-white icon-tabler icon-tabler-brand-matrix"
width="44" height="44" viewBox="0 0 24 24" stroke-width="1.5" stroke="#ffffff" fill="none" stroke-linecap="round"
stroke-linejoin="round">
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
<path d="M4 3h-1v18h1" />
<path d="M20 21h1v-18h-1" />
<path d="M7 9v6" />
<path d="M12 15v-3.5a2.5 2.5 0 1 0 -5 0v.5" />
<path d="M17 15v-3.5a2.5 2.5 0 1 0 -5 0v.5" />
</svg>
<span>Matrix</span>
</a>
</li>
{{else}}
<li>
<p>{{.Platform}} - {{.Link}}</p>
<li class="text-center hover:underline">
<a class="flex items-center justify-center space-x-2" href="{{.Link}}">
<span>{{.Platform}}</span>
</a>
</li>
{{end}}
{{end}}