front end fixes

This commit is contained in:
Mark Gregory
2026-07-27 07:41:54 +01:00
parent 108f95dbfa
commit 09cad63280
10 changed files with 100 additions and 53 deletions
@@ -1,13 +1,15 @@
@extends('stylist-theme-saasland::layouts.app')
@php($title = $siteTitle)
@php($description = $siteDescription)
@php($hero = true)
@section('content')
@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 SaaS 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')
<section class="hero">
<div class="glow one"></div><div class="glow two"></div>
<div class="wrap hero-inner">