blurts-server/views/monitor.hbs

59 строки
2.2 KiB
Handlebars

{{!< default }}
<main class="container monitor-homepage clear-header {{#if featuredBreach}} featured-breach {{/if}} {{#if featuredBreach.IsSensitive}} sensitive-landing {{/if}}" data-page-label={{> analytics/landing_page_label }}>
<section class="jst-cntr monitor-landing">
<div class="col-12 flx-cntr landing-content">
{{#makeLanding}}
<h2 class="top-headline landing-headline">{{{ headline }}}</h2>
<h3 class="subhead landing-subhead">{{ subhead }}</h3>
{{/makeLanding}}
{{#unless featuredBreach.IsSensitive}}
{{> forms/scan-email-form }}
{{/unless}}
{{#makeLanding}}
{{#if info}}
<section class="landing-sensitive-info">
{{#each info}}
<h3 class="sb-callout">{{ subhead }}</h3>
<p class="sb-callout-body">{{ body }}</p>
{{/each}}
</section>
{{/if}}
{{/makeLanding}}
</div>
</section>
{{#if featuredBreach}}
{{#if featuredBreach.IsSensitive}}
<section class="landing-bottom-bar sensitive-breach">
<div class="row no-vertical-padding sb-top-wrapper">
<div class="sb-top"><!--top of sign up call out--></div>
</div>
{{> sign-up-banners/monitor-features variableClasses="sensitive-breach"}}
</section>
{{/if}}
{{else}}
<section class="landing-bottom-bar">
<div class="latest-breach-info">
<h3 class="latest-breach-headline">
{{{ getString "latest-breach" brandName="<span class='fxm'>Firefox Monitor</span>"}}}
</h3>
{{#each (lastAddedBreach)}}
{{> breach-card cardType="latest-breach" latestBreach=true}}
{{/each}}
</div>
<div class="row take-back-control-banner">
<div class="article-list-headline-wrapper jst-cntr">
{{> take-back-control/headlines variableClasses="dash"}}
</div>
<div>
{{> take-back-control/article-links }}
</div>
</div>
{{> (lookup . 'adUnit') theme="dark" }}
{{> sign-up-banners/monitor-features }}
</section>
{{/if}}
</main>
{{> linking-data/firefox-monitor-product }}