@extends('website_builder.construction_theme.layout')
@section('title', 'About Us - ' . ($agency->site_title ?? 'BuildCraft Construction'))
@section('content')
@php
$subdomainParam = isset($subdomain) && $subdomain ? $subdomain : null;
$homeUrl = $subdomainParam ? route('website-builder.subdomain.site', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction');
$aboutUrl = $subdomainParam ? route('website-builder.subdomain.about', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.about');
$contactUrl = $subdomainParam ? route('website-builder.subdomain.contact', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.contact');
$portfolioUrl = $subdomainParam ? route('website-builder.subdomain.portfolio', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.portfolio');
$servicesUrl = $subdomainParam ? route('website-builder.subdomain.services', ['subdomain' => $subdomainParam]) : route('website-builder.templates.construction.services');
$agency = $agency ?? $interior ?? null;
@endphp
@php
$heroBannerBg = asset('assets/website_builder/Templates/Construction_agency/construction_herobanner.png');
@endphp
{{ $agency->about_badge ?? 'ABOUT US' }}
{!! nl2br(e($agency->about_hero_title ?? "More Than Buildings,\nWe Construct Futures")) !!}
{{ $agency->about_hero_subtitle ?? "We're on a mission to make every project safer, smarter, and built to stand the test of time. From commercial complexes to residential developments, BuildCraft is always with you." }}
Trusted by
Thousands of Clients
{{ $agency->story_badge ?? 'OUR STORY' }}
{!! $agency->story_title ?? 'A Journey Driven By Excellence ' !!}
{{ $agency->story_text ?? 'BuildCraft was founded with a simple idea — to make construction more reliable, sustainable, and human-centric. What started as a small team of engineering enthusiasts has grown into a trusted platform serving hundreds of clients across the country.' }}
{{ $agency->founder_name ?? 'Michael Carter' }}
{{ $agency->founder_role ?? 'Founder & CEO' }}
{{ $agency->founder_name ?? 'Michael Carter' }}
{{ $agency->mission_title ?? 'Our Mission' }}
{{ $agency->mission_text ?? 'To provide safe, sustainable, and top-tier construction services for everyone, everywhere.' }}
{{ $agency->vision_title ?? 'Our Vision' }}
{{ $agency->vision_text ?? 'To be the most trusted global construction platform, building iconic skylines.' }}
{{ $agency->values_title ?? 'Our Values' }}
@php
$valText = $agency->values_text ?? "Quality First\nSafety & Reliability\nTransparency\nSustainability";
$valItems = array_values(array_filter(array_map('trim', preg_split('/\r\n|\r|\n|,/', $valText))));
@endphp
@foreach($valItems as $vi)
{{ $vi }}
@endforeach
@php
$rawStats = $agency->stats_data ?? null;
if (is_string($rawStats)) { $dec = json_decode($rawStats, true); $rawStats = is_string($dec) ? json_decode($dec, true) : $dec; }
$stats = (is_array($rawStats) && count($rawStats) > 0)
? $rawStats
: [
['number' => '15+', 'label' => 'Years of Experience', 'icon' => 'fa-award'],
['number' => '250+', 'label' => 'Projects Completed', 'icon' => 'fa-building'],
['number' => '98%', 'label' => 'Client Satisfaction', 'icon' => 'fa-star'],
['number' => '100+', 'label' => 'Skilled Professionals', 'icon' => 'fa-helmet-safety'],
];
@endphp
@foreach($stats as $i => $st)
{{ $st['number'] ?? '' }}
{{ $st['label'] ?? '' }}
@endforeach
@php
$rawTeam = $agency->team_members_data ?? [];
if (is_string($rawTeam)) { $dec = json_decode($rawTeam, true); $rawTeam = is_string($dec) ? json_decode($dec, true) : $dec; }
if (!is_array($rawTeam)) { $rawTeam = []; }
$defaultTeamImages = [
asset('assets/website_builder/Templates/Construction_agency/team_1.png'),
asset('assets/website_builder/Templates/Construction_agency/team_2.png'),
asset('assets/website_builder/Templates/Construction_agency/team_3.png'),
asset('assets/website_builder/Templates/Construction_agency/team_4.png'),
];
$team = [];
if (!empty($rawTeam)) {
foreach($rawTeam as $idx => $tm) {
$img = $tm['image'] ?? $tm['avatar'] ?? $tm['photo'] ?? '';
if (empty($img) || str_contains($img, 'unsplash.com') || str_contains($img, 'team_1.jpg') || str_contains($img, 'team_2.jpg') || str_contains($img, 'team_3.jpg') || str_contains($img, 'team_4.jpg')) {
$img = $defaultTeamImages[$idx % 4];
}
$team[] = [
'name' => $tm['name'] ?? 'Team Member',
'role' => $tm['role'] ?? 'Specialist',
'image' => $img,
];
}
} else {
$team = [
['name' => 'Michael Carter', 'role' => 'Founder & CEO', 'image' => asset('assets/website_builder/Templates/Construction_agency/team_1.png')],
['name' => 'Sarah Mitchell', 'role' => 'Chief Operating Officer', 'image' => asset('assets/website_builder/Templates/Construction_agency/team_2.png')],
['name' => 'David Thompson', 'role' => 'Head of Engineering', 'image' => asset('assets/website_builder/Templates/Construction_agency/team_3.png')],
['name' => 'Emily Davis', 'role' => 'Chief Architect', 'image' => asset('assets/website_builder/Templates/Construction_agency/team_4.png')],
];
}
$teamCount = count($team);
@endphp
{{ $agency->team_badge ?? 'MEET OUR TEAM' }}
{!! nl2br(e($agency->team_title ?? 'The People Behind BuildCraft')) !!}
{{ $agency->team_subtitle ?? 'Our team is made up of passionate individuals who believe in building a safer, stronger, and more sustainable world.' }}
@if($teamCount > 4)
@endif
@foreach($team as $tm)
@php
$tmImg = !empty($tm['image']) ? (str_starts_with($tm['image'], 'http') ? $tm['image'] : asset(ltrim($tm['image'], '/'))) : asset('assets/website_builder/Templates/Construction_agency/team_1.png');
@endphp
{{ $tm['name'] ?? '' }}
{{ $tm['role'] ?? '' }}
@endforeach
@php
$rawTestimonials = $agency->testimonials_data ?? [];
$defaultTstAvatars = [
asset('assets/website_builder/Templates/Construction_agency/team_1.png'),
asset('assets/website_builder/Templates/Construction_agency/team_2.png'),
asset('assets/website_builder/Templates/Construction_agency/team_3.png'),
];
$testimonials = [];
if (!empty($rawTestimonials)) {
foreach($rawTestimonials as $idx => $t) {
$avatar = $t['avatar'] ?? $t['image'] ?? $t['photo'] ?? '';
if (empty($avatar) || str_contains($avatar, 'unsplash.com')) {
$avatar = $defaultTstAvatars[$idx % 3];
}
$testimonials[] = [
'name' => $t['name'] ?? 'Satisfied Client',
'role' => $t['role'] ?? 'Client',
'comment' => $t['comment'] ?? $t['text'] ?? '',
'avatar' => $avatar,
'review_url' => $t['review_url'] ?? $t['link'] ?? '',
];
}
} else {
$testimonials = [
['name' => 'James Anderson', 'role' => 'Commercial Client', 'comment' => 'BuildCraft made our commercial tower project so easy and stress-free. Highly recommended!', 'avatar' => asset('assets/website_builder/Templates/Construction_agency/team_1.png')],
['name' => 'Sophia Martinez', 'role' => 'Project Director', 'comment' => 'Reliable, affordable, and always on time. The best construction partner in the country!', 'avatar' => asset('assets/website_builder/Templates/Construction_agency/team_2.png')],
['name' => 'Robert Wilson', 'role' => 'Real Estate Developer', 'comment' => 'Professional engineers and excellent project delivery. Truly a great experience!', 'avatar' => asset('assets/website_builder/Templates/Construction_agency/team_3.png')],
];
}
$testimonialsCount = count($testimonials);
@endphp
{{ $agency->testimonials_badge ?? 'WHAT OUR CLIENTS SAY' }}
{!! nl2br(e($agency->testimonials_title ?? 'Stories From Our Happy Clients')) !!}
{{ $agency->testimonials_subtitle ?? 'Real experiences from people who build with BuildCraft every day.' }}
@if($testimonialsCount > 4)
@endif
@if($testimonialsCount > 0)
@endif
@section('scripts')
@endsection
@endsection