@extends('layouts.landing.app') @section('title', 'Landing Page | ' . \App\Models\BusinessSetting::where(['key' => 'business_name'])->first()->value ?? 'Stackfood') @section('content') @php($front_end_url = \App\Models\BusinessSetting::where(['key' => 'front_end_url'])->first()) @php($front_end_url = $front_end_url ? $front_end_url->value : null) @php($landing_page_text = \App\Models\BusinessSetting::where(['key' => 'landing_page_text'])->first()) @php($landing_page_text = isset($landing_page_text->value) ? json_decode($landing_page_text->value, true) : null) @php($landing_page_links = \App\Models\BusinessSetting::where(['key' => 'landing_page_links'])->first()) @php($landing_page_links = isset($landing_page_links->value) ? json_decode($landing_page_links->value, true) : null) @php($landing_page_images = \App\Models\BusinessSetting::where(['key' => 'landing_page_images'])->first()) @php($landing_page_images = isset($landing_page_images->value) ? json_decode($landing_page_images->value, true) : null)

{{ isset($landing_page_text) ? $landing_page_text['header_title_3'] : '' }}

{{ isset($landing_page_text) ? $landing_page_text['header_title_1'] : '' }}

{{ isset($landing_page_text) ? $landing_page_text['header_title_2'] : '' }}

Image One
Image

{{ translate('messages.about_us') }}

{{ isset($landing_page_text) ? $landing_page_text['about_title'] : '' }}

{!! \Illuminate\Support\Str::limit(\App\CentralLogics\Helpers::get_settings('about_us'), 200) !!}

{{ translate('messages.read_more') }}
@php($feature = \App\Models\BusinessSetting::where(['key' => 'feature'])->first()) @php($feature = isset($feature->value) ? json_decode($feature->value, true) : null) @if ($feature && count($feature) > 0)

{{ isset($landing_page_text['feature_section_title']) ? $landing_page_text['feature_section_title'] :translate('messages.our_features') }}

{{ isset($landing_page_text['feature_section_description']) ? $landing_page_text['feature_section_description'] : 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aliquam ex odio, turpis accumsan congue.' }}

@foreach ($feature as $feature_data)
Image

{{ $feature_data['title'] }}

{{ $feature_data['feature_description'] }}

@endforeach
About us
@endif @if ($landing_page_links['app_url_android_status'] !== null || $landing_page_links['app_url_ios_status'] !== null)
Image

{{ translate('messages.our_mobile_applications') }}

{{ isset($landing_page_text['mobile_app_section_heading']) ? $landing_page_text['mobile_app_section_heading'] : 'Mobile app section heading' }}

{{ isset($landing_page_text['mobile_app_section_text']) ? $landing_page_text['mobile_app_section_text'] : 'Mobile App Section Paragraph' }}

@endif @php($speciality = \App\Models\BusinessSetting::where(['key' => 'speciality'])->first()) @php($speciality = isset($speciality->value) ? json_decode($speciality->value, true) : null) @if (isset($speciality) && count($speciality) > 0)

{{ isset($landing_page_text) ? $landing_page_text['why_choose_us'] : '' }}

{{ isset($landing_page_text) ? $landing_page_text['why_choose_us_title'] : '' }}

@foreach ($speciality as $sp)
Image

{{ $sp['title'] }}

@endforeach
@endif

{{ translate('messages.news_letter_signup') }}

{{ translate('messages.news_letter_signup_text') }}

{{-- Final testimonial --}} @php($testimonial = \App\Models\BusinessSetting::where(['key' => 'testimonial'])->first()) @php($testimonial = isset($testimonial->value) ? json_decode($testimonial->value, true) : null) @if ($testimonial && count($testimonial) > 0)

{{ isset($landing_page_text) ? $landing_page_text['testimonial_title'] : '' }}

@endif @endsection @push('script_2') @endpush