WIP: start page with header
This commit is contained in:
parent
9d834470a6
commit
06b0b4d643
18 changed files with 1683 additions and 9 deletions
13
layouts/partials/components/button.html
Normal file
13
layouts/partials/components/button.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<!--
|
||||
type: string - default filled
|
||||
text: string
|
||||
icon: string (optional)
|
||||
url: string
|
||||
-->
|
||||
{{ $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