Skip to content

Commit

Permalink
add a link in Navigation to my profile
Browse files Browse the repository at this point in the history
  • Loading branch information
humorless committed Aug 2, 2024
1 parent e2e2d22 commit 8b60222
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/co/gaiwan/compass/html/navigation.clj
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@
[:p "Welcome, " name]
[:a {:href "/logout"} "Sign out"]]
[:a {:href (oauth/flow-init-url)} "Sign-in with Discord"])]
(when user
[:li [:a {:href (str "/profiles/" (:db/id user))} "My Profile"]])
[:li [:a {:href "/"} "Sessions & Activities"]]
[:li [:a {:href "/"} "Attendees"]]
[:li [:a {:href "/"} "Profile & Settings"]]
Expand Down

0 comments on commit 8b60222

Please sign in to comment.