From 348ca3bebe9ac92a0eeeae3521f7031609f2016d Mon Sep 17 00:00:00 2001
From: alcysec <alcysec@users.noreply.github.com>
Date: Wed, 10 Oct 2018 14:47:05 +0300
Subject: Fontawesome 5 compatibility

Fontawesome has been upgraded to version 5. The new fontawesome5 package has few syntaxes changes.

Fixed website usage typo.
---
 yaac-another-awesome-cv.cls | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

(limited to 'yaac-another-awesome-cv.cls')

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}}
-- 
cgit v1.2.1

