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

mozilla / fx-private-relay / 2ce45a01-1c89-4b44-b285-da75ec29c18a

pending completion
2ce45a01-1c89-4b44-b285-da75ec29c18a

Pull #3517

circleci

groovecoder
for MPP-3021: add sentry profiling
Pull Request #3517: for MPP-3021: add sentry profiling

1715 of 2589 branches covered (66.24%)

Branch coverage included in aggregate %.

5604 of 7486 relevant lines covered (74.86%)

18.59 hits per line

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

0.0
/frontend/src/components/landing/carousel/ContentHero.tsx
1
import Image, { StaticImageData } from "next/image";
×
2
import { ReactNode } from "react";
3
import styles from "./ContentHero.module.scss";
×
4

5
export type Props = {
6
  heading: string;
7
  body: ReactNode;
8
  heroImage: StaticImageData;
9
  /**
10
   * Whether text should be shown before (e.g. on the left side, in English) the
11
   * hero image. Only applies on wide screens; on small screens, the hero image
12
   * will always be below the text.
13
   */
14
  textFirst?: boolean;
15
};
16

17
export const CarouselContentHero = (props: Props) => {
×
18
  return (
19
    <div
20
      className={`${styles.wrapper} ${
21
        props.textFirst ? styles["text-first"] : styles["hero-first"]
×
22
      }`}
23
    >
24
      <div className={styles.text}>
25
        <div className={styles.heading}>{props.heading}</div>
26
        <div className={styles.body}>{props.body}</div>
27
      </div>
28
      <div className={styles.hero}>
29
        <Image src={props.heroImage} alt="" />
30
      </div>
31
    </div>
32
  );
33
};
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