diff --git a/src/Config/main.php b/src/Config/main.php index a11bc32..69c290b 100644 --- a/src/Config/main.php +++ b/src/Config/main.php @@ -1,6 +1,7 @@ env("LUCENT_ENV", env('APP_ENV')), "schemas_path" => env("LUCENT_SCHEMAS_PATH", "app/Lucent"), "database" => env('LUCENT_DB_CONNECTION', env('DB_CONNECTION',"sqlite")), "name" => env("LUCENT_NAME", "Lucent"), diff --git a/src/LucentServiceProvider.php b/src/LucentServiceProvider.php index a881c75..af259ab 100644 --- a/src/LucentServiceProvider.php +++ b/src/LucentServiceProvider.php @@ -81,6 +81,6 @@ class LucentServiceProvider extends ServiceProvider $this->publishes([ __DIR__ . '/../front/dist' => public_path('vendor/lucent/dist'), - ], 'public'); + ], 'lucent'); } } diff --git a/src/Views/layouts/account.blade.php b/src/Views/layouts/account.blade.php index 325ee38..f1d001d 100644 --- a/src/Views/layouts/account.blade.php +++ b/src/Views/layouts/account.blade.php @@ -7,16 +7,17 @@ @yield('title') - Lucent Data Platform - -{{-- @php--}} -{{-- echo '';--}} -{{-- @endphp--}} -{{-- --}} - - - - - + @if(config("lucent.env") == "production") + + + + @else + + @php + echo ''; + @endphp + + @endif diff --git a/src/Views/layouts/channel.blade.php b/src/Views/layouts/channel.blade.php index 3450e0f..3b0c30f 100644 --- a/src/Views/layouts/channel.blade.php +++ b/src/Views/layouts/channel.blade.php @@ -6,22 +6,25 @@ @yield('title') - Lucent Data Platform - -{{-- @php--}} -{{-- echo '';--}} -{{-- @endphp--}} -{{-- --}} - - - + @if(config("lucent.env") == "production") + + + + @else + + @php + echo ''; + @endphp + + @endif - @yield('content') +@yield('content')