From 774ecae40396bcd83258daae8fe736cd7fce5242 Mon Sep 17 00:00:00 2001 From: Snider Date: Tue, 3 Mar 2026 20:50:44 +0000 Subject: [PATCH] fix: replace CDN Alpine with Flux directives, rebrand API portal - Remove CDN Alpine.js from layout (conflicted with Flux's bundled Alpine) - Add @fluxAppearance and @fluxScripts for proper Flux UI rendering - Replace all hardcoded "Host UK" with config('core.app.name') - Migrate colour scheme from slate to zinc, blue to cyan (match MCP portal) - Rewrite index/reference/quickstart with brain/score API endpoints - Fix broken route('api.guides.biolinks') references causing 500 errors - Replace api.host.uk.com URLs with api.lthn.ai Co-Authored-By: Claude Opus 4.6 --- src/Website/Api/View/Blade/docs.blade.php | 6 +- .../Blade/guides/authentication.blade.php | 100 +++---- .../Api/View/Blade/guides/errors.blade.php | 108 +++---- .../Api/View/Blade/guides/index.blade.php | 70 ++--- .../Api/View/Blade/guides/qrcodes.blade.php | 136 ++++----- .../View/Blade/guides/quickstart.blade.php | 141 +++++---- .../Api/View/Blade/guides/webhooks.blade.php | 276 +++++++++--------- src/Website/Api/View/Blade/index.blade.php | 136 +++++---- .../Api/View/Blade/layouts/docs.blade.php | 76 +++-- .../View/Blade/partials/endpoint.blade.php | 20 +- src/Website/Api/View/Blade/redoc.blade.php | 4 +- .../Api/View/Blade/reference.blade.php | 244 +++++----------- src/Website/Api/View/Blade/scalar.blade.php | 8 +- src/Website/Api/View/Blade/swagger.blade.php | 6 +- 14 files changed, 592 insertions(+), 739 deletions(-) diff --git a/src/Website/Api/View/Blade/docs.blade.php b/src/Website/Api/View/Blade/docs.blade.php index 5f702a7..b397fc2 100644 --- a/src/Website/Api/View/Blade/docs.blade.php +++ b/src/Website/Api/View/Blade/docs.blade.php @@ -3,7 +3,7 @@ - Host UK API Documentation + {{ config('core.app.name', 'Core PHP') }} API Documentation + @fluxAppearance @stack('head') - +
{{-- Site header --}}
- +
@@ -45,33 +37,33 @@
{{-- Logo --}} - + - Host UK API + {{ $appName }} API {{-- Search --}}
{{-- Search modal placeholder --}}