<script setup lang="ts">
import TopHeader from '~/components/TopHeader.vue'
const { t, locale, setLocale } = useI18n()

const switchLanguage = (lang: 'en' | 'zh') => {
  console.log(lang)
  setLocale(lang)
}

const bestList = ref([
  'Encouraging Education',
  'Enlighten Thinking',
  'Teach Through fun',
  'Respect Individuality'
])
</script>

<template>
  <FixArea></FixArea>
  <Header-top-section />
  <TopHeader />

  <div class="search-wrap">
    <div class="search-inner">
      <i class="fas fa-times search-close" id="search-close"></i>
      <div class="search-cell">
        <form method="get">
          <div class="search-field-holder">
            <input type="search" class="main-search-input" placeholder="Search..." />
          </div>
        </form>
      </div>
    </div>
  </div>
  <section class="hero-section hero-1 fix">
    <div class="bottom-shape">
      <img style="width: 100%; height: auto" src="/picture/bottom.svg" alt="shape-img" />
    </div>
    <div class="parasuit-shape float-bob-y">
      <img src="/picture/parasuit.png" alt="shape-img" />
    </div>
    <div class="left-shape">
      <img src="/picture/left.png" alt="shape-img" />
    </div>
    <div class="book-shape float-bob-x">
      <img src="/picture/book.png" alt="shape-img" />
    </div>
    <div class="pencil-shape">
      <img src="/picture/pencil.png" alt="shape-img" />
    </div>
    <div class="bee-shape float-bob-y">
      <img src="/picture/bee.png" alt="shape-img" />
    </div>
    <div class="right-shape">
      <img src="/picture/right.png" alt="shape-img" />
    </div>
    <div class="star-shape">
      <img src="/picture/star.png" alt="shape-img" />
    </div>
    <div class="container">
      <div class="row g-4 align-items-center">
        <div class="col-lg-6">
          <div class="hero-content">
            <h5 class="wow fadeInUp">Kindergarten & Baby Care</h5>
            <h1 class="wow fadeInUp" data-wow-delay=".3s">
              Happy Speaking
              <br />
              Happy Reading
              <br />
              Happy Writing
              <br />
            </h1>
            <p class="wow fadeInUp" data-wow-delay=".5s">
              Communication is a natural instinct for humans, and we help our
              <br />
              children build bridges with the world
            </p>
            <div class="hero-button">
              <!-- contact.html -->
              <a href="javascript:(0)" class="theme-btn wow fadeInUp" data-wow-delay=".7s">
                Apply Today
                <i class="fa-solid fa-arrow-right-long"></i>
              </a>
              <!-- <span class="button-text wow fadeInUp" data-wow-delay=".8s">
                <a
                  href="https://www.youtube.com/watch?v=Cn4G2lZ_g2I"
                  class="video-btn ripple video-popup"
                >
                  <i class="fa-solid fa-play"></i>
                </a>
                <span class="ms-4 d-line">Play Video</span>
              </span> -->
            </div>
          </div>
        </div>
        <div class="col-lg-6">
          <div class="hero-image wow fadeInUp" data-wow-delay=".4s">
            <img src="/picture/01.png" alt="hero-img" />
            <div class="hero-shape"><img src="/picture/hero-shape.png" alt="shape-img" /></div>
          </div>
        </div>
      </div>
    </div>
  </section>
  <section class="about-section section-padding">
    <div class="bus-shape float-bob-x"><img src="/picture/bus.png" alt="shape-img" /></div>
    <div class="girl-shape float-bob-y"><img src="/picture/girl.png" alt="shape-img" /></div>
    <div class="dot-shape"><img src="/picture/dot.png" alt="shape-img" /></div>
    <div class="container">
      <div class="about-wrapper mb-40">
        <div class="row g-4">
          <div class="col-lg-6">
            <div class="about-image wow fadeInUp" data-wow-delay=".3s">
              <img src="/picture/011.png" alt="about-img" />
              <div class="about-image-2"><img src="/picture/02.png" alt="about-img" /></div>
            </div>
          </div>
          <div class="col-lg-6">
            <div class="about-content">
              <div class="section-title">
                <span class="wow fadeInUp">About us</span>
                <h2 class="wow fadeInUp" data-wow-delay=".3s">Best Choice for Children</h2>
              </div>
              <p class="mt-3 mt-md-0 wow fadeInUp" data-wow-delay=".5s">
                Education is not the filling of a pail but the lighting of a fire
              </p>
              <AboutList />
              <div class="about-author">
                <div class="about-button wow fadeInUp" data-wow-delay=".3s">
                  <a href="about.html" class="theme-btn">
                    Explore More
                    <i class="fa-solid fa-arrow-right-long"></i>
                  </a>
                </div>
                <div class="author-icon wow fadeInUp" data-wow-delay=".5s">
                  <div class="icon"><i class="fa-solid fa-phone"></i></div>
                  <div class="content">
                    <span>Call Us Now</span>
                    <h5><a href="tel:+2085550112">+208-555-0112</a></h5>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
  <section class="program-section section-padding section-bg-2 fix">
    <div class="top-shape">
      <img class="bgCover" src="/picture/section-top-shape.svg" alt="shape-img" />
    </div>
    <div class="bottom-shape">
      <img class="bgCover" src="/picture/section-bottom-shape.svg" alt="shape-img" />
    </div>
    <div class="mask-shape float-bob-x"><img src="/picture/mask.png" alt="shape-img" /></div>
    <div class="pencil-shape"><img src="/picture/pencil1.png" alt="shape-img" /></div>
    <div class="mask-shape-2"><img src="/picture/mask-2.png" alt="shape-img" /></div>
    <div class="compass-shape"><img src="/picture/compass.png" alt="shape-img" /></div>
    <div class="container container-xxxl">
      <div class="section-title text-center mt-60">
        <span class="wow fadeInUp">Our Programs</span>
        <h2 class="wow fadeInUp" data-wow-delay=".3s">
          We meet kids at their level
          <br />
          regardless of their age
        </h2>
      </div>

      <HomeIndexKindergartenClass />
    </div>
  </section>
  <HomeIndexWorkWrapper />
  <HomeIndexActivitiesWrapper />
  <section class="testimonial-section fix section-padding">
    <div class="tree-shape float-bob-y"><img src="/picture/tree-shape.png" alt="shape-img" /></div>
    <div class="right-shape"><img src="/picture/right.png" alt="shape-img" /></div>
    <div class="bee-shape float-bob-y"><img src="/picture/bee.png" alt="shape-img" /></div>
    <div class="container">
      <div class="section-title text-center">
        <span class="wow fadeInUp">Recommendation</span>
        <h2 class="wow fadeInUp w-50 m-auto" data-wow-delay=".3s">
          Parents' feedback on Happy Chin
        </h2>
      </div>
      <div class="swiper testimonial-slider">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <div class="testimonial-items">
              <div class="icon">
                <img src="/picture/quote.png" alt="img" />
              </div>
              <div class="testimonial-bg"></div>
              <div class="testimonial-content">
                <p>
                  Corquent per conubia nostra, per inceptos himenaeos. Suspendisse gravida vitae
                  nisi Class aptent taciti sociosqu ad litora
                </p>
                <h6>Esther Howard</h6>
              </div>
            </div>
          </div>
          <div class="swiper-slide">
            <div class="testimonial-items style-2">
              <div class="icon">
                <img src="/picture/quote-2.png" alt="img" />
              </div>
              <div class="testimonial-bg bg-2"></div>
              <div class="testimonial-content">
                <p>
                  Corquent per conubia nostra, per inceptos himenaeos. Suspendisse gravida vitae
                  nisi Class aptent taciti sociosqu ad litora
                </p>
                <h6>Wade Warren</h6>
              </div>
            </div>
          </div>
          <div class="swiper-slide">
            <div class="testimonial-items style-3">
              <div class="icon">
                <img src="/picture/quote-3.png" alt="img" />
              </div>
              <div class="testimonial-bg bg-3"></div>
              <div class="testimonial-content">
                <p>
                  Corquent per conubia nostra, per inceptos himenaeos. Suspendisse gravida vitae
                  nisi Class aptent taciti sociosqu ad litora
                </p>
                <h6>Jenny Wilson</h6>
              </div>
            </div>
          </div>
        </div>
        <div class="swiper-dot text-center pt-5">
          <div class="dot"></div>
        </div>
      </div>
    </div>
  </section>
  <section class="team-section fix section-bg section-padding">
    <div class="top-shape">
      <img class="bgCover" src="/picture/section-top-shape.svg" alt="shape-img" />
    </div>
    <div class="love-shape float-bob-x"><img src="/picture/love.png" alt="shape-img" /></div>
    <div class="frame-shape"><img src="/picture/frame.png" alt="shape-img" /></div>
    <div class="container">
      <div class="section-title-area">
        <div class="section-title mt-60">
          <span class="wow fadeInUp">Our Experts</span>
          <h2 class="wow fadeInUp" data-wow-delay=".3s">Our Expert Instructors</h2>
        </div>
        <!-- <div class="array-button wow fadeInUp" data-wow-delay=".5s">
          <button class="array-prev"><i class="fal fa-arrow-left"></i></button>
          <button class="array-next"><i class="fal fa-arrow-right"></i></button>
        </div> -->
      </div>
      <div class="swiper team-slider">
        <div class="swiper-wrapper">
          <div class="swiper-slide">
            <div class="team-items">
              <div class="team-image">
                <div class="shape-img"><img src="/picture/team-shape.png" alt="img" /></div>
                <img src="/picture/01.jpg" alt="team-img" />
                <div class="social-profile">
                  <span class="plus-btn"><i class="fas fa-share-alt"></i></span>
                  <ul>
                    <li>
                      <a href="#"><i class="fab fa-facebook-f"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fa-brands fa-instagram"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="team-content">
                <h3><a href="team-details.html">Brooklyn Simmons</a></h3>
                <p>Instructors</p>
              </div>
            </div>
          </div>
          <div class="swiper-slide">
            <div class="team-items">
              <div class="team-image">
                <div class="shape-img"><img src="/picture/team-shape.png" alt="img" /></div>
                <img src="/picture/02.jpg" alt="team-img" />
                <div class="social-profile">
                  <span class="plus-btn"><i class="fas fa-share-alt"></i></span>
                  <ul>
                    <li>
                      <a href="#"><i class="fab fa-facebook-f"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fa-brands fa-instagram"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="team-content">
                <h3><a href="team-details.html">Leslie Alexander</a></h3>
                <p>Instructors</p>
              </div>
            </div>
          </div>
          <div class="swiper-slide">
            <div class="team-items">
              <div class="team-image">
                <div class="shape-img"><img src="/picture/team-shape.png" alt="img" /></div>
                <img src="/picture/03.jpg" alt="team-img" />
                <div class="social-profile">
                  <span class="plus-btn"><i class="fas fa-share-alt"></i></span>
                  <ul>
                    <li>
                      <a href="#"><i class="fab fa-facebook-f"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fa-brands fa-instagram"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="team-content">
                <h3><a href="team-details.html">Ronald Richards</a></h3>
                <p>Instructors</p>
              </div>
            </div>
          </div>
          <div class="swiper-slide">
            <div class="team-items">
              <div class="team-image">
                <div class="shape-img"><img src="/picture/team-shape.png" alt="img" /></div>
                <img src="/picture/04.jpg" alt="team-img" />
                <div class="social-profile">
                  <span class="plus-btn"><i class="fas fa-share-alt"></i></span>
                  <ul>
                    <li>
                      <a href="#"><i class="fab fa-facebook-f"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fa-brands fa-instagram"></i></a>
                    </li>
                    <li>
                      <a href="#"><i class="fab fa-linkedin-in"></i></a>
                    </li>
                  </ul>
                </div>
              </div>
              <div class="team-content">
                <h3><a href="team-details.html">Kristin Watson</a></h3>
                <p>Instructors</p>
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>

  <section
    class="cta-section fix section-padding bg-cover"
    style="background-image: url('/image/cta-bg.jpg')"
  >
    <div class="plane-shape">
      <img src="/picture/plane.png" alt="img" />
    </div>
    <div class="pencil-shape">
      <img src="/picture/pencil3.png" alt="img" />
    </div>
    <div class="container">
      <div class="cta-wrapper">
        <div class="row justify-content-between">
          <div class="col-lg-6">
            <div class="section-title">
              <span class="text-white wow fadeInUp">Get your quality</span>
              <h2 class="text-white wow fadeInUp" data-wow-delay=".3s">
                Come and be Part of
                <br />
                Our Latest Session
              </h2>
            </div>
            <div class="cta-button mt-4 mt-md-0 wow fadeInUp" data-wow-delay=".5s">
              <a href="contact.html" class="theme-btn bg-white">
                Apply Now
                <i class="fa-solid fa-arrow-right-long"></i>
              </a>
            </div>
          </div>
          <div class="col-lg-5 wow fadeInUp" data-wow-delay=".4s">
            <div class="cta-image">
              <img src="/picture/cta-1.png" alt="cta-img" />
              <div class="cta-shape">
                <img src="/picture/cta-shape.png" alt="img" />
              </div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
  <FooterSection></FooterSection>
</template>

<style lang="css" scoped>
.bgCover {
  width: 100%;
  height: auto;
  object-fit: contain;
}
</style>
