From 118e1414ceac6abcd74a65f0e8d7c20f18b4a503 Mon Sep 17 00:00:00 2001 From: Ashley Johnson <61059402+PapaRascal2020@users.noreply.github.com> Date: Fri, 27 Sep 2024 15:40:19 +0100 Subject: [PATCH] Split form of Sidekick Playground into its own component --- .../views/Components/sidekick-form.blade.php | 16 +++++ .../resources/views/Pages/audio.blade.php | 10 +-- .../resources/views/Pages/chat.blade.php | 69 ++++++++----------- .../resources/views/Pages/chatroom.blade.php | 29 +++----- .../views/Pages/completion.blade.php | 15 ++-- .../resources/views/Pages/embedding.blade.php | 10 +-- .../resources/views/Pages/image.blade.php | 10 +-- .../resources/views/Pages/moderate.blade.php | 18 ++--- .../views/Pages/transcribe.blade.php | 10 +-- stubs/default/routes/web.sidekick.php | 15 ++-- 10 files changed, 76 insertions(+), 126 deletions(-) create mode 100644 stubs/default/resources/views/Components/sidekick-form.blade.php diff --git a/stubs/default/resources/views/Components/sidekick-form.blade.php b/stubs/default/resources/views/Components/sidekick-form.blade.php new file mode 100644 index 0000000..c8f5f91 --- /dev/null +++ b/stubs/default/resources/views/Components/sidekick-form.blade.php @@ -0,0 +1,16 @@ + diff --git a/stubs/default/resources/views/Pages/audio.blade.php b/stubs/default/resources/views/Pages/audio.blade.php index 41cd10c..38a0232 100644 --- a/stubs/default/resources/views/Pages/audio.blade.php +++ b/stubs/default/resources/views/Pages/audio.blade.php @@ -27,14 +27,6 @@ - + @endsection diff --git a/stubs/default/resources/views/Pages/chat.blade.php b/stubs/default/resources/views/Pages/chat.blade.php index 75e0abe..a712c0c 100644 --- a/stubs/default/resources/views/Pages/chat.blade.php +++ b/stubs/default/resources/views/Pages/chat.blade.php @@ -18,44 +18,35 @@ - - + + + + @endsection diff --git a/stubs/default/resources/views/Pages/chatroom.blade.php b/stubs/default/resources/views/Pages/chatroom.blade.php index 7526990..db1e047 100644 --- a/stubs/default/resources/views/Pages/chatroom.blade.php +++ b/stubs/default/resources/views/Pages/chatroom.blade.php @@ -46,31 +46,24 @@ - - + + + + + @endsection @prepend('page-scripts')