Files
ladill-pos/resources/views/auth/signed-out.blade.php
T
isaaccladandClaude Opus 4.8 b7c7a32ee6
Deploy Ladill POS / deploy (push) Successful in 32s
De-fork POS chrome/assets and import CRM products only
Finish removing the upstream platform fork: drop the Hosting/SSL/Domain
notification classes + their mail views, the email/mailbox/domains/hosting
view trees, the Mini/Afia/search/paystack partials and unused components, and
the now-orphan support helpers (DomainConfig, MailboxPricing,
ResellerClubLegacy), SmsService, and fork configs (afia, hosting, domain,
email, mailbox, qr, mail_brands, notifications, ...). Reparent the
notifications page off the hosting layout onto the POS app layout (it had
referenced undefined hosting./mini. routes). Computed the removable set from a
reachability scan of the POS view graph; kept views reference no removed
routes/services.

Branding: favicon now uses the updated favicon.ico (favicon.svg removed);
signed-out fallback logo points at the POS logo.

CRM import: constrain the catalogue pull to type=product so CRM services are
never imported as POS products (server-side filter + defensive client skip).

Test suite green (8 passed, 29 assertions); all routes resolve and every
remaining Blade compiles.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-24 00:40:01 +00:00

53 lines
2.7 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
@php
$signedOut = (array) config('signed_out');
$logo = (string) ($signedOut['logo'] ?? 'images/logo/ladillpos-logo.svg');
$logoPath = public_path($logo);
@endphp
<!DOCTYPE html>
<html lang="en" class="h-full">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title>Signed out {{ $signedOut['title'] ?? config('app.name') }}</title>
@include('partials.favicon')
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=figtree:400,500,600,700&display=swap" rel="stylesheet" />
@vite(['resources/css/app.css'])
<meta name="robots" content="noindex">
</head>
<body class="flex min-h-screen items-center justify-center bg-slate-100 px-4 py-10 font-sans antialiased">
<div class="w-full max-w-md overflow-hidden rounded-3xl bg-white shadow-xl shadow-slate-200/70">
<div class="h-1.5" style="background: linear-gradient(90deg, {{ $signedOut['gradient_from'] ?? '#4f46e5' }} 0%, {{ $signedOut['gradient_to'] ?? '#7c3aed' }} 100%);"></div>
<div class="px-6 pb-8 pt-7 text-center sm:px-8">
<img src="{{ asset($logo) }}?v={{ @filemtime($logoPath) ?: '1' }}"
alt="{{ $signedOut['title'] ?? config('app.name') }}"
class="mx-auto h-7 w-auto">
<div @class([
'mx-auto mt-6 flex h-14 w-14 items-center justify-center rounded-2xl',
$signedOut['icon_wrapper_class'] ?? 'bg-indigo-50 text-indigo-700',
])>
<svg class="h-7 w-7" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 9V5.25A2.25 2.25 0 0 0 13.5 3h-6a2.25 2.25 0 0 0-2.25 2.25v13.5A2.25 2.25 0 0 0 7.5 21h6a2.25 2.25 0 0 0 2.25-2.25V15m3 0 3-3m0 0-3-3m3 3H9" />
</svg>
</div>
<h1 class="mt-5 text-xl font-semibold text-slate-900">Youre signed out</h1>
<p class="mt-2 text-sm leading-relaxed text-slate-500">
{{ $signedOut['description'] ?? ('Your '.($signedOut['title'] ?? config('app.name')).' session has ended. Sign in again to continue.') }}
</p>
<a href="{{ route('sso.connect') }}" class="btn-primary btn-primary-lg mt-7 w-full">
Sign in again
</a>
<a href="{{ 'https://'.config('app.platform_domain') }}"
class="mt-4 inline-block text-sm font-medium text-slate-500 transition hover:text-slate-800">
Go to ladill.com
</a>
</div>
</div>
</body>
</html>