From eeee2afc0538e6d79c8da9c41eb05258bedf4468 Mon Sep 17 00:00:00 2001 From: lexx Date: Wed, 6 May 2026 23:18:34 +0300 Subject: [PATCH] removed axios --- front/views/layouts/account.blade.php | 33 ---------------------- front/views/layouts/channel.blade.php | 31 --------------------- front/views/svelte.blade.php | 40 ++++++++++++++++++++++----- src/Svelte/Svelte.php | 1 - 4 files changed, 33 insertions(+), 72 deletions(-) delete mode 100644 front/views/layouts/account.blade.php delete mode 100644 front/views/layouts/channel.blade.php diff --git a/front/views/layouts/account.blade.php b/front/views/layouts/account.blade.php deleted file mode 100644 index 30ceb1e..0000000 --- a/front/views/layouts/account.blade.php +++ /dev/null @@ -1,33 +0,0 @@ - - - - - - - - @yield('title') - Lucent Data Platform - @if(config("lucent.env") === "production") - - - - @else - - @php - echo ''; - @endphp - - @endif - - - - - - - -
- @yield('content') -
- - - - diff --git a/front/views/layouts/channel.blade.php b/front/views/layouts/channel.blade.php deleted file mode 100644 index d1c9d1b..0000000 --- a/front/views/layouts/channel.blade.php +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - @yield('title') - Lucent Data Platform - @if(config("lucent.env") == "production") - - - - @else - - @php - echo ''; - @endphp - - @endif - - - - - - - - - @yield('content') - - - diff --git a/front/views/svelte.blade.php b/front/views/svelte.blade.php index b427f7e..828712d 100644 --- a/front/views/svelte.blade.php +++ b/front/views/svelte.blade.php @@ -1,7 +1,33 @@ -@extends('lucent::layouts.'.$layout) -@section('title') - {{ $title }} -@endsection -@section('content') - {!! $svelte !!} -@endsection + + + + + + + + {{ $title }} - Lucent Data Platform + @if(config("lucent.env") === "production") + + + + @else + + @php + echo ''; + @endphp + + @endif + + + + + + + +
+ {!! $svelte !!} +
+ + + + diff --git a/src/Svelte/Svelte.php b/src/Svelte/Svelte.php index 4f5de89..01377ec 100644 --- a/src/Svelte/Svelte.php +++ b/src/Svelte/Svelte.php @@ -53,7 +53,6 @@ class Svelte "view" => $view, "data" => $data, "title" => $title, - "layout" => $layout, "channel" => $this->channelService->channel, ]); }