generated from boboko/starter
setting up front 1
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
<div
|
||||
data-controller="back-to-top"
|
||||
class="back-to-top fixed right-8 bottom-6 w-[120px] z-[100]"
|
||||
aria-label="Back to top"
|
||||
>
|
||||
<a
|
||||
href="#"
|
||||
data-action="click->back-to-top#scrollToTop"
|
||||
aria-label="Scroll back to top"
|
||||
>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
viewBox="0 0 135 124"
|
||||
aria-hidden="true"
|
||||
class="block w-full h-auto overflow-visible"
|
||||
>
|
||||
<g class="back-to-top-shape">
|
||||
<path d="m88.4 0 4 28.9 29.7-5.2-14.3 25.7L135 62l-27.2 12.6 14.3 25.7-29.7-5.2-4 28.9-20.9-21.1L46.6 124l-4-28.9-29.7 5.2 14.3-25.7L0 62l27.2-12.6-14.3-25.7 29.7 5.2 4-28.9 20.9 21.1L88.4 0z"/>
|
||||
</g>
|
||||
<g class="back-to-top-arrow">
|
||||
<path fill="none" stroke="#000" stroke-width="5" d="M85.1 59.5 67.5 42 50 59.5M67.6 42v44.4"/>
|
||||
</g>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
Reference in New Issue
Block a user