diff --git a/resources/themes/saasland/views/partials/header.blade.php b/resources/themes/saasland/views/partials/header.blade.php
index aa84f69..8f5cf8d 100644
--- a/resources/themes/saasland/views/partials/header.blade.php
+++ b/resources/themes/saasland/views/partials/header.blade.php
@@ -11,11 +11,14 @@
@if ($logoUrl)
@else{{ $siteTitle }}@endif
- @if (filter_var($headerContent['show_navigation'] ?? true, FILTER_VALIDATE_BOOL) && $navigationLinks)
+ @if (filter_var($headerContent['show_navigation'] ?? true, FILTER_VALIDATE_BOOL))
@endif
@@ -32,21 +35,17 @@
@if (filter_var($headerContent['show_registration'] ?? true, FILTER_VALIDATE_BOOL) && Route::has('register')){{ $siteSettings['registration_label'] }}@endif
@endauth
@if (filter_var($headerContent['show_mobile_menu'] ?? true, FILTER_VALIDATE_BOOL))
-
+
@endif
@if (filter_var($headerContent['show_mobile_menu'] ?? true, FILTER_VALIDATE_BOOL))
@endif
diff --git a/resources/views/sonardesk/home.blade.php b/resources/views/sonardesk/home.blade.php
index ff340d2..5ce58fc 100644
--- a/resources/views/sonardesk/home.blade.php
+++ b/resources/views/sonardesk/home.blade.php
@@ -1,3 +1,22 @@
@extends('sonardesk.layout')
-@section('title','SonarDesk for macOS')
-@section('content')NATIVE MACOS · SONARQUBE
Code quality, without the clutter.
Monitor projects, inspect issues and follow quality gates from a purpose-built macOS dashboard.
Explore featuresView pricingAt a glance
Keep quality gates, bugs, vulnerabilities and code smells in view.
Project focused
Switch between projects and investigate issues with fewer distractions.
Built for macOS
A native interface designed for your Mac.
@endsection
\ No newline at end of file
+@section('title', 'SonarDesk')
+@section('content')
+@php
+ $base = in_array(request()->getHost(), [
+ 'sonardesk.absdev.net', 'sonardesk.co.uk', 'www.sonardesk.co.uk',
+ ], true) ? '' : '/sonardesk';
+@endphp
+
+
+
At a glance
Keep quality gates, bugs, vulnerabilities and code smells in view.
+
Project focused
Switch between projects and investigate issues with fewer distractions.
+
Built for macOS
A native interface designed for your Mac.
+
+@endsection
diff --git a/resources/views/sonardesk/layout.blade.php b/resources/views/sonardesk/layout.blade.php
index ef19561..d1cc2aa 100644
--- a/resources/views/sonardesk/layout.blade.php
+++ b/resources/views/sonardesk/layout.blade.php
@@ -1 +1,50 @@
-@yield('title', 'SonarDesk') · ABSDev@yield('content')
\ No newline at end of file
+@php
+ $isDedicatedHost = in_array(request()->getHost(), [
+ 'sonardesk.absdev.net', 'sonardesk.co.uk', 'www.sonardesk.co.uk',
+ ], true);
+ $base = $isDedicatedHost ? '' : '/sonardesk';
+@endphp
+
+
+
+
+
+ @yield('title', 'SonarDesk') · ABSDEV
+
+
+
+
+
+@yield('content')
+
+
+
diff --git a/routes/web.php b/routes/web.php
index 0dcffe9..d03cdf9 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -12,18 +12,15 @@ Route::get('/', function () {
return stylist_frontend_view(stylist()->frontend()->entryView());
})->name('home');
+// Public SonarDesk product pages on ABSDEV.
+Route::prefix('sonardesk')->name('absdev.sonardesk.')->group(function (): void {
+ Route::view('/', 'sonardesk.home')->name('home');
+ Route::view('/features', 'sonardesk.features')->name('features');
+ Route::view('/pricing', 'sonardesk.pricing')->name('pricing');
+});
+
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('/dashboard', DashboardController::class)->name('dashboard');
});
-
-// SonarDesk public product pages on ABSDEV.
-
-Route::prefix('sonardesk')
- ->name('absdev.sonardesk.')
- ->group(function (): void {
- Route::view('/', 'sonardesk.home')->name('home');
- Route::view('/features', 'sonardesk.features')->name('features');
- Route::view('/pricing', 'sonardesk.pricing')->name('pricing');
- });
require __DIR__.'/settings.php';