summaryrefslogtreecommitdiffstats
path: root/yaac-another-awesome-cv.cls
diff options
context:
space:
mode:
authoralcysec <alcysec@users.noreply.github.com>2018-10-10 14:47:05 +0300
committerGitHub <noreply@github.com>2018-10-10 14:47:05 +0300
commit348ca3bebe9ac92a0eeeae3521f7031609f2016d (patch)
treebc3171b968a25564a76bb0e3701ee8a14ad838bd /yaac-another-awesome-cv.cls
parenta00d58ae0290c666b756c04684053e9c304416cd (diff)
downloadcv-348ca3bebe9ac92a0eeeae3521f7031609f2016d.tar.gz
cv-348ca3bebe9ac92a0eeeae3521f7031609f2016d.tar.bz2
cv-348ca3bebe9ac92a0eeeae3521f7031609f2016d.tar.xz
cv-348ca3bebe9ac92a0eeeae3521f7031609f2016d.zip
Fontawesome 5 compatibility
Fontawesome has been upgraded to version 5. The new fontawesome5 package has few syntaxes changes. Fixed website usage typo.
Diffstat (limited to 'yaac-another-awesome-cv.cls')
-rwxr-xr-xyaac-another-awesome-cv.cls10
1 files changed, 5 insertions, 5 deletions
diff --git a/yaac-another-awesome-cv.cls b/yaac-another-awesome-cv.cls
index f131767..6d0638a 100755
--- a/yaac-another-awesome-cv.cls
+++ b/yaac-another-awesome-cv.cls
@@ -63,7 +63,7 @@
\RequirePackage[usenames,dvipsnames]{xcolor}
\RequirePackage{fullpage}
\RequirePackage[margin=1.5cm]{geometry}
-\RequirePackage{fontawesome}
+\RequirePackage{fontawesome5}
\RequirePackage{hyperref}
\RequirePackage{titlesec}
\RequirePackage{array}
@@ -171,7 +171,7 @@
\newcommand{\infoSymbol}{\faInfo}
\newcommand{\linkedinSymbol}{\faLinkedin}
\newcommand{\viadeoSymbol}{\faViadeo}
-\newcommand{\mobileSymbol}{\faMobilePhone}
+\newcommand{\mobileSymbol}{\faMobile*}
\newcommand{\githubSymbol}{\faGithub}
\newcommand{\mediumSymbol}{\faMedium}
@@ -244,8 +244,8 @@
\newcommand*{\email}[1]{\sociallink{\mailSymbol}{mailto:#1}{#1}}
% Render a website link (optional)
-% Usage: \email{<email adress>}
-\newcommand*{\website}[2]{\sociallink{\faExternalLink}{#1}{#2}}
+% Usage: \website{<website name>}{<website adress>}
+\newcommand*{\website}[2]{\sociallink{\faExternalLink*}{#1}{#2}}
% Render author's mobile phone (optional)
% Usage: \smartphone{<mobile phone number>}
@@ -361,7 +361,7 @@
% Render a skill in the skills environment
% Usage: \skill{<skill>}{<level>}
\newcommand\skill[2]{
- \textbf{#1} & \foreach \x in {1,...,5}{{\color{accentcolor!80} \ifnumgreater{\x}{#2}{\faCircleThin}{\faCircle}}\enspace } \\
+ \textbf{#1} & \foreach \x in {1,...,5}{{\color{accentcolor!80} \ifnumgreater{\x}{#2}{\faCircle[regular]}{\faCircle}}\enspace } \\
}
\newcolumntype{E}{>{\raggedright\arraybackslash}p{\rightcolumnlength}}