diff --git a/src/co/gaiwan/compass/html/profiles.clj b/src/co/gaiwan/compass/html/profiles.clj index ca7f9b5..3de4a2e 100644 --- a/src/co/gaiwan/compass/html/profiles.clj +++ b/src/co/gaiwan/compass/html/profiles.clj @@ -20,11 +20,15 @@ (o/defstyled profile-detail :div#detail [c/image-frame :w-100px {t/--arc-thickness "7%"}] [:.details + [:.bio :mt-2] [:.links :my-2] [:.link :w-full :flex :flex-1 :py-1 :font-size-3] [:.link-type :w-12 :px-2] [:.link-ref :flex-grow :px-2]] - [:.contact-card :my-2] + [:.contact-card :my-6 :shadow-3 + {:background-color t/--surface-2 + :padding t/--size-3 + :border-radius t/--size-2}] ([{:public-profile/keys [name hidden?] :user/keys [uuid] :as user} viewer] [:<> diff --git a/src/co/gaiwan/compass/html/sessions.clj b/src/co/gaiwan/compass/html/sessions.clj index 9e9a079..a0f787d 100644 --- a/src/co/gaiwan/compass/html/sessions.clj +++ b/src/co/gaiwan/compass/html/sessions.clj @@ -198,7 +198,7 @@ [:<> [c/image-frame {:profile/image (user/avatar-css-value p)}] [:div.details - [:a {:href (url-for :profile/show {:profile-id (:user/uuid p)})} + [:a {:href (url-for :profile/show {:user-uuid (:user/uuid p)})} [:div.profile-name (:public-profile/name p)]]]])) (o/defstyled session-detail :div diff --git a/src/co/gaiwan/compass/routes/profiles.clj b/src/co/gaiwan/compass/routes/profiles.clj index aa80665..502384d 100644 --- a/src/co/gaiwan/compass/routes/profiles.clj +++ b/src/co/gaiwan/compass/routes/profiles.clj @@ -20,7 +20,7 @@ ;; (log/debug :debug {:req req}) {:html/body [h/profile-detail - (if-let [profile-id (get-in req [:path-params :profile-id])] + (if-let [profile-id (get-in req [:path-params :user-uuid])] (db/entity [:user/uuid (parse-uuid profile-id)]) (:identity req)) (:identity req)]})