fix(main-page): improve message style

This commit is contained in:
Ivan R. 2024-04-02 18:53:31 +05:00
parent 4104b04f17
commit 07590d3891
Signed by: lumin
GPG key ID: 927D3132247BDE4E

View file

@ -8,18 +8,18 @@
<body>
<div class="page">
<h1>{{ .title }}</h1>
{{ if not .groups }}
<p>
You don't have any links.<br />
Go to settings and create one.
</p>
{{ end }}
<div class="controls">
{{if not .groups}}
<p>
You don't have any links.
Go to <a href="/settings" style="text-decoration: underline">settings</a> and create one.
</p>
{{else}}
<a href="/settings">
<img src="/assets/icons/solid/gear.svg" width="20" height="20" /> Settings
</a>
{{end}}
{{ if ne .style "list" }}
<a href="/?style=list">