-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
31 changed files
with
376 additions
and
393 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import Footer from '../footer'; | ||
import NavbarHeader from '../navbar-header'; | ||
|
||
<template> | ||
<NavbarHeader /> | ||
{{yield}} | ||
<Footer /> | ||
</template> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
<Skiplink @href="#main" @label={{t "common.skip-links.skip-to-content"}} /> | ||
<Skiplink @href="#footer" @label={{t "common.skip-links.skip-to-footer"}} /> | ||
|
||
<div class="navbar-header"> | ||
{{#if (media "isDesktop")}} | ||
<NavbarDesktopHeader @shouldShowTheMarianneLogo={{this.isFrenchDomainExtension}} /> | ||
{{else}} | ||
<NavbarMobileHeader @shouldShowTheMarianneLogo={{this.isFrenchDomainExtension}} /> | ||
{{/if}} | ||
</div> | ||
<header id="global-header" role="banner"> | ||
<div class="navbar-header"> | ||
{{#if (media "isDesktop")}} | ||
<NavbarDesktopHeader @shouldShowTheMarianneLogo={{this.isFrenchDomainExtension}} /> | ||
{{else}} | ||
<NavbarMobileHeader @shouldShowTheMarianneLogo={{this.isFrenchDomainExtension}} /> | ||
{{/if}} | ||
</div> | ||
</header> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,33 @@ | ||
<main id="main" class="background-banner-wrapper" role="main"> | ||
<div class="background-banner"></div> | ||
|
||
<div class="rounded-panel rounded-panel--strong rounded-panel--over-background-banner profile__panel"> | ||
<h1 class="sr-only">{{t "pages.profile.accessibility.title"}}</h1> | ||
|
||
<div class="rounded-panel-header-with-components"> | ||
<div class="rounded-panel-header__left-wrapper"> | ||
<div | ||
class="rounded-panel-header-text__content rounded-panel-title rounded-panel-header-text__content--first-title" | ||
> | ||
{{t "pages.profile.first-title" htmlSafe=true}} | ||
</div> | ||
</div> | ||
<div class="rounded-panel-header__right-wrapper"> | ||
<h2 class="sr-only">{{t "pages.profile.accessibility.user-score"}}</h2> | ||
<HexagonScore | ||
@pixScore={{@model.profile.pixScore}} | ||
@maxReachablePixScore={{@model.profile.maxReachablePixScore}} | ||
@maxReachableLevel={{@model.profile.maxReachableLevel}} | ||
/> | ||
</div> | ||
<main id="main" class="profile-scorecards global-page-container" role="main"> | ||
<section class="global-page-header"> | ||
<div class="global-page-header__left-content"> | ||
<h1 class="global-page-header__title"> | ||
{{t "pages.profile.title"}} | ||
</h1> | ||
<p class="global-page-header__description"> | ||
{{t "pages.profile.description"}} | ||
</p> | ||
</div> | ||
{{#if @model.profile.scorecards}} | ||
<ProfileScorecards | ||
@interactive={{true}} | ||
@areas={{@model.profile.areas}} | ||
@scorecards={{@model.profile.scorecards}} | ||
<div class="global-page-header__right-content"> | ||
<h2 class="sr-only">{{t "pages.profile.accessibility.user-score"}}</h2> | ||
<HexagonScore | ||
@pixScore={{@model.profile.pixScore}} | ||
@maxReachablePixScore={{@model.profile.maxReachablePixScore}} | ||
@maxReachableLevel={{@model.profile.maxReachableLevel}} | ||
/> | ||
{{else}} | ||
<p class="app-loader__image"> | ||
<img src="/images/interwind.gif" alt="" /> | ||
<br />{{t "common.loading.default"}} | ||
</p> | ||
{{/if}} | ||
</div> | ||
</div> | ||
</section> | ||
|
||
{{#if @model.profile.scorecards}} | ||
<ProfileScorecards | ||
@interactive={{true}} | ||
@areas={{@model.profile.areas}} | ||
@scorecards={{@model.profile.scorecards}} | ||
/> | ||
{{else}} | ||
<p class="app-loader__image"> | ||
<img src="/images/interwind.gif" alt="" /> | ||
<br />{{t "common.loading.default"}} | ||
</p> | ||
{{/if}} | ||
</main> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,19 @@ | ||
<div class="rounded-panel-body"> | ||
<section class="profile-scorecards"> | ||
<h2 class="sr-only">{{t "pages.profile.accessibility.user-skills"}}</h2> | ||
<div> | ||
<ul class="profile-scorecards__areas"> | ||
{{#each @areas as |area|}} | ||
<h3 class="sr-only">{{area.title}}</h3> | ||
<div class="rounded-panel-body__areas"> | ||
{{#each @scorecards as |scorecard|}} | ||
{{#if (eq area.code scorecard.area.code)}} | ||
<div class="rounded-panel-body__competence-card"> | ||
<CompetenceCard @interactive={{@interactive}} @scorecard={{scorecard}} /> | ||
</div> | ||
{{/if}} | ||
{{/each}} | ||
</div> | ||
<li> | ||
<h3 class="sr-only">{{area.title}}</h3> | ||
<ul class="profile-scorecards__competences"> | ||
{{#each @scorecards as |scorecard|}} | ||
{{#if (eq area.code scorecard.area.code)}} | ||
<li> | ||
<CompetenceCard @interactive={{@interactive}} @scorecard={{scorecard}} /> | ||
</li> | ||
{{/if}} | ||
{{/each}} | ||
</ul> | ||
</li> | ||
{{/each}} | ||
</div> | ||
</div> | ||
</ul> | ||
</section> |
Oops, something went wrong.