Formatting and hamburger icon

This commit is contained in:
Imbus 2023-11-14 02:25:56 +01:00
parent 46cfedb963
commit d46794fc17

View file

@ -13,7 +13,8 @@ export function Arrow(): JSXElement {
<path <path
stroke-linecap="round" stroke-linecap="round"
stroke-linejoin="round" stroke-linejoin="round"
d="M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" /> d="M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3"
/>
</svg> </svg>
); );
} }
@ -21,3 +22,23 @@ export function Arrow(): JSXElement {
export function loadSpinner(): JSXElement { export function loadSpinner(): JSXElement {
return <span class="loading loading-spinner loading-lg self-center"></span>; return <span class="loading loading-spinner loading-lg self-center"></span>;
} }
// Hamburger menu icon
export function Bars(): JSXElement {
return (
<svg
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="w-6 h-6"
>
<path
stroke-linecap="round"
stroke-linejoin="round"
d="M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"
/>
</svg>
);
}