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

EcrituresNumeriques / stylo / 15066626824

16 May 2025 10:41AM UTC coverage: 37.574% (-0.02%) from 37.594%
15066626824

Pull #1517

github

web-flow
Merge e05a1c169 into 607ffe7f9
Pull Request #1517: Mise à jour vers react-router@7

549 of 776 branches covered (70.75%)

Branch coverage included in aggregate %.

13 of 373 new or added lines in 28 files covered. (3.49%)

5 existing lines in 4 files now uncovered.

5319 of 14841 relevant lines covered (35.84%)

2.56 hits per line

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

0.0
/front/src/components/Privacy.jsx
1
import React from 'react'
×
2
import { Helmet } from 'react-helmet'
×
3
import { useTranslation } from 'react-i18next'
×
4

NEW
5
import { usePreferenceItem } from '../hooks/user.js'
×
6

UNCOV
7
import styles from './Page.module.scss'
×
8

9
export default function Privacy() {
×
10
  const { t } = useTranslation()
×
11

NEW
12
  const { value: userHasConsent, toggleValue } = usePreferenceItem(
×
NEW
13
    'trackingConsent',
×
NEW
14
    'user'
×
NEW
15
  )
×
16

17
  return (
×
18
    <section className={styles.container}>
×
19
      <Helmet>
×
20
        <title>{t('footer.privacy.link')}</title>
×
21
      </Helmet>
×
22

23
      <article className={styles.simplePage}>
×
NEW
24
        <h2>{t('footer.privacy.link')}</h2>
×
25

26
        <p>Coming soon…</p>
×
27

NEW
28
        {import.meta.env.SNOWPACK_MATOMO_URL && (
×
NEW
29
          <p>
×
NEW
30
            <input
×
NEW
31
              type="checkbox"
×
NEW
32
              checked={userHasConsent}
×
NEW
33
              onChange={toggleValue}
×
NEW
34
              id="tracking-consent-checkbox"
×
NEW
35
              />
×
36

NEW
37
            <label className={styles.consentLabel} htmlFor="tracking-consent-checkbox">
×
NEW
38
              {t('footer.navStats.checkbox')}
×
NEW
39
            </label>
×
NEW
40
          </p>
×
41
        )}
42
      </article>
×
43
    </section>
×
44
  )
45
}
×
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