REWORK button: add option for multiple button, CHANGE font
This commit is contained in:
parent
db7ec5795f
commit
f696b07527
9 changed files with 81 additions and 63 deletions
7
layouts/partials/components/button.html
Normal file
7
layouts/partials/components/button.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ $outlined := "outlined"}}
|
||||
<a class="{{if eq .type $outlined}} button-outlined {{else}} button-filled {{end}}" href="{{ .url }}">
|
||||
{{ with .icon }}
|
||||
<i class="icon-{{ . }}"></i>
|
||||
{{ end }}
|
||||
{{ .text }}
|
||||
</a>
|
Loading…
Add table
Add a link
Reference in a new issue