@extends('master.front') @section('meta') @endsection @section('content') @php function renderStarRating($rating, $maxRating = 5) { $fullStar = ""; $halfStar = ""; $emptyStar = ""; $rating = $rating <= $maxRating ? $rating : $maxRating; $fullStarCount = (int) $rating; $halfStarCount = ceil($rating) - $fullStarCount; $emptyStarCount = $maxRating - $fullStarCount - $halfStarCount; $html = str_repeat($fullStar, $fullStarCount); $html .= str_repeat($halfStar, $halfStarCount); $html .= str_repeat($emptyStar, $emptyStarCount); $html = $html; return $html; } @endphp @if ($setting->is_slider == 1)
@endif @if ($setting->is_service == 1)
@foreach ($services as $service)
Shipping
{{ $service->title }}

{{ $service->details }}

@endforeach
@endif @if ($setting->campaign_status == 1)

{{ $setting->campaign_title }}

@endif @if ($setting->is_three_c_b_first == 1)
@endif @if ($setting->is_popular_category == 1) @endif @if ($setting->is_three_c_b_second == 1)
@endif @if ($setting->is_highlighted == 1)
@endif @if ($extra_settings->is_t1_falsh == 1)

{{ __('Flash Deal') }}

@endif @if ($setting->is_two_column_category == 1)
@foreach ($two_column_categoriess as $two_column_key => $two_column_category)

{{ $two_column_category['name']->name }}

@endforeach
@endif @if ($setting->is_two_c_b == 1)
@endif @if ($setting->is_featured_category == 1) @endif @if ($setting->is_blogs == 1)

{{ __('Our Blog') }}

@endif @if ($setting->is_popular_brand == 1)

{{ __('Popular Brands') }}

@endif @endsection