diff --git a/src/context.jsonld b/src/context.jsonld index 6ffc880..46a6a86 100644 --- a/src/context.jsonld +++ b/src/context.jsonld @@ -4,5 +4,7 @@ "object": "http://happy-dev.fr/owl/#object", "author": "http://happy-dev.fr/owl/#author", "account": "http://happy-dev.fr/owl/#account", - "jabberID": "foaf:jabberID" + "jabberID": "foaf:jabberID", + "firstName": "http://happy-dev.fr/owl/#first_name", + "lastName": "http://happy-dev.fr/owl/#last_name" } diff --git a/src/header.pug b/src/header.pug index 9347750..9edcdb0 100644 --- a/src/header.pug +++ b/src/header.pug @@ -17,7 +17,7 @@ include templates/hd-user-avatar.pug details#user-controls summary(tabindex='0' role='button') sib-display#user-controls__profile( - fields='first_name, account.picture' + fields='firstName, account.picture' widget-account.picture='hd-user-avatar' bind-user ) diff --git a/src/styles/base/header.scss b/src/styles/base/header.scss index 894ae90..51cc2af 100644 --- a/src/styles/base/header.scss +++ b/src/styles/base/header.scss @@ -157,7 +157,7 @@ width: 45%; } - sib-display-value[name='first_name'] { + sib-display-value[name='firstName'] { @include icon('arrow-down'); align-items: center; display: flex;