# All files / app/testimonials testimonials.component.html

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    601x

     <section class="testimonials-section py-5" id="testimonials" aria-labelledby="testimonials-heading">

      <div class="testimonial-header">
        <span><mat-icon>star</mat-icon> Trusted by 2 Lakh+ Happy Customers</span>
        <h2 id="testimonials-heading">What Our Customers Say About</h2>
        <h3>UPI Transactions with PNB Cards</h3>
        <p>Real experiences from customers who love the convenience of using their PNB credit<br> card on any UPI app</p>
      </div>

      <div class="container">
        <div class="row g-4 mb-5">

          @for (item of testimonials(); track item.id) {
          <div class="col-md-4">
            <div class="testimonial-card p-4 h-100 d-flex flex-column">

              <div class="quote-icon">
                <mat-icon>format_quote</mat-icon>
              </div>

              <div class="stars">
                @for (star of [].constructor(item.rating); track $index) {
                <mat-icon>star</mat-icon>
                }
              </div>

              <p class="testimonial-text mb-4 flex-grow-1">
                {{ item.feedback }}
              </p>

              <div class="user-profile d-flex align-items-center">
                <div class="user-avatar me-3" [style.background]="getAvatarBackground(item.id)" [attr.aria-label]="item.name">
                  {{ getInitials(item.name) }}
                </div>
                <div>
                  <h5 class="user-name mb-0">{{ item.name }}</h5>
                  <small class="user-location text-muted">{{ item.location }}</small>
                  <span class="user-role text-muted"> • {{ item.role }}</span>
                </div>
              </div>

            </div>
          </div>
          }

        </div>

        <div class="d-flex justify-content-center">
          <div class="customer-banner d-flex align-items-center">
            <div class="customer-avatars me-2">
              <img src="assets/images/group_avatar.png" alt="Happy Customers" title="Happy Customers" height="30">
            </div>
            <p class="mb-0 fw-medium banner-text"><b class="banner-count">2,00,000+</b> customers enjoying UPI transactions
            </p>
          </div>
        </div>

      </div>
    </section>