![Shaun Wu](/assets/img/avatar_default.png)
Had to make various other changes due to incompatibilities. - Use the new `lit` package instead of `lit-html` or `lit-element` - Drop `haunted` since it breaks the rules by specifying `type: module` but then doesn't import with file extensions - Use Sass Dart instead of node-sass (fixes #2445) - Upgrade Karma
13 lines
428 B
JavaScript
13 lines
428 B
JavaScript
import { html } from "lit";
|
|
import tpl_headline_list from "templates/headline_list.js";
|
|
|
|
|
|
export default (o) => html`
|
|
<div class="controlbox-section" id="headline">
|
|
<div class="d-flex controlbox-padded ${ o.headlineboxes.length ? '' : 'hidden' }">
|
|
<span class="w-100 controlbox-heading controlbox-heading--headline">${o.heading_headline}</span>
|
|
</div>
|
|
</div>
|
|
${ tpl_headline_list(o) }
|
|
`;
|