Files
sweet/www/components/homepage/ExampleArrow.tsx
T
Tim Hårek Andreassen a9b552945a www: Add aria-hidden to icons and illustrations (#2494)
Added `aria-hidden="true"` to all decorative icons and illustrations.

If there are any questions, suggestions or anything, please let me know
:)

Signed-off-by: Tim Hårek Andreassen <tim@harek.no>
2024-06-05 00:05:59 +02:00

39 lines
1.2 KiB
TypeScript

import type { JSX } from "preact";
export function ExampleArrow(
props: JSX.HTMLAttributes<HTMLDivElement>,
) {
return (
<svg
aria-hidden="true"
width="100%"
height="100%"
viewBox="0 0 137 291"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xml:space="preserve"
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"
class={`w-12 -my-8 relative z-10 mx-auto ${props?.class ?? ""}`}
>
<path
d="M50.704,18c46.89,80.967 38.288,189.344 5.941,254.255"
style="fill:none;stroke:#fff;stroke-width:36px;"
/>
<path
d="M18,207.944c13.297,11.903 33.957,43.376 38.645,64.311c19.034,-17.758 43.173,-31.125 62.237,-36.621"
style="fill:none;stroke:#fff;stroke-width:36px;"
/>
<path
d="M50.704,18c47.238,81.059 38.288,189.344 5.941,254.255"
style="fill:none;stroke-width:18px;"
class="stroke-gray-600"
/>
<path
d="M18,207.944c13.044,11.646 33.957,43.376 38.645,64.311c19.034,-17.758 43.173,-31.125 62.237,-36.621"
style="fill:none;stroke-width:18px;"
class="stroke-gray-600"
/>
</svg>
);
}