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

mozilla / blurts-server / #13322

pending completion
#13322

push

circleci

web-flow
Merge pull request #3001 from mozilla/main

Merge `main` into `localization`

282 of 1768 branches covered (15.95%)

Branch coverage included in aggregate %.

451 of 451 new or added lines in 56 files covered. (100.0%)

959 of 4670 relevant lines covered (20.54%)

1.72 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 = () => `
×
8
<section class='hero'>
9
  <div>
10
    <h1>${getMessage('exposure-landing-hero-heading')}</h1>
11
    <p>${getMessage('exposure-landing-hero-lead')}</p>
12
    <form hidden class="exposure-scan">
13
      <label for="scan-email-adddress" class="visually-hidden">
14
        ${getMessage('exposure-landing-hero-email-label')}
15
      </label>
16
      <input
17
        id="scan-email-address"
18
        name="email"
19
        type="email"
20
        placeholder="${getMessage('exposure-landing-hero-email-placeholder')}"
21
        required
22
      />
23
      <button
24
        type="submit"
25
        class='button primary'
26
        data-cta-id='exposure-landing-1'
27
      >
28
        ${getMessage('exposure-landing-hero-cta-label')}
29
      </button>
30
    </form>
31
  </div>
32
  <figure>
33
    <img srcset='images/landing-hero.webp 530w, images/landing-hero@2x.webp 1059w' width='530' height='406' alt=''>
34
  </figure>
35
</section>
36
<section class='why-use-monitor' data-enter-transition>
37
  <h2>${getMessage('why-use-monitor')}</h2>
38
  <p>${getMessage('identifying-breaches')}</p>
39
  <ul>
40
    <li>
41
      <h3>${getMessage('protect-account')}</h3>
42
      <p>${getMessage('protect-account-prevent-hackers')}</p>
43
    </li>
44
    <li>
45
      <h3>${getMessage('prevent-fraud')}</h3>
46
      <p>${getMessage('prevent-fraud-keep-info')}</p>
47
    </li>
48
    <li>
49
      <h3>${getMessage('get-alerts')}</h3>
50
      <p>${getMessage('get-alerts-find-out')}</p>
51
    </li>
52
  </ul>
53
</section>
54
<section class='how-it-works' data-enter-transition>
55
  <h2>${getMessage('how-it-works')}</h2>
56
  <ol>
57
    <li>
58
      <img srcset='images/landing-laptop.webp 250w, images/landing-laptop@2x.webp 500w' width='250' height='139' loading='lazy' alt=''>
59
      <h3>${getMessage('check-for-breaches')}</h3>
60
      <p>${getMessage('check-for-breaches-we-search')}</p>
61
    </li>
62
    <li>
63
      <img srcset='images/landing-lock.webp 204w, images/landing-lock@2x.webp 408w' width='204' height='148' loading='lazy' alt=''>
64
      <h3>${getMessage('protect-accounts')}</h3>
65
      <p>${getMessage('protect-accounts-clear-steps')}</p>
66
    </li>
67
    <li>
68
      <img srcset='images/landing-mail.webp 170w, images/landing-mail@2x.webp 340w' width='170' height='148' loading='lazy' alt=''>
69
      <h3>${getMessage('alerts-for-breaches')}</h3>
70
      <p>${getMessage('alerts-for-breaches-monitor-new')}</p>
71
    </li>
72
  </ol>
73
</section>
74
<section class='safe-with-us' data-enter-transition>
75
  <div>
76
    <h2>${getMessage('safe-with-us')}</h2>
77
    <p>${getMessage('parent-company')}</p>
78
    <p>${getMessage('our-mission')}</p>
79
    <p><a href='https://www.mozilla.org/mission/' target='_blank'>${getMessage('learn-more-mission')}</a></p>
80
  </div>
81
  <figure>
82
    <img srcset='images/landing-nature-phone.webp 539w, images/landing-nature-phone@2x.webp 1078w' width='539' height='503' loading='lazy' alt=''>
83
  </figure>
84
</section>
85
<section class='top-questions-about-monitor' data-enter-transition>
86
  <div>
87
    <h2>${getMessage('top-questions-about-monitor')}</h2>
88
    <a href='https://support.mozilla.org/kb/firefox-monitor-faq' target='_blank'>${getMessage('see-all-faq')}</a>
89
  </div>
90
  <div>
91
    <details>
92
      <summary>${getMessage('what-is-breach')}</summary>
93
      <p>${getMessage('when-info-exposed')}</p>
94
    </details>
95
    <details>
96
      <summary>${getMessage('what-do-i-do')}</summary>
97
      <p>${getMessage('visit-monitor-to-learn')}</p>
98
    </details>
99
    <details>
100
      <summary>${getMessage('what-gets-exposed')}</summary>
101
      <p>${getMessage('depends-on-hackers')}</p>
102
    </details>
103
  </div>
104
</section>
105
<section class='see-if-data-breach' data-enter-transition>
106
  <h2>${getMessage('see-if-data-breach')}</h2>
107
  <a class='button primary' data-cta-id='landing-2' href='/user/breaches'>${getMessage('get-started')}</a>
108
</section>
109
`
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