@extends('layouts.master2') @section('scriptDataLayer') @endsection @section('meta') @endsection @section('pageHeader')
{{ $deals->name }}
@endsection @section('loginMobile') @if(!$userDetails && !$wasRemoveSignIn) @endif @show @section('canonical') @if (env('APP_ENV') == "production") @elseif (env('APP_ENV') == "development") @else @endif @endsection @if (!empty($seo)) @if (!empty($seo->meta_title)) @section('title', $seo->meta_title ) @endif @if (!empty($seo->meta_description)) @section('meta_description', $seo->meta_description ) @endif @if (!empty($seo->meta_keyword)) @section('meta_keyword', $seo->meta_keyword ) @endif @else @section('title', $deals->name) @endif @section('content')
@if (!empty($deals->discount))
{{ $deals->discount }}%
@endif @if (count($deals->images) > 0) @foreach($deals->images as $img)
{{ $deals->name }}
@endforeach @else {{ $deals->name }} @endif @if(isset($deals->giveaway_ID))
@php $giveawayUrl = url('giveaway?giftId='.$deals->giveaway_ID); if($user) { $giveawayUrl = url('giveaway/bridge?giftId='.$deals->giveaway_ID); } @endphp @if ($user) Giladiskon Giveaway @else @endif
@endif
@if(!empty($deals->discount))
{{ $deals->discount }}%
@endif @if (count($deals->images) > 0) @foreach($deals->images as $img)
{{ $deals->name }}
@endforeach @else {{ $deals->name }} @endif @if(isset($deals->giveaway_ID))
@php $giveawayUrl = url('giveaway?giftId='.$deals->giveaway_ID); if($user) { $giveawayUrl = url('giveaway/bridge?giftId='.$deals->giveaway_ID); } @endphp @if ($user) Giladiskon Giveaway @else @endif
@endif
{{ $deals->name }}
Berlaku Hingga : {{ date('d F Y', strtotime($deals->expired_date)) }}
  
{{-- add to favorite --}} @if($user) @endif
@if ($deals->coupon_code)
@endif
@if (!empty($deals->start_price) && !empty($deals->final_price))
{{ 'Rp '.number_format($deals->start_price, 0, ",", ".") }}  {{ 'Rp '. number_format($deals->final_price, 0, ",", ".") }}
@endif {{--
Tentang Deals
--}} @if($deals->url != "" && $deals->url != "https://www.giladiskon.com/")
@if ($deals->expired_date > \Carbon\Carbon::now()) @else
Expired
@endif
@endif
name) }}'" :deals_id="{{ $deals->id }}">
@if ($deals->tags)
@endif
@if(!empty($deals->merchant_id))
{{ $deals->merchant_name }}
{{ ucfirst($deals->merchant_name) }}
Merchant Detail
@endif {{--
Tentang Deals
{!! $deals->description !!}
--}}
@if (isset($deals->description))
Tentang Deals
{{-- @if (strlen(trim(strip_tags($deals->description))) > 250) {{ Str::limit(trim(strip_tags($deals->description)), 250, '') }} ... {{ substr(trim(strip_tags($deals->description)), 200) }} read more @else @endif --}} {!! $deals->description !!}
@endif {{--
Komentar
--}} @livewire('section', ['cookie' => $cookie])
@endsection @section('mobileMenu') @php $message = urlencode($deals->name."\r\n". url()->full()); @endphp @if($deals->url != "" && strpos($deals->url, "www.giladiskon.com") === false )
@if ($deals->expired_date > \Carbon\Carbon::now())
Share  
@else
Expired
@endif
@else
@if ($deals->expired_date > \Carbon\Carbon::now())
Share  
@else
Expired
@endif
@endif @endsection @section('script') @parent @endsection