<?php
    $navClass = $navClass ?? 'site-nav';
    $menuId = $menuId ?? 'publicSiteMenu';
    $onLanding = request()->routeIs('landing');
    $landingHref = fn (string $section) => $onLanding ? '#'.$section : route('landing').'#'.$section;
?>

<nav class="<?php echo e($navClass); ?>">
    <div class="container d-flex align-items-center justify-content-between py-3">
        <a href="<?php echo e(route('landing')); ?>" class="site-brand">
            <span>NK</span>
            <strong>NewKipp Microfinance Solution</strong>
        </a>

        <div class="site-nav-links d-none d-lg-flex align-items-center gap-4 small fw-semibold">
            <a href="<?php echo e(route('landing')); ?>">Home</a>
            <a href="<?php echo e($landingHref('about')); ?>">About</a>
            <a href="<?php echo e($landingHref('features')); ?>">Features</a>
            <a href="<?php echo e(route('merchants.landing')); ?>">Merchants</a>
            <a href="<?php echo e($landingHref('pricing')); ?>">Pricing</a>
            <a href="<?php echo e($landingHref('contact')); ?>">Contact</a>
            <div class="dropdown">
                <button class="site-nav-more dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
                    More
                </button>
                <ul class="dropdown-menu dropdown-menu-end site-nav-dropdown">
                    <li><a class="dropdown-item" href="<?php echo e(route('manual')); ?>"><i class="bi bi-book"></i>User manual</a></li>
                    <li><a class="dropdown-item" href="<?php echo e(route('mobile-app')); ?>"><i class="bi bi-phone"></i>Mobile app guide</a></li>
                    <li><button class="dropdown-item" type="button" data-pwa-install><i class="bi bi-download"></i><span data-pwa-install-label>Install app</span></button></li>
                    <li><hr class="dropdown-divider"></li>
                    <li><a class="dropdown-item" href="<?php echo e(route('login')); ?>"><i class="bi bi-box-arrow-in-right"></i>Sign in</a></li>
                    <li><a class="dropdown-item" href="<?php echo e(route('tenant.register')); ?>"><i class="bi bi-rocket-takeoff"></i>Start free trial</a></li>
                </ul>
            </div>
        </div>

        <button class="btn btn-outline-dark btn-sm site-mobile-toggle d-lg-none" type="button" data-bs-toggle="collapse" data-bs-target="#<?php echo e($menuId); ?>" aria-controls="<?php echo e($menuId); ?>" aria-expanded="false" aria-label="Open menu">
            <i class="bi bi-list"></i>
            <span>Menu</span>
        </button>
    </div>

    <div class="collapse site-mobile-menu d-lg-none" id="<?php echo e($menuId); ?>">
        <div class="container py-3">
            <a href="<?php echo e(route('landing')); ?>">Home</a>
            <a href="<?php echo e($landingHref('about')); ?>">About</a>
            <a href="<?php echo e($landingHref('features')); ?>">Features</a>
            <a href="<?php echo e(route('merchants.landing')); ?>">Merchants</a>
            <a href="<?php echo e($landingHref('pricing')); ?>">Pricing</a>
            <a href="<?php echo e($landingHref('contact')); ?>">Contact</a>
            <div class="site-mobile-menu-group">
                <span>More</span>
                <a href="<?php echo e(route('manual')); ?>"><i class="bi bi-book"></i>User manual</a>
                <a href="<?php echo e(route('mobile-app')); ?>"><i class="bi bi-phone"></i>Mobile app guide</a>
                <button type="button" data-pwa-install><i class="bi bi-download"></i><span data-pwa-install-label>Install app</span></button>
                <a href="<?php echo e(route('login')); ?>"><i class="bi bi-box-arrow-in-right"></i>Sign in</a>
                <a href="<?php echo e(route('tenant.register')); ?>"><i class="bi bi-rocket-takeoff"></i>Start free trial</a>
            </div>
        </div>
    </div>
</nav>
<?php /**PATH C:\Users\Polite hp\Documents\Codex\2026-05-08\build-a-complete-production-ready-saas\microfinance-saas\resources\views/partials/public-site-nav.blade.php ENDPATH**/ ?>