@php
use App\Models\CompanyData;

$def=CompanyData::orderBy('id','desc')->first();
if(!function_exists('direction')){

        function direction(){

            if(session()->has('lang')){
                if(session('lang') == 'ar'){

                 return 'rtl';
                }else{
                    return 'ltr' ;
                }
            }else{
                return 'rtl' ;
            }
        }


        }
    
@endphp




  <!-- Jquery-js-Link -->
  <script src="js/jquery.js"></script>

        
  @if(direction()=='ltr') 
<!DOCTYPE html>
<html lang="en">

<head>

  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">

  <!-- icofont-css-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/icofont.min.css')}}">
  <!-- Owl-Carosal-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/animate.min.css')}}">
  <!-- Owl-Carosal-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/owl.carousel.min.css')}}">
  <!-- Bootstrap-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/bootstrap.min.css')}}">
    
  <!-- LightBox -->
  <link rel="stylesheet" href="{{asset('RFront/css/lightbox.css')}}">
    
  <!-- Aos-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/aos.css')}}">
  <!-- Coustome-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/style.css')}}">
  <!-- Responsive-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/responsive.css')}}">

  <!-- Jquery-js-Link -->
  <script src="{{asset('RFront/js/jquery.js')}}"></script>

  <!-- Favicon -->
  <link rel="shortcut icon" href="{{URL::to($def->Icon_Store)}}" type="image/x-icon">

</head>

@else
      <!DOCTYPE html>
<html lang="ar">

<head>

  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">


  <!-- icofont-css-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/icofont.min.css')}}">
  <!-- Owl-Carosal-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/animate.min.css')}}">
  <!-- Owl-Carosal-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/owl.carousel.min.css')}}">
  <!-- Bootstrap-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/bootstrap.min.css')}}">
  <!-- LightBox -->
  <link rel="stylesheet" href="{{asset('RFront/css/lightbox.css')}}">    
  <!-- Aos-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/aos.css')}}">
  <!-- Coustome-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/style-ar.css')}}">
  <!-- Responsive-Style-link -->
  <link rel="stylesheet" href="{{asset('RFront/css/responsive.css')}}">

  <!-- Jquery-js-Link -->
  <script src="{{asset('RFront/js/jquery.js')}}"></script>

  <!-- Favicon -->
  <link rel="shortcut icon" href="{{URL::to($def->Icon_Store)}}" type="image/x-icon">

</head>
  
         
@endif



    


    
  


