DEV: Add site header organism to styleguide (#11495)

This commit is contained in:
Penar Musaraj 2020-12-15 12:48:47 -05:00 committed by GitHub
parent 2b2c840297
commit 8922a878f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 19 additions and 1 deletions

View File

@ -114,7 +114,7 @@ export function createData(store) {
);
};
let topic = createTopic();
let topic = createTopic({ tags: ["example", "apple"] });
topic.setProperties({
details: EmberObject.create({
can_create_post: true,

View File

@ -0,0 +1,16 @@
{{#styleguide-example title="site header - in topic - scrolled"}}
<div class="d-header-wrap">
<header class="d-header">
<div class="wrap">
<div class="contents">
{{mount-widget widget="home-logo" args=(hash minimized=true)}}
{{mount-widget widget="header-topic-info" args=dummy}}
<div class="panel clearfix">
{{mount-widget widget="header-icons" args=(hash user=dummy.user)}}
</div>
</div>
</div>
</header>
</div>
{{/styleguide-example}}

View File

@ -65,6 +65,8 @@ en:
title: "Post"
topic_map:
title: "Topic Map"
site_header:
title: "Site Header"
suggested_topics:
title: "Suggested Topics"
post_menu: