create main menu and dropdown menu

This commit is contained in:
yzned
2025-07-20 19:53:42 +03:00
committed by yzned
parent bba27be7e2
commit 0ce3c0307f
10 changed files with 240 additions and 66 deletions

3
src/icons/share.svg Normal file
View File

@@ -0,0 +1,3 @@
<svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M12 4.5C12 4.63261 11.9473 4.75979 11.8536 4.85355C11.7598 4.94732 11.6326 5 11.5 5C11.3674 5 11.2402 4.94732 11.1464 4.85355C11.0527 4.75979 11 4.63261 11 4.5V1.7075L6.85437 5.85375C6.76055 5.94757 6.63331 6.00028 6.50062 6.00028C6.36794 6.00028 6.2407 5.94757 6.14688 5.85375C6.05305 5.75993 6.00035 5.63268 6.00035 5.5C6.00035 5.36732 6.05305 5.24007 6.14688 5.14625L10.2925 1H7.5C7.36739 1 7.24021 0.947321 7.14645 0.853553C7.05268 0.759785 7 0.632608 7 0.5C7 0.367392 7.05268 0.240215 7.14645 0.146447C7.24021 0.0526785 7.36739 0 7.5 0H11.5C11.6326 0 11.7598 0.0526785 11.8536 0.146447C11.9473 0.240215 12 0.367392 12 0.5V4.5ZM9.5 6C9.36739 6 9.24021 6.05268 9.14645 6.14645C9.05268 6.24021 9 6.36739 9 6.5V11H1V3H5.5C5.63261 3 5.75979 2.94732 5.85355 2.85355C5.94732 2.75979 6 2.63261 6 2.5C6 2.36739 5.94732 2.24021 5.85355 2.14645C5.75979 2.05268 5.63261 2 5.5 2H1C0.734784 2 0.48043 2.10536 0.292893 2.29289C0.105357 2.48043 0 2.73478 0 3V11C0 11.2652 0.105357 11.5196 0.292893 11.7071C0.48043 11.8946 0.734784 12 1 12H9C9.26522 12 9.51957 11.8946 9.70711 11.7071C9.89464 11.5196 10 11.2652 10 11V6.5C10 6.36739 9.94732 6.24021 9.85355 6.14645C9.75979 6.05268 9.63261 6 9.5 6Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 1.3 KiB