You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
595 B
23 lines
595 B
import type Mithril from 'mithril'; |
|
import app from 'flarum/forum/app'; |
|
import Page from 'flarum/common/components/Page'; |
|
|
|
function translate(id: string): string { |
|
return app.translator.trans(id) as string; |
|
} |
|
|
|
export default class GlobalMapPage extends Page { |
|
oninit(vnode: Mithril.Vnode) { |
|
super.oninit(vnode); |
|
|
|
app.setTitle(translate('justoverclock-users-map-location.forum.global-map.title')); |
|
} |
|
|
|
view() { |
|
return <div class="GlobalMapPage"> |
|
<div className="container"> |
|
<h2>{translate('justoverclock-users-map-location.forum.global-map.title2')}</h2> |
|
</div> |
|
</div>; |
|
} |
|
}
|
|
|