• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mozilla / blurts-server / #11898

pending completion
#11898

push

circleci

web-flow
Merge pull request #2770 from mozilla/license

Add license headers in source files

282 of 1138 branches covered (24.78%)

Branch coverage included in aggregate %.

959 of 3049 relevant lines covered (31.45%)

2.55 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/views/partials/landing.js
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4

5
import { getMessage } from '../../utils/fluent.js'
6

7
export const landing = data => `
×
8
<section class='hero'>
9
  <div>
10
    <h1>${getMessage('find-out-if-breached')}</h1>
11
    <p>${getMessage('stay-safe-with-tool')}</p>
12
    <a class='button primary' href='/user/breaches'>${getMessage('get-started')}</a>
13
  </div>
14
  <figure>
15
    <img srcset='images/landing-hero.webp 530w, images/landing-hero@2x.webp 1059w' width='530' height='406' alt=''>
16
  </figure>
17
</section>
18
<section class='why-use-monitor'>
19
  <h2>${getMessage('why-use-monitor')}</h2>
20
  <p>${getMessage('identifying-breaches')}</p>
21
  <ul>
22
    <li>
23
      <h3>${getMessage('protect-account')}</h3>
24
      <p>${getMessage('protect-account-prevent-hackers')}</p>
25
    </li>
26
    <li>
27
      <h3>${getMessage('prevent-fraud')}</h3>
28
      <p>${getMessage('prevent-fraud-keep-info')}</p>
29
    </li>
30
    <li>
31
      <h3>${getMessage('get-alerts')}</h3>
32
      <p>${getMessage('get-alerts-find-out')}</p>
33
    </li>
34
  </ul>
35
</section>
36
<section class='how-it-works'>
37
  <h2>${getMessage('how-it-works')}</h2>
38
  <ol>
39
    <li>
40
      <img srcset='images/landing-laptop.webp 250w, images/landing-laptop@2x.webp 500w' width='250' height='139' loading='lazy' alt=''>
41
      <h3>${getMessage('check-for-breaches')}</h3>
42
      <p>${getMessage('check-for-breaches-we-search')}</p>
43
    </li>
44
    <li>
45
      <img srcset='images/landing-lock.webp 204w, images/landing-lock@2x.webp 408w' width='204' height='148' loading='lazy' alt=''>
46
      <h3>${getMessage('protect-accounts')}</h3>
47
      <p>${getMessage('protect-accounts-clear-steps')}</p>
48
    </li>
49
    <li>
50
      <img srcset='images/landing-mail.webp 170w, images/landing-mail@2x.webp 340w' width='170' height='148' loading='lazy' alt=''>
51
      <h3>${getMessage('alerts-for-breaches')}</h3>
52
      <p>${getMessage('alerts-for-breaches-monitor-new')}</p>
53
    </li>
54
  </ol>
55
</section>
56
<section class='safe-with-us'>
57
  <div>
58
    <h2>${getMessage('safe-with-us')}</h2>
59
    <p>${getMessage('parent-company')}</p>
60
    <p>${getMessage('our-mission')}</p>
61
    <p><a href='https://www.mozilla.org/mission/' target='_blank'>${getMessage('learn-more-mission')}</a></p>
62
  </div>
63
  <figure>
64
    <img srcset='images/landing-nature-phone.webp 539w, images/landing-nature-phone@2x.webp 1078w' width='539' height='503' loading='lazy' alt=''>
65
  </figure>
66
</section>
67
<section class='top-questions-about-monitor'>
68
  <div>
69
    <h2>${getMessage('top-questions-about-monitor')}</h2>
70
    <a href='https://support.mozilla.org/kb/firefox-monitor-faq' target='_blank'>${getMessage('see-all-faq')}</a>
71
  </div>
72
  <div>
73
    <details>
74
      <summary>${getMessage('what-is-breach')}</summary>
75
      <p>${getMessage('when-info-exposed')}</p>
76
    </details>
77
    <details>
78
      <summary>${getMessage('what-do-i-do')}</summary>
79
      <p>${getMessage('visit-monitor-to-learn')}</p>
80
    </details>
81
    <details>
82
      <summary>${getMessage('what-gets-exposed')}</summary>
83
      <p>${getMessage('depends-on-hackers')}</p>
84
    </details>
85
  </div>
86
</section>
87
<section class='see-if-data-breach'>
88
  <h2>${getMessage('see-if-data-breach')}</h2>
89
  <a class='button primary' href='/user/breaches'>${getMessage('get-started')}</a>
90
</section>
91
`
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc