import React from 'react'; import { Link, usePage } from '@inertiajs/react'; export default function GuestLayout({ children }: { children: React.ReactNode }) { const props = usePage().props as any; const { system_settings } = props; const appName = system_settings?.app_name || 'biiproject kit v2'; const appLogo = system_settings?.app_logo; const appLogoText = system_settings?.app_logo_text || 'BK'; return (
{/* ── Left brand panel ─────────────────────────────────────────── */}
{/* Dot-grid texture */} {/* Decorative rings */}
{/* Logo */}
{appLogo ? {appName} : appLogoText }
{appName}
{/* Main copy */}

Enterprise Platform

Manage your
organization
with precision.

Access control, user management, and system configuration — unified in one secure interface.

{/* Feature pills */}
{[ 'Role-based access control', 'Real-time audit logs', 'Multi-level permissions', ].map((feat) => (
{feat}
))}
{/* Footer */}

© {new Date().getFullYear()} {appName}. All rights reserved.

{/* ── Right form panel ─────────────────────────────────────────── */}
{/* Mobile-only logo */}
{appLogo ? {appName} : appLogoText }
{appName}
{/* Form slot */}
{children}
{/* Back link */}
Back to home
); }