
<?php $__env->startSection('content'); ?>
<main id="main" class="main">

    <div class="pagetitle">
      <h1>Profil Perusahaan</h1>
      <nav>
        <ol class="breadcrumb">
          <li class="breadcrumb-item"><a>Dashboard</a></li>
          <li class="breadcrumb-item"><a>Website</a></li>
          <li class="breadcrumb-item active">Profil Perusahaan</li>
        </ol>
      </nav>
    </div><!-- End Page Title -->

    <section class="section dashboard">
      <?php if(Session::get('msg')): ?>
      <div class="alert alert-success alert-dismissible fade show" role="alert">
          <i class="bi bi-check-circle me-1"></i>
                <?php echo e(Session::get('msg')); ?>

          <button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
      </div>
      <?php endif; ?>

      <div class="row">

        <!-- Home Slider -->
        <div class="col-lg-6">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">Home Slider</h5>

              <!-- Vertical Form -->
              <form class="row g-3" method="POST" action="/dashboard/company-profile/update" enctype="multipart/form-data">
                <?php echo csrf_field(); ?>

                <div class="col-12">
                  <label for="video" class="form-label">Home Video</label>
                  <p style="color: orange; font-size: 10px">Ukuran Maks 2,5 Mb & Ukuran Frame 640x350 file harus MP4</p>
                   <input class="form-control" type="file" id="video" name="video">
                </div>
                <div class="col-12">
                  <label for="small_caption" class="form-label">Home Caption (Kecil)</label>
                  <input type="text" class="form-control" id="small_caption" name="small_caption" value="<?php echo e($data->small_caption); ?>">
                </div>
                <div class="col-12">
                  <label for="big_caption" class="form-label">Home Caption (Besar)</label>
                  <input type="text" class="form-control" id="big_caption" name="big_caption" value="<?php echo e($data->big_caption); ?>">
                </div>
                <div>
                  <button type="submit" class="btn btn-primary">Update</button>
                </div>
              </form><!-- Vertical Form -->

            </div>
          </div>

        </div>
        
        <!-- Tentang Kami -->
        <div class="col-lg-6">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">Tentang Perusahaan</h5>

              <!-- Vertical Form -->
              <form class="row g-3" method="POST" action="/dashboard/company-profile/update">
                <?php echo csrf_field(); ?>

                <div class="col-12">
                  <label for="logo" class="form-label">Logo</label>
                  <p style="color: orange; font-size: 10px">No Background Image & Ukuran Frame 400x200px </p>
                   <input class="form-control" type="file" id="logo" name="logo">
                </div>
                <div class="col-12">
                  <label for="company_name" class="form-label">Nama Perusahaan</label>
                  <input type="text" class="form-control" id="company_name" name="company_name" value="<?php echo e($data->company_name); ?>">
                </div>
                <div class="col-12">
                  <label for="about_us_caption" class="form-label">Tentang Kami</label>
                  <textarea class="form-control" style="height: 100px" name="about_us_caption"><?php echo e($data->about_us_caption); ?></textarea>
                </div>
                <div>
                  <button type="submit" class="btn btn-primary">Update</button>
                </div>
              </form><!-- Vertical Form -->

            </div>
          </div>

        </div>

        <!-- Kontak -->
        <div class="col-lg-12">

          <div class="card">
            <div class="card-body">
              <h5 class="card-title">Kontak</h5>

              <!-- Vertical Form -->
              <form class="row g-3" method="POST" action="/dashboard/company-profile/update">
                <?php echo csrf_field(); ?>

                <div class="col-6">
                  <label for="email" class="form-label">Email</label>
                  <input type="email" class="form-control" id="email" name="email" value="<?php echo e($data->email); ?>">
                </div>
                <div class="col-6">
                  <label for="website" class="form-label">Website</label>
                  <input type="text" class="form-control" id="website" name="website" value="<?php echo e($data->website); ?>">
                </div>
                <div class="col-6">
                  <label for="phone" class="form-label">No. Telp</label>
                   <div class="input-group mb-3">
                      <span class="input-group-text" id="basic-addon1">+62</span>
                      <input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1" name="phone" value="<?php echo e($data->phone); ?>">
                    </div>
                </div>
                <div class="col-6">
                  <label for="instagram" class="form-label">Instagram</label>
                  <input type="text" class="form-control" id="instagram" name="instagram" value="<?php echo e($data->instagram); ?>">
                </div>
                <div class="col-6">
                  <label for="tiktok" class="form-label">Tiktok</label>
                  <input type="text" class="form-control" id="tiktok" name="tiktok" value="<?php echo e($data->tiktok); ?>">
                </div>
                <div class="col-12">
                  <label for="address" class="form-label">Alamat Kantor</label>
                  <input type="text" class="form-control" id="address" name="address" value="<?php echo e($data->address); ?>">
                </div>
                <div class="col-12">
                  <label for="maps" class="form-label">Link GMaps</label>
                  <input type="text" class="form-control" id="maps" name="maps" value="<?php echo e($data->maps); ?>">
                </div>
                <div>
                  <button type="submit" class="btn btn-primary">Update</button>
                </div>
              </form><!-- Vertical Form -->

            </div>
          </div>

        </div>

      </div>
    </section>

  </main><!-- End #main -->
<?php $__env->stopSection(); ?>
<?php echo $__env->make('dashboard.layout', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/tpsa9543/public_html/tpscmalang/resources/views/dashboard/companyProfile.blade.php ENDPATH**/ ?>