mirror of
https://github.com/flarum/framework.git
synced 2025-01-09 20:44:05 +08:00
20 lines
370 B
JavaScript
20 lines
370 B
JavaScript
|
import Ember from 'ember';
|
||
|
|
||
|
/**
|
||
|
Component for the "welcome to this forum" hero on the discussions index.
|
||
|
*/
|
||
|
export default Ember.Component.extend({
|
||
|
layoutName: 'components/index/welcome-hero',
|
||
|
tagName: 'header',
|
||
|
classNames: ['hero', 'welcome-hero'],
|
||
|
|
||
|
title: '',
|
||
|
description: '',
|
||
|
|
||
|
actions: {
|
||
|
close: function() {
|
||
|
this.$().slideUp();
|
||
|
}
|
||
|
}
|
||
|
});
|