  @extends('theme')
  @section('content')
      <main class="main">

          <!-- Page Title -->
          <div class="page-title" data-aos="fade">
              <div class="heading">
                  <div class="container">
                      <div class="row d-flex justify-content-center text-center">
                          <div class="col-lg-8">
                              <h1>Galeri<br></h1>

                          </div>
                      </div>
                  </div>
              </div>
              <nav class="breadcrumbs">
                  <div class="container">
                      <ol>
                          <li><a href="/">Home</a></li>
                          <li class="current">Galeri<br></li>
                      </ol>
                  </div>
              </nav>
          </div><!-- End Page Title -->

          <!-- About Us Section -->
          <section id="events" class="events section">

              <div class="container">

                  <div class="row gy-4">


                      <div class="col-lg-12 order-lg-1 content order-2" data-aos="fade-up" data-aos-delay="200">

                          <div class="container" data-aos="fade-up">

                              <div class="row">
                                  @foreach ($galeri as $data)
                                      <div class="col-md-6 d-flex align-items-stretch">
                                          <div class="card">
                                              <div class="card-img">
                                                  <img src="{{ asset('storage/' . $data->image) }}" alt="...">
                                              </div>
                                              <div class="card-body">
                                                  <h5 class="card-title"><a href="">{{ $data->title }}</a>
                                                  </h5>

                                              </div>
                                          </div>
                                      </div>
                                  @endforeach

                              </div>

                          </div>
                      </div>

                  </div>

              </div>

          </section><!-- /About Us Section -->



      </main>
  @endsection
