@extends('Admin.layouts.master')

@section('content')
@php
$currentPage = 'manage-privacy';
@endphp




<!-- <div class="layout-px-spacing">
    <div class="middle-content container-xxl p-0">
        <div class="row layout-top-spacing ">
            <div class="top-tabel">
                <div class="row">
                    <div class="col-md-12 left d-flex align-items-center justify-content-between" style="gap: 15px;">
                        <h6 class="card-title pl-2">Privacy Policy</h6>
                        <a class="view-details-btn mr-2" href="manage-privacy-edit.php">
                            <span>Edit Details</span>
                        </a>
                    </div>
                </div>


            </div>
            <div class="col-xl-12 col-lg-12 col-sm-12  layout-spacing">
                <div class="widget-content widget-content-area br-8 position-btn p-0">
                    <div class="view-details">
                        <div class="simple-tab">
                            <div class="tab-content" id="myTabContent">
                                <div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">
                                    <div class="row">
                                        <div class="col-md-12">
                                            <p>
                                                Vorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
                                                eu turpis molestie, dictum est a, mattis tellus. Sed
                                                dignissim, metus nec fringilla accumsan, risus sem sollicitudin
                                                lacus, ut interdum tellus elit sed risus. Maecenas eget
                                                condimentum velit, sit amet feugiat lectus. Class aptent taciti
                                                sociosqu ad litora torquent per conubia nostra, per
                                                inceptos himenaeos.
                                            </p>
                                        </div>
                                        <div class="col-md-12">
                                            <p>
                                                Vorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
                                                eu turpis molestie, dictum est a, mattis tellus. Sed
                                                dignissim, metus nec fringilla accumsan, risus sem sollicitudin
                                                lacus, ut interdum tellus elit sed risus. Maecenas eget
                                                condimentum velit, sit amet feugiat lectus. Class aptent taciti
                                                sociosqu ad litora torquent per conubia nostra, per
                                                inceptos himenaeos.
                                            </p>
                                        </div>
                                        <div class="col-md-12">
                                            <p>
                                                Vorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam
                                                eu turpis molestie, dictum est a, mattis tellus. Sed
                                                dignissim, metus nec fringilla accumsan, risus sem sollicitudin
                                                lacus, ut interdum tellus elit sed risus. Maecenas eget
                                                condimentum velit, sit amet feugiat lectus. Class aptent taciti
                                                sociosqu ad litora torquent per conubia nostra, per
                                                inceptos himenaeos.
                                            </p>
                                        </div>
                                    </div>

                                </div>

                            </div>

                        </div>


                    </div>

                </div>
            </div>
        </div>
    </div>
</div> -->

<div class="layout-px-spacing">
    <div class="middle-content container-xxl p-0">
        <div class="row layout-top-spacing ">
            <div class="top-tabel">
                <div class="row">
                    <div class="col-md-12 left d-flex align-items-center justify-content-between" style="gap: 15px;">
                        <h6 class="card-title pl-2">Privacy Policy Customer</h6>

                        @if(!empty($view_privacy ))
                        <a class="view-details-btn mr-2" href="{{ url('/privacy_edit/'.$view_privacy [0]['id']) }}">
                            <span>Edit Details</span>
                        </a>
                        @else
                        <p>No privacy policy found.</p>
                        @endif

                    </div>
                </div>
            </div>
        </div>
        <div class="col-xl-12 col-lg-12 col-sm-12  layout-spacing">
            <div class="widget-content widget-content-area br-8 position-btn p-0">
                <div class="view-details">
                    <div class="simple-tab">
                        <div class="tab-content" id="myTabContent">
                            <div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">
                                <div class="row">
                                    <div class="col-md-12">
                                        <p>
                                        {!! $view_privacy[0]['description'] !!}
                                        </p>
                                    </div>
                                </div>

                            </div>

                        </div>

                    </div>


                </div>

            </div>
        </div>
    </div>

    <div class="row layout-top-spacing ">
        <div class="top-tabel">
            <div class="row">
                <div class="col-md-12 left d-flex align-items-center justify-content-between" style="gap: 15px;">
                    <h6 class="card-title pl-2">Privacy Policy Resturant</h6>
                    <a class="view-details-btn mr-2" href="{{ url('/privacy_edit_rest/'.$view_privacy [1]['id']) }}">
                        <span>Edit Details</span>
                    </a>
                </div>
            </div>


        </div>
        <div class="col-xl-12 col-lg-12 col-sm-12  layout-spacing">
            <div class="widget-content widget-content-area br-8 position-btn p-0">
                <div class="view-details">
                    <div class="simple-tab">
                        <div class="tab-content" id="myTabContent">
                            <div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab" tabindex="0">
                                <div class="row">
                                    <div class="col-md-12">
                                    <p>
                                        {!! $view_privacy[1]['description'] !!}
                                        </p>                                    </div>
                                </div>
                            </div>

                        </div>

                    </div>


                </div>

            </div>
        </div>
    </div>
</div>
</div>



@endsection
