Initial commit

This commit is contained in:
jeremy bayse
2026-06-22 16:40:24 +02:00
commit ad127156ff
78 changed files with 13478 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
<?php
use Illuminate\Foundation\Inspiring;
use Illuminate\Support\Facades\Artisan;
Artisan::command('inspire', function () {
$this->comment(Inspiring::quote());
})->purpose('Display an inspiring quote');
+24
View File
@@ -0,0 +1,24 @@
<?php
use App\Models\Chatbot;
use Illuminate\Support\Facades\Route;
// Global console / Chatbot manager
Route::get('/', function () {
return view('welcome');
});
// Admin dashboard for a specific chatbot
Route::get('/admin/chatbots/{chatbot:slug}', function (Chatbot $chatbot) {
return view('chatbot-admin', compact('chatbot'));
});
// Full page demo testing for a specific chatbot
Route::get('/chatbot/{chatbot:slug}', function (Chatbot $chatbot) {
return view('chatbot-demo', compact('chatbot'));
});
// Iframe widget frame for a specific chatbot
Route::get('/chatbot-widget/{chatbot:slug}', function (Chatbot $chatbot) {
return view('chatbot-widget-frame', compact('chatbot'));
});