templates – I have a bootstrap carousel and want it to be displayed on my home page and should be working

I have a bootstrap template with a carousel and want to make it dynamic and working on my bootstrap. This is my carousel code

<section id="hero">

    <div id="heroCarousel" data-bs-interval="5000" class="carousel slide carousel-fade" data-bs-ride="carousel">

      <div class="carousel-inner" role="listbox">

        <!-- Slide 1 -->
        <div class="carousel-item active" style="background-image: url(<?php bloginfo('stylesheet_directory')?>/img/slide/slide-1.jpg);">
          <div class="carousel-container">
            <div class="carousel-content animate__animated animate__fadeInUp">
              <h2>Welcome to <span>AVISHA BLOGS</span></h2>
              <p class="">Know your type, Get your vibe!!</p>
              <div class="text-center"><a href="" class="btn-get-started">Read More</a></div>
            </div>
          </div>
        </div>

        <!-- Slide 2 -->
        <div class="carousel-item c-item1" style="background-image: url(<?php bloginfo('stylesheet_directory')?>/img/slide/slide-2.jpg);" >
          <div class="carousel-container">
            <div class="carousel-content animate__animated animate__fadeInUp">
              <h2>About Us</h2>
              <p>We bring you a lot of choices in fashion, and everything else you need to know about! With our guidance fashion shopping will be a lot easier and fun.</p>
              <div class="text-center"><a href="" class="btn-get-started">Read More</a></div>
            </div>
          </div>
        </div>

        <!-- Slide 3 -->
        <div class="carousel-item c-item2" style="background-image: url(<?php bloginfo('stylesheet_directory')?>/img/slide/slide-3.jpg);">
          <div class="carousel-container">
            <div class="carousel-content animate__animated animate__fadeInUp">
              <h2>Our Goals</h2>
              <p>1.Bring our viewers the best product that is available in the market.<br>
                 2. Discovering the new trends in shopping.<br>
                 3. Making shopping easy and fun for you.
              </p>
              <div class="text-center"><a href="" class="btn-get-started">Read More</a></div>
            </div>
          </div>
        </div>

      </div>

      <a class="carousel-control-prev" href="#heroCarousel" role="button" data-bs-slide="prev">
        <span class="carousel-control-prev-icon icofont-simple-left" aria-hidden="true"></span>
        <span class="sr-only">Previous</span>
      </a>

      <a class="carousel-control-next" href="#heroCarousel" role="button" data-bs-slide="next">
        <span class="carousel-control-next-icon icofont-simple-right" aria-hidden="true"></span>
        <span class="sr-only">Next</span>
      </a>

      <ol class="carousel-indicators" id="hero-carousel-indicators"></ol>

    </div>
  </section><!-- End Hero -->