@if(!empty($agency->favicon)) @endif @if(!empty($agency->og_image ?? $agency->hero_image)) @endif @php $primaryColor = $agency->primary_color ?? '#4f46e5'; $secondaryColor = $agency->secondary_color ?? '#9333ea'; $heroImg = !empty($agency->hero_image) ? asset(ltrim($agency->hero_image, '/')) : asset('assets/landing_page/herobanner_dashboard.png'); $aboutImg = !empty($agency->about_image) ? asset(ltrim($agency->about_image, '/')) : asset('assets/landing_page/features_leftside.png'); $ctaImg = !empty($agency->cta_image) ? asset(ltrim($agency->cta_image, '/')) : asset('assets/landing_page/footer_card.png'); /* Safely read property from stdClass or Eloquent model */ $agencyGet = function($key, $default = null) use ($agency) { if (is_object($agency)) { return isset($agency->$key) ? $agency->$key : $default; } return $default; }; /* KB stats — dynamically editable */ $kbStatsRaw = $agencyGet('kb_stats'); $kbStats = is_array($kbStatsRaw) ? $kbStatsRaw : (json_decode($kbStatsRaw ?? '[]', true) ?: [ ['value' => '10,000+', 'label' => 'Happy Businesses', 'icon' => 'user'], ['value' => '1M+', 'label' => 'Orders Processed', 'icon' => 'package'], ['value' => '500K+', 'label' => 'Active Customers', 'icon' => 'shield'], ['value' => '99.8%', 'label' => 'Uptime & Secure', 'icon' => 'sparkles'], ]); $kbFloatingRaw = $agencyGet('kb_floating_data'); $kbFloating = is_array($kbFloatingRaw) ? $kbFloatingRaw : (json_decode($kbFloatingRaw ?? '[]', true) ?: [ 'order_num' => '#ORD-125', 'revenue' => '₹24,50,000', 'revenue_growth' => '12.5%', 'customers' => '1,245', 'customer_growth' => '18.2%', 'customer_month' => '+192 this month', ]); $purchasedProducts = $agency->purchased_products ?? []; if (empty($purchasedProducts)) { $agencyWithProds = getAgencyFromHost(); $purchasedProducts = $agencyWithProds->purchased_products ?? []; } if (empty($purchasedProducts)) { try { $cpanelUser = env('CPANEL_USER', 'nooryak'); $dbName = env('SASS_ADMIN_DB') ?: "{$cpanelUser}_Sass_admindb"; $dbUser = env('SASS_ADMIN_DB_USER') ?: "{$cpanelUser}_sass_admindb"; $dbPass = env('SASS_ADMIN_DB_PASS') ?: env('DB_PASSWORD', 'Bahad@123'); $dbHost = env('SASS_ADMIN_DB_HOST', '127.0.0.1'); $dbPort = env('SASS_ADMIN_DB_PORT', '3306'); $candDbs = array_unique(array_filter([$dbName, strtolower($dbName), "{$cpanelUser}_sass_admindb", "{$cpanelUser}_Sass_admindb", 'sass_admin'])); foreach ($candDbs as $cdb) { try { $pdo = new \PDO("mysql:host={$dbHost};port={$dbPort};dbname={$cdb};charset=utf8mb4", $dbUser, $dbPass, [\PDO::ATTR_TIMEOUT => 3]); $stmt = $pdo->query("SELECT id, name, slug, tagline, description, icon, app_url FROM products WHERE is_active = 1"); $rawProds = $stmt->fetchAll(\PDO::FETCH_OBJ); if (!empty($rawProds)) { $scheme = (request()->secure() || str_contains(request()->fullUrl(), 'https://')) ? 'https://' : 'http://'; $hostLower = strtolower(str_replace('www.', '', request()->getHost())); $cleanHost = preg_replace('/^(launchshop|checkout|app|www|websitebuilder|website-builder|whatsappbulk|whatsapp|wa|ecombuilder|ecom-builder)\./i', '', $hostLower); foreach ($rawProds as &$p) { $sClean = strtolower(trim($p->slug)); if ($sClean === 'website-builder') $sClean = 'websitebuilder'; if ($sClean === 'launchshop' || $sClean === 'ecom-builder') $sClean = 'ecombuilder'; $p->url = "{$scheme}{$sClean}.{$cleanHost}"; } $purchasedProducts = $rawProds; break; } } catch (\Throwable $e) {} } } catch (\Throwable $e) {} } $services = []; foreach ($purchasedProducts as $p) { $pName = is_object($p) ? ($p->name ?? '') : ($p['name'] ?? ''); $pDesc = is_object($p) ? ($p->tagline ?? $p->description ?? '') : ($p['tagline'] ?? $p['description'] ?? ''); $pUrl = is_object($p) ? ($p->url ?? '#') : ($p['url'] ?? '#'); $pSlug = is_object($p) ? ($p->slug ?? '') : ($p['slug'] ?? ''); $services[] = [ 'title' => $pName, 'desc' => $pDesc, 'url' => $pUrl, 'slug' => $pSlug, ]; } $testimonialsRaw = $agencyGet('testimonials_data'); $testimonials = is_array($testimonialsRaw) ? $testimonialsRaw : (json_decode($testimonialsRaw ?? '[]', true) ?: [ ['name' => 'Rahul Sharma', 'role' => 'Restaurant Owner, Delhi', 'rating' => 5, 'comment' => "{$agency->name} helped us get 3x more online orders in just 2 months. The QR menu and reviews feature is amazing!"], ['name' => 'Priya Mehta', 'role' => 'Salon Owner, Mumbai', 'rating' => 5, 'comment' => 'Super easy to use and really effective. Our customer engagement has never been better!'], ['name' => 'Amit Verma', 'role' => 'Clinic Owner, Bengaluru', 'rating' => 5, 'comment' => 'The digital tools, CRM and reminders have saved us hours of work every week.'], ]); $featuresRaw = $agencyGet('features_data'); $features = is_array($featuresRaw) ? $featuresRaw : (json_decode($featuresRaw ?? '[]', true) ?: [ ['title' => 'Get More Customers', 'desc' => 'Build trust with reviews, smart websites and digital presence.', 'icon' => 'rocket', 'bg' => '#ede9fe', 'color' => '#7c3aed'], ['title' => 'Save Time & Effort', 'desc' => 'Automate repetitive tasks and focus on what matters most.', 'icon' => 'clock', 'bg' => '#d1fae5', 'color' => '#059669'], ['title' => 'Increase Revenue', 'desc' => 'Drive repeat business with loyalty programs & digital tools.', 'icon' => 'trending-up', 'bg' => '#ffedd5', 'color' => '#ea580c'], ['title' => 'Reliable & Secure', 'desc' => 'Your business data is safe with enterprise-grade security.', 'icon' => 'shield-check', 'bg' => '#dbeafe', 'color' => '#1d4ed8'], ]); $faqsRaw = $agencyGet('faq_data'); $faqs = is_array($faqsRaw) ? $faqsRaw : (json_decode($faqsRaw ?? '[]', true) ?: [ ['q' => 'How does the platform work?', 'a' => 'Our platform provides an all-in-one suite of growth tools to help local businesses manage orders, reviews, websites, and customer retention from one place.'], ['q' => 'Can I customize the features for my business?', 'a' => 'Yes, you can enable and configure the exact tools you need in just a few clicks from your dashboard.'], ['q' => 'Is technical knowledge required?', 'a' => 'Not at all! Our software is built for non-technical business owners with clean, easy-to-use interfaces.'], ]); $categoriesRaw = $agencyGet('categories_data'); $categories = is_array($categoriesRaw) ? $categoriesRaw : (json_decode($categoriesRaw ?? '[]', true) ?: [ ['label' => 'Restaurants', 'icon' => '🍽️'], ['label' => 'Clinics', 'icon' => '🏥'], ['label' => 'Salons & Spas', 'icon' => '💇'], ['label' => 'Retail Shops', 'icon' => '🛍️'], ['label' => 'Hotels', 'icon' => '🏨'], ['label' => 'Gyms & Fitness', 'icon' => '🏋️'], ['label' => 'Real Estate', 'icon' => '🏠'], ['label' => '& Many More', 'icon' => '✨'], ]); /* product icon map */ $pIconMap = [ 'AI Reviews + CRM' => ['icon' => 'star', 'bg' => '#ede9fe', 'clr' => '#7c3aed'], 'Website Builder' => ['icon' => 'monitor', 'bg' => '#dbeafe', 'clr' => '#1d4ed8'], 'Digital V-Card' => ['icon' => 'user', 'bg' => '#d1fae5', 'clr' => '#059669'], 'QR Menu & Ordering'=> ['icon' => 'qr-code', 'bg' => '#fce7f3', 'clr' => '#be185d'], 'Loyalty Program' => ['icon' => 'gift', 'bg' => '#fef3c7', 'clr' => '#d97706'], 'Business Analytics'=> ['icon' => 'bar-chart-3', 'bg' => '#ccfbf1', 'clr' => '#0d9488'], ]; /* Pricing plans — read from agency pricing_plans_data (stored in Sass_admin DB via getAgencyFromHost) */ $agencyObj = is_object($agency) ? $agency : null; $pricingPlansRaw = $agencyObj ? ($agencyObj->pricing_plans_data ?? null) : null; $pricingPlans = []; if (!empty($pricingPlansRaw)) { $pricingPlans = is_array($pricingPlansRaw) ? $pricingPlansRaw : (json_decode($pricingPlansRaw, true) ?: []); } if (empty($pricingPlans)) { // Auto-generate from purchasedProducts $productColorMap = [ 'launchshop' => ['color'=>'#f97316','gradient'=>'linear-gradient(135deg,#f97316,#ea580c)','icon'=>'shopping-bag','plan_badge'=>'STARTER TIER','plan_name'=>'Starter Growth','price_monthly'=>'499','price_yearly'=>'4999','trust_count'=>'10,000+ Sellers Trust Us','is_popular'=>false,'features'=>['1 Online Store','Up to 1,000 Products','Basic Analytics & Reports','Standard Email Support','Custom Subdomain Setup'],'cta_text'=>'Get Started Free'], 'website-builder' => ['color'=>'#2563eb','gradient'=>'linear-gradient(135deg,#2563eb,#1d4ed8)','icon'=>'monitor','plan_badge'=>'MOST POPULAR','plan_name'=>'Professional Pro','price_monthly'=>'1499','price_yearly'=>'14999','trust_count'=>'5,000+ Websites Live','is_popular'=>true,'features'=>['Drag & Drop Builder','Custom Domain','SEO Optimization','AI Content Generation','24/7 Priority Support'],'cta_text'=>'Start 14-Day Free Trial'], 'websitebuilder' => ['color'=>'#2563eb','gradient'=>'linear-gradient(135deg,#2563eb,#1d4ed8)','icon'=>'monitor','plan_badge'=>'MOST POPULAR','plan_name'=>'Professional Pro','price_monthly'=>'1499','price_yearly'=>'14999','trust_count'=>'5,000+ Websites Live','is_popular'=>true,'features'=>['Drag & Drop Builder','Custom Domain','SEO Optimization','AI Content Generation','24/7 Priority Support'],'cta_text'=>'Start 14-Day Free Trial'], 'whatsappbulk' => ['color'=>'#10b981','gradient'=>'linear-gradient(135deg,#10b981,#059669)','icon'=>'message-square','plan_badge'=>'AUTOMATION PRO','plan_name'=>'WhatsApp Automation','price_monthly'=>'899','price_yearly'=>'8999','trust_count'=>'15,000+ Campaigns Sent','is_popular'=>false,'features'=>['Bulk WhatsApp Messaging','Chatbot & Auto-Responder','Multi-Device Connection','Contact List Manager','Campaign Analytics & Reports'],'cta_text'=>'Start WhatsApp Free'], 'whatsapp' => ['color'=>'#10b981','gradient'=>'linear-gradient(135deg,#10b981,#059669)','icon'=>'message-square','plan_badge'=>'AUTOMATION PRO','plan_name'=>'WhatsApp Automation','price_monthly'=>'899','price_yearly'=>'8999','trust_count'=>'15,000+ Campaigns Sent','is_popular'=>false,'features'=>['Bulk WhatsApp Messaging','Chatbot & Auto-Responder','Multi-Device Connection','Contact List Manager','Campaign Analytics & Reports'],'cta_text'=>'Start WhatsApp Free'], 'ai-reviews' => ['color'=>'#7c3aed','gradient'=>'linear-gradient(135deg,#7c3aed,#6d28d9)','icon'=>'star','plan_badge'=>'GROWTH PLAN','plan_name'=>'Growth Plan','price_monthly'=>'999','price_yearly'=>'9999','trust_count'=>'8,000+ Reviews Generated','is_popular'=>false,'features'=>['AI Review Responses','Multi-Platform Reviews','Customer CRM','Reputation Reports','Smart Automations'],'cta_text'=>'Get Started Free'], 'vcard' => ['color'=>'#059669','gradient'=>'linear-gradient(135deg,#059669,#047857)','icon'=>'user','plan_badge'=>'STARTER TIER','plan_name'=>'Business Card Pro','price_monthly'=>'299','price_yearly'=>'2999','trust_count'=>'20,000+ Cards Shared','is_popular'=>false,'features'=>['Digital V-Card','QR Code Sharing','Analytics Dashboard','Custom Branding','Unlimited Shares'],'cta_text'=>'Get Started Free'], ]; foreach (array_slice($purchasedProducts instanceof \Illuminate\Support\Collection ? $purchasedProducts->all() : (array)$purchasedProducts, 0, 4) as $p) { $pSlug = strtolower(trim(is_object($p) ? ($p->slug ?? '') : ($p['slug'] ?? ''))); $pName = is_object($p) ? ($p->name ?? 'Product') : ($p['name'] ?? 'Product'); $pTagline = is_object($p) ? ($p->tagline ?? $p->description ?? 'Smart digital tool for your business.') : ($p['tagline'] ?? $p['description'] ?? 'Smart digital tool for your business.'); $pUrl = is_object($p) ? ($p->url ?? ($agencyObj->cta_url ?? '/login')) : ($p['url'] ?? ($agencyObj->cta_url ?? '/login')); $def = $productColorMap[$pSlug] ?? ['color'=>'#6366f1','gradient'=>'linear-gradient(135deg,#6366f1,#4f46e5)','icon'=>'layers','plan_badge'=>'PRO PLAN','plan_name'=>'Growth Plan','price_monthly'=>'799','price_yearly'=>'7999','trust_count'=>'5,000+ Users','is_popular'=>false,'features'=>['Full Product Access','Priority Support','Advanced Analytics','Custom Branding','Dedicated Manager'],'cta_text'=>'Get Started Free']; $pricingPlans[] = array_merge($def, ['product_name'=>$pName,'product_tagline'=>$pTagline,'product_subtitle'=>'Powerful tools to grow your business.','cta_url'=>$pUrl]); } } if (empty($pricingPlans)) { $pricingPlans = [ ['product_name'=>'ECOM BUILDER','product_tagline'=>'Online Store Builder','product_subtitle'=>'Launch your digital store in minutes.','color'=>'#f97316','gradient'=>'linear-gradient(135deg,#f97316,#ea580c)','icon'=>'shopping-bag','plan_badge'=>'STARTER TIER','plan_name'=>'Starter Growth','price_monthly'=>'499','price_yearly'=>'4999','trust_count'=>'10,000+ Sellers Trust Us','is_popular'=>false,'features'=>['1 Online Store','Up to 1,000 Products','Basic Analytics & Reports','Standard Email Support','Custom Subdomain Setup'],'cta_text'=>'Get Started Free','cta_url'=>$agencyObj->cta_url ?? '/login'], ['product_name'=>'Website Builder','product_tagline'=>'Professional Website Builder','product_subtitle'=>'Create stunning websites with AI in minutes.','color'=>'#2563eb','gradient'=>'linear-gradient(135deg,#2563eb,#1d4ed8)','icon'=>'monitor','plan_badge'=>'MOST POPULAR','plan_name'=>'Professional Pro','price_monthly'=>'1499','price_yearly'=>'14999','trust_count'=>'5,000+ Websites Live','is_popular'=>true,'features'=>['Drag & Drop Builder','Custom Domain','SEO Optimization','AI Content Generation','24/7 Priority Support'],'cta_text'=>'Start 14-Day Free Trial','cta_url'=>$agencyObj->cta_url ?? '/login'], ]; } $pricingSectionTitle = $agencyObj ? ($agencyObj->pricing_section_title ?? 'Choose Your Perfect Plan') : 'Choose Your Perfect Plan'; $pricingSectionSubtitle = $agencyObj ? ($agencyObj->pricing_section_subtitle ?? 'Scale seamlessly with zero hidden fees.') : 'Scale seamlessly with zero hidden fees.'; $pricingTrustBarRaw = $agencyObj ? ($agencyObj->pricing_trust_bar ?? '🔒 Secure & Reliable,📞 24/7 Support,❤️ Trusted by 10,000+ Businesses') : '🔒 Secure & Reliable,📞 24/7 Support,❤️ Trusted by 10,000+ Businesses'; $pricingTrustItems = array_map('trim', explode(',', $pricingTrustBarRaw)); @endphp
{{-- ══ ANNOUNCEMENT BAR ══════════════════════════════════ --}}Trusted by 10,000+ Local Businesses Across India
Everything you need to run, grow and scale your business — without juggling multiple tools.
{{ $feat['desc'] }}
{{ $agencyGet('about_content') ?? ("We understand the challenges of growing a business in India. That's why we built " . $agency->name . " — to make technology simple, affordable, and accessible for everyone.") }}
A complete suite of business growth tools designed for Indian entrepreneurs and local businesses.
Explore All Products{{ $pTagline }}
Powerful tools to grow your business. Simple, transparent pricing.
No hidden fees. Upgrade or downgrade anytime.
{{ $plan['product_subtitle'] }}
@endif {{-- Center Product Image Mockup (Prominent & Clear) --}} @if(!empty($mockupImgPath)){{ $plan['plan_subtitle'] }}
@endif {{-- Price Display --}}Get started in 3 simple steps and transform your business today.
Create your account in
less than 2 minutes.
Choose the tools you need
and customize in minutes.
Get more customers, more
reviews and more revenue.
See what our customers say about their growth with {{ $agency->name }}.
"{{ $t['comment'] }}"
{{ $agencyGet('about_content') ?? ("We understand the challenges of growing a business in India. That's why we built " . $agency->name . " — to make technology simple, affordable, and accessible for everyone.") }}
Have questions? We are here to help.
{{ $item['a'] }}