-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #870 from kanselarij-vlaanderen/feature/KAS-2533-a…
…uk-avatar-styling-sync Feature/kas 2533 auk avatar styling sync
- Loading branch information
Showing
5 changed files
with
65 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin'; | ||
import Route from '@ember/routing/route'; | ||
|
||
export default class AvatarRoute extends Route.extend(AuthenticatedRouteMixin) { | ||
model() { | ||
// Normally we would query store here, but for now, we get the mocks | ||
return null; | ||
} | ||
} |
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,51 @@ | ||
{{!-- template-lint-disable --}} | ||
<ComponentPageIntro @title="Avatar" /> | ||
|
||
<StyleguideSample | ||
@title="Small" | ||
@snippet="avatar-small.hbs" | ||
> | ||
{{!-- BEGIN-SNIPPET avatar-small --}} | ||
<div class="auk-avatar auk-avatar--default auk-avatar--small"> | ||
<WebComponents::AuIcon @name="user" @size="small" /> | ||
</div> | ||
{{!-- END-SNIPPET --}} | ||
</StyleguideSample> | ||
|
||
<StyleguideSample | ||
@title="Regular" | ||
@snippet="avatar-regular.hbs" | ||
> | ||
{{!-- BEGIN-SNIPPET avatar-regular --}} | ||
<div class="auk-avatar auk-avatar--default auk-avatar--regular"> | ||
<WebComponents::AuIcon @name="user" /> | ||
</div> | ||
{{!-- END-SNIPPET --}} | ||
</StyleguideSample> | ||
|
||
<StyleguideSample | ||
@title="Image" | ||
@snippet="avatar-image.hbs" | ||
> | ||
{{!-- BEGIN-SNIPPET avatar-image --}} | ||
<div class="auk-avatar auk-avatar--img auk-avatar--regular"> | ||
<img src="/assets/icons/avatar-hilde-crevits.jpg" alt="avatar" /> | ||
</div> | ||
{{!-- END-SNIPPET --}} | ||
</StyleguideSample> | ||
|
||
<StyleguideSample | ||
@title="Avatar & text" | ||
@snippet="avatar-avatar-and-text.hbs" | ||
> | ||
{{!-- BEGIN-SNIPPET avatar-avatar-and-text --}} | ||
<div class="auk-avatar-and-text"> | ||
<div class="auk-avatar auk-avatar--default auk-avatar--small"> | ||
<WebComponents::AuIcon @name="user" @size="small" /> | ||
</div> | ||
<div class="auk-avatar-and-text__text"> | ||
<p>Jan Jambon</p> | ||
</div> | ||
</div> | ||
{{!-- END-SNIPPET --}} | ||
</StyleguideSample> |
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