@extends('admin.master_layout')
@section('title')
<title>{{__('admin.Topbar Contact')}}</title>
@endsection
@section('admin-content')
      <!-- Main Content -->
      <div class="main-content">
        <section class="section">
          <div class="section-header">
            <h1>{{__('admin.Topbar Contact')}}</h1>
            <div class="section-header-breadcrumb">
              <div class="breadcrumb-item active"><a href="{{ route('admin.dashboard') }}">{{__('admin.Dashboard')}}</a></div>
              <div class="breadcrumb-item">{{__('admin.Topbar Contact')}}</div>
            </div>
          </div>

            <div class="section-body">
                <div class="row mt-4">
                    <div class="col">
                        <div class="card">
                            <div class="card-body">
                                <form action="{{ route('admin.update-topbar-contact') }}" method="POST">
                                    @csrf
                                    @method('PUT')
                                    <div class="form-group">
                                        <label for="">{{__('admin.Topbar Phone')}}</label>
                                        <input type="text" name="topbar_phone" class="form-control" value="{{ $header->topbar_phone }}">
                                    </div>
                                    <div class="form-group">
                                        <label for="">{{__('admin.Topbar Email')}}</label>
                                        <input type="text" name="topbar_email" class="form-control" value="{{ $header->topbar_email }}">
                                    </div>

                                    <button type="submit" class="btn btn-primary">{{__('admin.Update')}}</button>
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
      </div>
@endsection
