Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Update detour nav icon #2775

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions assets/src/helpers/navIcons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,34 @@ export type NavIconProps = ComponentPropsWithoutRef<"svg">
export const DetourNavIcon = (props: NavIconProps) => (
<svg
xmlns="http://www.w3.org/2000/svg"
height="100%"
width="100%"
viewBox="0 0 30 30"
height="100%"
viewBox="0 0 24 24"
fill="none"
aria-hidden
{...props}
>
<path
d="M3.29289 25.2929C2.90237 25.6834 2.90237 26.3166 3.29289 26.7071C3.68342 27.0976 4.31658 27.0976 4.70711 26.7071L3.29289 25.2929ZM7.5 22.5L8.20711 23.2071C8.39464 23.0196 8.5 22.7652 8.5 22.5H7.5ZM7.5 12L6.83564 11.2526C6.62215 11.4424 6.5 11.7144 6.5 12H7.5ZM12 8L12.3162 7.05132C11.9769 6.9382 11.603 7.01495 11.3356 7.25259L12 8ZM19.5 10.5L19.1838 11.4487C19.5431 11.5685 19.9393 11.4749 20.2071 11.2071L19.5 10.5ZM27 4C27 3.44772 26.5523 3 26 3H17C16.4477 3 16 3.44772 16 4C16 4.55228 16.4477 5 17 5H25V13C25 13.5523 25.4477 14 26 14C26.5523 14 27 13.5523 27 13V4ZM4.70711 26.7071L8.20711 23.2071L6.79289 21.7929L3.29289 25.2929L4.70711 26.7071ZM8.5 22.5V12H6.5V22.5H8.5ZM8.16436 12.7474L12.6644 8.74741L11.3356 7.25259L6.83564 11.2526L8.16436 12.7474ZM11.6838 8.94868L19.1838 11.4487L19.8162 9.55132L12.3162 7.05132L11.6838 8.94868ZM20.2071 11.2071L26.7071 4.70711L25.2929 3.29289L18.7929 9.79289L20.2071 11.2071Z"
d="M0.292893 22.2929C-0.0976311 22.6834 -0.0976311 23.3166 0.292893 23.7071C0.683417 24.0976 1.31658 24.0976 1.70711 23.7071L0.292893 22.2929ZM4.5 19.5L5.20711 20.2071C5.39464 20.0196 5.5 19.7652 5.5 19.5H4.5ZM4.5 9L3.83564 8.25259C3.62215 8.44236 3.5 8.71436 3.5 9H4.5ZM9 5L9.31623 4.05132C8.97689 3.9382 8.60298 4.01495 8.33564 4.25259L9 5ZM16.5 7.5L16.1838 8.44868C16.5431 8.56846 16.9393 8.47494 17.2071 8.20711L16.5 7.5ZM24 1C24 0.447715 23.5523 0 23 0H14C13.4477 0 13 0.447715 13 1C13 1.55228 13.4477 2 14 2H22V10C22 10.5523 22.4477 11 23 11C23.5523 11 24 10.5523 24 10V1ZM1.70711 23.7071L5.20711 20.2071L3.79289 18.7929L0.292893 22.2929L1.70711 23.7071ZM5.5 19.5V9H3.5V19.5H5.5ZM5.16436 9.74741L9.66436 5.74741L8.33564 4.25259L3.83564 8.25259L5.16436 9.74741ZM8.68377 5.94868L16.1838 8.44868L16.8162 6.55132L9.31623 4.05132L8.68377 5.94868ZM17.2071 8.20711L23.7071 1.70711L22.2929 0.292893L15.7929 6.79289L17.2071 8.20711Z"
fill="currentColor"
/>
<path
d="M7 23L20 10"
d="M6.52809 17.457L7.9423 16.0428"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
/>
<path
d="M9.79289 14.207L11.2071 12.7928"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
strokeDasharray="2 3"
/>
<path
d="M13.0577 10.957L14.4719 9.54282"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
/>
</svg>
)
Loading