Add hero images.
This commit is contained in:
8
layouts/_shortcodes/button.html
Normal file
8
layouts/_shortcodes/button.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<a
|
||||
class="!rounded-lg bg-primary-600 px-4 py-2 !text-neutral !no-underline hover:!bg-primary-500 dark:bg-primary-800 dark:hover:!bg-primary-700"
|
||||
{{ with .Get "href" }}href="{{ . }}"{{ end }}
|
||||
{{ with .Get "target" }}target="{{ . }}"{{ end }}
|
||||
{{ with .Get "rel" }}rel="{{ . }}"{{ end }}
|
||||
role="button">
|
||||
{{ .Inner }}
|
||||
</a>
|
8
layouts/_shortcodes/more.html
Normal file
8
layouts/_shortcodes/more.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<div class="flex cursor-pointer justify-end -mt-4">
|
||||
<a
|
||||
href="{{ .Params.href }}"
|
||||
class="rounded-lg border border-primary-400 px-2 py-[1px] text-s text-primary-700 dark:border-primary-600 dark:text-primary-400 hover:bg-primary-100 dark:hover:bg-primary-800 transition-colors duration-200 hover:rounded-lg"
|
||||
>
|
||||
Read more
|
||||
</a>
|
||||
</div>
|
Reference in New Issue
Block a user