adding more stuffs
This commit is contained in:
parent
fa74bbe4b3
commit
fb098dd974
99 changed files with 284 additions and 4 deletions
14
templates/shortcodes/floating_button.html
Normal file
14
templates/shortcodes/floating_button.html
Normal file
|
@ -0,0 +1,14 @@
|
|||
|
||||
<script>
|
||||
function floatButton() {
|
||||
document.getElementById("floatbutt").hidden = true;
|
||||
window.location.href = '{{ link }}';
|
||||
}
|
||||
</script>
|
||||
|
||||
<button class="!rounded-lg bg-blue-600 px-4 py-2 !text-neutral !no-underline hover:!bg-blue-500 dark:bg-blue-800 dark:hover:!bg-blue-700 fixed bottom-4 right-8" type="button" name="floatbutt" onclick="floatButton()" id="floatbutt">
|
||||
<i>{{ text }}</i>
|
||||
<span class="relative inline-block align-sub size-5 fill-current flex-auto">
|
||||
{{ load_data(path="icons/" ~ icon ~ ".svg") | safe }}
|
||||
</span>
|
||||
</button>
|
Loading…
Add table
Add a link
Reference in a new issue