DEV: Add site header organism to styleguide (#11495)
This commit is contained in:
parent
2b2c840297
commit
8922a878f3
|
@ -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,
|
||||
|
|
|
@ -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}}
|
||||
|
|
@ -65,6 +65,8 @@ en:
|
|||
title: "Post"
|
||||
topic_map:
|
||||
title: "Topic Map"
|
||||
site_header:
|
||||
title: "Site Header"
|
||||
suggested_topics:
|
||||
title: "Suggested Topics"
|
||||
post_menu:
|
||||
|
|
Loading…
Reference in New Issue