<!DOCTYPE html>
<html>

<head>
  <meta charset="utf-8">
  <title><?php echo SITEVARS->Campaigns[0]->seo_title; ?> : {{env("APP_NAME")}}</title>
  <link rel="icon" type="image/x-icon" href="<?php echo SITEVARS->icon; ?>">
  @if (!View::hasSection('seo'))
  @include(env("CLIENT_PATH").'.partials.seo')
  @endif
  @yield("seo")
  <!-- Stylesheets -->
  <link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">

  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css" />

  <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&amp;display=swap" rel="stylesheet">

  <!-- Responsive -->
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">

  @stack("css")
  <?php echo SITEVARS->meta_pixel_code; ?>
  <style>
    .sbuttons {
      bottom: 5%;
      position: fixed;
      margin: 1em;
      left: 0;
      z-index: 9999;
    }

    .sbutton {
      display: block;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      text-align: center;
      color: white;
      margin: 20px auto 0;
      box-shadow: 0px 5px 11px -2px rgba(0, 0, 0, 0.18), 0px 4px 12px -7px rgba(0, 0, 0, 0.15);
      cursor: pointer;
      -webkit-transition: all .1s ease-out;
      transition: all .1s ease-out;
      position: relative;
    }

    .sbutton>i {
      font-size: 38px;
      line-height: 60px;
      transition: all .2s ease-in-out;
      transition-delay: 2s;
    }

    .sbutton:active,
    .sbutton:focus,
    .sbutton:hover {
      box-shadow: 0 0 4px rgba(0, 0, 0, .14), 0 4px 8px rgba(0, 0, 0, .28);
    }

    .sbutton:not(:last-child) {
      width: 60px;
      height: 60px;
      margin: 20px auto 0;
      opacity: 0;
    }

    .sbutton:not(:last-child)>i {
      font-size: 25px;
      line-height: 60px;
      transition: all .3s ease-in-out;
    }

    .sbuttons:hover .sbutton:not(:last-child) {
      opacity: 1;
      width: 60px;
      height: 60px;
      margin: 15px auto 0;
    }

    .sbutton:nth-last-child(1) {
      -webkit-transition-delay: 25ms;
      transition-delay: 25ms;
    }

    .sbutton:not(:last-child):nth-last-child(2) {
      -webkit-transition-delay: 20ms;
      transition-delay: 20ms;
    }

    .sbutton:not(:last-child):nth-last-child(3) {
      -webkit-transition-delay: 40ms;
      transition-delay: 40ms;
    }

    .sbutton:not(:last-child):nth-last-child(4) {
      -webkit-transition-delay: 60ms;
      transition-delay: 60ms;
    }

    .sbutton:not(:last-child):nth-last-child(5) {
      -webkit-transition-delay: 80ms;
      transition-delay: 80ms;
    }

    .sbutton:not(:last-child):nth-last-child(6) {
      -webkit-transition-delay: 100ms;
      transition-delay: 100ms;
    }

    [tooltip]:before {
      font-family: 'Roboto';
      font-weight: 600;
      border-radius: 2px;
      background-color: #585858;
      color: #fff;
      content: attr(tooltip);
      font-size: 12px;
      visibility: hidden;
      opacity: 0;
      padding: 5px 7px;
      margin-left: 10px;
      position: absolute;
      left: 100%;
      bottom: 20%;
      white-space: nowrap;
    }

    [tooltip]:hover:before,
    [tooltip]:hover:after {
      visibility: visible;
      opacity: 1;
    }

    .sbutton.mainsbutton {
      background: #2ab1ce;
    }

    .sbutton.gplus {
      background: #F44336;
    }

    .sbutton.pinteres {
      background: #e60023;
    }

    .sbutton.twitt {
      background: #03A9F4;
    }

    .sbutton.fb {
      background: #3F51B5;
    }

    .sbutton.whatsapp {
      background: #00e676;
    }

    .sbutton.tiktok {
      background: #000000;
    }
  </style>
  {!!(SITEVARS->meta_pixel_code)?SITEVARS->meta_pixel_code:""!!}
</head>


<body class="hidden-bar-wrapper">
  <div class="sbuttons">



  </div>


  <!-- Main Header-->
  @include(env("CLIENT_PATH").".partials.header")


  @yield("content")

  <!-- End News Section -->
  @include(env("CLIENT_PATH").".partials.footer")
  <div class="scroll-to-top scroll-to-target" data-target="html"><span class="fa fa-arrow-up"></span></div>
  <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/sweetalert2@10"></script>

  @stack("js")
</body>

</html>