<?php

namespace App\Support;

class MobileTopbar
{
    public static function resolve(): array
    {
        $appName = config('mobile-topbar.app_name', 'Ladill');

        $title = $appName === 'Ladill'
            ? 'Ladill'
            : "Ladill {$appName}";

        return [
            'mobileTopbarTitle' => $title,
        ];
    }
}
