0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

add user dropdown correct options

This commit is contained in:
Juan de la Cruz 2016-12-19 12:10:56 +01:00
parent 7860be4a50
commit 1142885656
3 changed files with 21 additions and 7 deletions

View file

@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500.00001 500.00001">
<path d="M0 66.22v367.56h500V66.22H0zm88.984 47.68h322.032L250 274.916 88.984 113.9zM47.68 147.746L250 349.922l202.32-202.176V386.1H47.68V147.746z"/>
</svg>

After

Width:  |  Height:  |  Size: 234 B

View file

@ -768,3 +768,14 @@
[:path
{:d
"M45.455 22.727C20.34 22.727 0 43.067 0 68.182v272.726c0 25.114 20.34 45.455 45.455 45.455h159.09v45.455h-45.453v45.455h181.816v-45.455h-45.453v-45.455h159.09c25.114 0 45.455-20.34 45.455-45.455V68.182c0-25.114-20.34-45.455-45.455-45.455H45.455zm0 45.455h409.09v272.726H45.455V68.182zm35.56 98.13v91.106h20.54V219.41h31.44v38.008h20.68V166.31h-20.68v35.075h-31.44V166.31h-20.54zm87.89 0v17.327h25.013v73.778H214.6v-73.78h25.01v-17.327h-70.704zm86.048 0v91.106h18.865V224.02c0-2.234-.093-4.703-.28-7.405-.185-2.7-.42-5.402-.698-8.103-.186-2.795-.42-5.497-.7-8.106-.28-2.7-.558-5.17-.837-7.406h.558l7.27 21.1 13.972 35.353h8.244L315.32 214.1l7.545-21.1h.56c-.28 2.236-.56 4.705-.84 7.406-.28 2.61-.557 5.31-.837 8.106-.28 2.7-.513 5.402-.7 8.103-.185 2.702-.278 5.17-.278 7.406v33.398h19.144V166.31h-21.66l-14.813 40.944-5.448 15.93h-.558l-5.45-15.93-15.232-40.943h-21.8zm107.44 0v91.106h56.593v-17.326h-36.052v-73.78h-20.54z"}]]]))
(def mail
(html
[:svg
{:viewBox "0 0 500.00001 500.00001"
:height "500"
:width "500"}
[:g
[:path
{:d
"M0 66.22v367.56h500V66.22H0zm88.984 47.68h322.032L250 274.916 88.984 113.9zM47.68 147.746L250 349.922l202.32-202.176V386.1H47.68V147.746z"}]]]))

View file

@ -22,15 +22,15 @@
{:mixins [mx/static]}
[open?]
[:ul.dropdown {:class (when-not open? "hide")}
[:li
i/page
[:span "Page settings"]]
[:li
i/eye
[:span "Preview"]]
[:li {:on-click #(r/go :settings/profile)}
i/user
[:span "Your account"]]
[:span "Profile"]]
[:li {:on-click #(r/go :settings/password)}
i/lock
[:span "Password"]]
[:li {:on-click #(r/go :settings/notifications)}
i/mail
[:span "Notifications"]]
[:li {:on-click #(st/emit! (da/logout))}
i/exit
[:span "Exit"]]])