Skip to content

Commit

Permalink
Add LinkedIn link
Browse files Browse the repository at this point in the history
  • Loading branch information
kyleerhabor committed Feb 20, 2024
1 parent 52b11e4 commit 830dfee
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
1 change: 1 addition & 0 deletions resources/config.edn
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{:kyleerhabor.hello.core/debug? false
:kyleerhabor.hello.ui/title "Kyle Erhabor"
:kyleerhabor.hello.ui/email "kyleerhabor@gmail.com"
:kyleerhabor.hello.ui/linkedin "https://www.linkedin.com/in/kyleerhabor/"
:kyleerhabor.hello.ui/github "https://github.com/KyleErhabor"
:kyleerhabor.hello.ui/anilist "https://anilist.co/user/KlayLay"
:kyleerhabor.hello.ui/discord "klaylay"
Expand Down
5 changes: 5 additions & 0 deletions src/kyleerhabor/hello/ui.clj
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@
[:a {:href (str "mailto:" (::email config))
:title "My email"}
(update icon/mail 1 assoc :height height)]]
[:li
[:a {:href (::linkedin config)
:target "_blank"
:title "My LinkedIn profile"}
(update icon/linkedin 1 assoc :height height)]]
[:li
[:a {:href (::github config)
:target "_blank"
Expand Down
8 changes: 8 additions & 0 deletions src/kyleerhabor/hello/ui/icon.clj
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,11 @@
:stroke-width default-stroke-width}]
[:path {:d "m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7"
:stroke-width default-stroke-width}]])

(def linkedin
[:svg {:role "img"
:viewBox "0 0 24 24"
:xmlns "http://www.w3.org/2000/svg"
:fill "currentcolor"}
[:title "LinkedIn"]
[:path {:d "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"}]])

0 comments on commit 830dfee

Please sign in to comment.