  <?= $this->extend('layout/admin') ?>

  <?= $this->section('title') ?>
  <title>KONTAK &mdash; KUA WAY BUNGUR</title>
  <?= $this->endSection() ?>

  <?= $this->section('content') ?>
  <section class="section">
      <div class="section-header">
          <h1>Kontak</h1>

          <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="<?= base_url('dashboard') ?>">Dashboard</a></div>
              <div class="breadcrumb-item">Kontak</div>
          </div>
      </div>

      <div class="section-body">
          <h2 class="section-title">Kelola Kontak</h2>
          <p class="section-lead">
              Halaman ini berisi data kontak.
          </p>
          <!--notifikasi berhasil-->
          <div class="swal" data-swal="<?= session('success') ?>"></div>
          <!--notifikasi berhasil-->
          <div class="row">
              <div class="col-12 col-md-12 col-lg-12">
                  <div class="card">
                      <div class="card-header">
                          <div class="section-header-button">
                              <a href="<?= base_url('kontak/edit') ?>" type="button" class="btn btn-info sm">
                                  <i class="fas fa-add"></i> Edit Kontak
                              </a>
                          </div>
                      </div>
                      <div class="card-body">
                          <div class="section-title mt-0">Telpon</div>
                          <h6 class="text-primary"> <i class="fas fa-phone-alt"></i> <?= $kontakData->telpon ?></h6>
                          <div class="section-title">Email</div>
                          <h6 class="text-primary"> <i class="fas fa-envelope"></i> <?= $kontakData->email ?></h6>
                          <div class="section-title">Alamat</div>
                          <h6 class="text-primary"> <i class="fas fa-location-arrow"></i> <?= $kontakData->alamat ?>
                          </h6>
                      </div>
                  </div>
              </div>
  </section>
  <?= $this->endSection() ?>