@extends('layout.guest') @section('content')
Login
Register
{{--
Live Chat
--}} {{-- Image Slider --}} {{-- Who we are --}}

Who We Are

VIEW MORE
@php $count = 0; @endphp @foreach ($who->take(4) as $index => $whos) @if ($index == 0)
YouTube Thumbnail
@else @if ($count == 0)
@endif
YouTube Thumbnail
@php $count++; @endphp @if ($count == 3)
@endif @endif @endforeach @if ($count > 0 && $count < 3)
@endif
@env('local') {{-- Testimony --}}

Testimony

@foreach ($testimonies as $testimony)
{{ strlen($testimony->description) > 500 ? substr($testimony->description, 0, 500) . '...' : $testimony->description }}
{{ $testimony->client_name ?? '-' }}
@endforeach
VIEW MORE
@endenv {{-- Latest news --}}

Latest News

@foreach ($latestNews as $item)
{{ $item->title }}
{{ $item->created_at->format('M d, Y') ?? '-' }}

{{ $item->title }}

@if (strlen($item->content) > 100) {{ substr($item->content, 0, 100) . '...' }} [Read More] @else {{ $item->content }} @endif

{{-- @if (strlen($item->content) > 100) @endif --}}
@endforeach
VIEW MORE
@unless (app()->environment('production'))

Upcoming Events

@include('pages.apps.event-management.events.event-cards', ['events' => $events])
@endunless {{-- Statistics and join us now --}}

Statistics

{{-- VIEW MORE --}}

{{ $companies_registered }}

Companies Registered

{{ $productCount }}

Products Registered

{{ $serviceCount }}

Services Registered

RM {{ $value }} Billion As of Year {{ $ggp_year }}

Government Procurement Value

@env('local') @if ($items->count() > 0) {{-- Latest product and service --}}

Latest Products and Services

@foreach ($items as $item)
@if ($image = $item->getItemDetailValue('Image')) image @else image @endif

{{ $item->getItemDetailValue(['Product Name', 'Service Name']) ?? '-' }}

Listing Number

{{ $item->getItemDetailValue('Listing Number') ?? '-' }}

Company

{{ $item->application->company->company_name ?? '-' }}

@endforeach
BROWSE DIRECTORY
{{-- Featured product and service --}}

Featured Products and Services

@foreach ($featured_product as $products)
Service Image

{{ $products->product_name ?? '-' }}

Listing Number

{{ $products->listing_number ?? '-' }}

Company

{{ $products->company_name ?? '-' }}

@endforeach
@endif @endenv @env('local') @if ($certificationGroup->count() > 0) {{-- Certification partners --}}

Verification Partners

@endif @endenv @endsection @section('scripts') @endsection