0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-20 21:32:31 -05:00

refactor(console): update org template sidebar icon (#5691)

This commit is contained in:
Xiao Yijun 2024-04-15 10:04:39 +08:00 committed by GitHub
parent ca647a1b44
commit 5dcd153a40
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,3 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.0832 10.1832C11.5278 9.79828 11.8845 9.32224 12.1289 8.78736C12.3733 8.25247 12.4998 7.67126 12.4998 7.08317C12.4998 5.9781 12.0609 4.91829 11.2794 4.13689C10.498 3.35549 9.43824 2.9165 8.33317 2.9165C7.2281 2.9165 6.16829 3.35549 5.38689 4.13689C4.60549 4.91829 4.1665 5.9781 4.1665 7.08317C4.1665 7.67126 4.29301 8.25247 4.53744 8.78736C4.78188 9.32224 5.13852 9.79828 5.58317 10.1832C4.41662 10.7114 3.42689 11.5644 2.73232 12.6403C2.03775 13.7161 1.66773 14.9693 1.6665 16.2498C1.6665 16.4709 1.7543 16.6828 1.91058 16.8391C2.06686 16.9954 2.27882 17.0832 2.49984 17.0832C2.72085 17.0832 2.93281 16.9954 3.08909 16.8391C3.24537 16.6828 3.33317 16.4709 3.33317 16.2498C3.33317 14.9238 3.85996 13.652 4.79764 12.7143C5.73532 11.7766 7.00709 11.2498 8.33317 11.2498C9.65925 11.2498 10.931 11.7766 11.8687 12.7143C12.8064 13.652 13.3332 14.9238 13.3332 16.2498C13.3332 16.4709 13.421 16.6828 13.5772 16.8391C13.7335 16.9954 13.9455 17.0832 14.1665 17.0832C14.3875 17.0832 14.5995 16.9954 14.7558 16.8391C14.912 16.6828 14.9998 16.4709 14.9998 16.2498C14.9986 14.9693 14.6286 13.7161 13.934 12.6403C13.2395 11.5644 12.2497 10.7114 11.0832 10.1832ZM8.33317 9.58317C7.83872 9.58317 7.35537 9.43655 6.94425 9.16184C6.53312 8.88714 6.21269 8.49669 6.02347 8.03988C5.83425 7.58306 5.78474 7.0804 5.88121 6.59544C5.97767 6.11049 6.21577 5.66504 6.5654 5.3154C6.91504 4.96577 7.36049 4.72767 7.84545 4.63121C8.3304 4.53474 8.83306 4.58425 9.28988 4.77347C9.74669 4.96269 10.1371 5.28312 10.4118 5.69425C10.6865 6.10537 10.8332 6.58872 10.8332 7.08317C10.8332 7.74621 10.5698 8.3821 10.1009 8.85094C9.6321 9.31978 8.99621 9.58317 8.33317 9.58317ZM18.0915 7.60817C18.014 7.53006 17.9219 7.46807 17.8203 7.42576C17.7188 7.38345 17.6098 7.36167 17.4998 7.36167C17.3898 7.36167 17.2809 7.38345 17.1794 7.42576C17.0778 7.46807 16.9856 7.53006 16.9082 7.60817L15.2415 9.27484L14.7248 8.74984C14.6474 8.67173 14.5552 8.60974 14.4537 8.56743C14.3521 8.52512 14.2432 8.50334 14.1332 8.50334C14.0232 8.50334 13.9142 8.52512 13.8127 8.56743C13.7111 8.60974 13.619 8.67173 13.5415 8.74984C13.3863 8.90597 13.2992 9.11718 13.2992 9.33734C13.2992 9.55749 13.3863 9.7687 13.5415 9.92484L14.6582 11.0415C14.8143 11.1967 15.0255 11.2838 15.2457 11.2838C15.4658 11.2838 15.677 11.1967 15.8332 11.0415L18.0582 8.8165C18.1423 8.74094 18.2102 8.64904 18.2577 8.5464C18.3051 8.44377 18.3312 8.33254 18.3344 8.2195C18.3375 8.10645 18.3176 7.99396 18.2758 7.88886C18.2341 7.78376 18.1713 7.68826 18.0915 7.60817Z" fill="currentColor"/>
</svg>

After

Width:  |  Height:  |  Size: 2.6 KiB

View file

@ -11,6 +11,7 @@ import Hook from '@/assets/icons/hook.svg';
import JwtClaims from '@/assets/icons/jwt-claims.svg';
import Key from '@/assets/icons/key.svg';
import List from '@/assets/icons/list.svg';
import OrganizationTemplate from '@/assets/icons/organization-template-feature.svg';
import Organization from '@/assets/icons/organization.svg';
import UserProfile from '@/assets/icons/profile.svg';
import ResourceIcon from '@/assets/icons/resource.svg';
@ -100,7 +101,7 @@ export const useSidebarMenuItems = (): {
title: 'roles',
},
{
Icon: Role,
Icon: OrganizationTemplate,
title: 'organization_template',
isHidden: !isDevFeaturesEnabled,
},