From 24ceda0b5f59723b210cea332fdaeb5b53745f4f Mon Sep 17 00:00:00 2001 From: Jan Wojciechowski Date: Wed, 6 Sep 2023 21:48:11 +0200 Subject: [PATCH] feature: Hackerrank link --- awesome-cv.cls | 10 ++++++++++ examples/coverletter.tex | 1 + examples/cv.tex | 1 + examples/resume.tex | 1 + 4 files changed, 13 insertions(+) diff --git a/awesome-cv.cls b/awesome-cv.cls index 961410e00..da3d76229 100644 --- a/awesome-cv.cls +++ b/awesome-cv.cls @@ -342,6 +342,10 @@ % Usage: \kaggle{} \newcommand*{\kaggle}[1]{\def\@kaggle{#1}} +% Defines writer's Hackerrank (optional) +% Usage: \hackerrank{} +\newcommand*{\hackerrank}[1]{\def\@hackerrank{#1}} + % Defines writer's google scholar profile (optional) % Usage: \googlescholar{}{} % e.g.https://scholar.google.co.uk/citations?user=wpZDx1cAAAAJ @@ -583,6 +587,12 @@ \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% \href{https://kaggle.com/\@kaggle}{\faKaggle\acvHeaderIconSep\@kaggle}% }% + \ifthenelse{\isundefined{\@hackerrank}}% + {}% + {% + \ifbool{isstart}{\setbool{isstart}{false}}{\acvHeaderSocialSep}% + \href{https://www.hackerrank.com/\@hackerrank}{\faHackerrank\acvHeaderIconSep\@hackerrank}% + }% \ifthenelse{\isundefined{\@googlescholarid}}% {}% {% diff --git a/examples/coverletter.tex b/examples/coverletter.tex index c2d165b02..2fd6003cc 100644 --- a/examples/coverletter.tex +++ b/examples/coverletter.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/cv.tex b/examples/cv.tex index d055f79d4..f7cdd98d7 100644 --- a/examples/cv.tex +++ b/examples/cv.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{medium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{} diff --git a/examples/resume.tex b/examples/resume.tex index 415dcea50..de75064cf 100644 --- a/examples/resume.tex +++ b/examples/resume.tex @@ -68,6 +68,7 @@ % \reddit{reddit-id} % \medium{madium-id} % \kaggle{kaggle-id} +% \hackerrank{hackerrank-id} % \googlescholar{googlescholar-id}{name-to-display} %% \firstname and \lastname will be used % \googlescholar{googlescholar-id}{}