decide.nolog.cz/app/templates/index.hbs
Jeldrik Hanschke 8a62662e6e
migrate from ember-i18n to ember-intl (#358)
* mark string as html safe before passing to translation instead of bypassing HTML escape using {{{unsafe}}} syntax
* replace ember-i18n with ember-intl
2020-01-30 00:23:12 +01:00

41 lines
1.1 KiB
Handlebars

<div class="index cr-screen-index">
<div class="jumbotron">
<h2 class="cr-claim">
{{t "index.title" htmlSafe=true}}
</h2>
<LinkTo @route="create" class="btn btn-primary btn-lg">
{{t "index.link.have-a-try"}}
</LinkTo>
</div>
<div class="row">
<div class="col-lg-6">
<h3>{{t "index.features.title"}}</h3>
<ul>
<li>
{{t "index.features.list.overview" htmlSafe=true}}
</li>
<li>
{{t "index.features.list.options" htmlSafe=true}}
</li>
<li>
{{t "index.features.list.answers" htmlSafe=true}}
</li>
<li>
{{t "index.features.list.evaluation" htmlSafe=true}}
</li>
<li>
{{t "index.features.list.privacy" htmlSafe=true}}
</li>
</ul>
</div>
<div class="col-lg-5 offset-lg-1">
<h3>{{t "index.hoster.title"}}</h3>
<p>
{{t "index.hoster.text" gitHubLink=(mark-as-safe-html "<a href=\"https://github.com/jelhan/croodle\">GitHub</a>") htmlSafe=true}}
</p>
</div>
</div>
</div>