15 lines
787 B
PHP
15 lines
787 B
PHP
@extends('stylist-theme-saasland::layouts.app')
|
|
|
|
@php
|
|
$title = $siteTitle;
|
|
$description = $siteDescription;
|
|
$hero = true;
|
|
$enabled = fn (string $key, bool $default = true) => filter_var($themeSettings[$key] ?? $default, FILTER_VALIDATE_BOOL);
|
|
$heroTitle = filled($themeSettings['hero_title'] ?? null) ? $themeSettings['hero_title'] : 'Transform Your Business With Our CMS Solution';
|
|
$heroText = filled($themeSettings['hero_description'] ?? null) ? $themeSettings['hero_description'] : 'Streamline operations, boost productivity, and improve customer satisfaction with one connected platform built for modern teams.';
|
|
@endphp
|
|
|
|
@section('content')
|
|
@include('stylist-theme-saasland::legacy-home-content', compact('enabled', 'heroTitle', 'heroText'))
|
|
@endsection
|