
<?php $__env->startSection('content'); ?>
    <div class="page-container">

        <div class="page-title-head d-flex align-items-sm-center flex-sm-row flex-column gap-2">
            <div class="flex-grow-1">
                <h4 class="fs-18 fw-semibold mb-0"><?php echo e($title); ?></h4>
            </div>

            <div class="text-end">
                <?php if (isset($component)) { $__componentOriginalf249638ac7504c50bf0259c0cb71919d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalf249638ac7504c50bf0259c0cb71919d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.breadcrumbs','data' => ['breadcrumbs' => $breadcrumbs]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.breadcrumbs'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['breadcrumbs' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($breadcrumbs)]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalf249638ac7504c50bf0259c0cb71919d)): ?>
<?php $attributes = $__attributesOriginalf249638ac7504c50bf0259c0cb71919d; ?>
<?php unset($__attributesOriginalf249638ac7504c50bf0259c0cb71919d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalf249638ac7504c50bf0259c0cb71919d)): ?>
<?php $component = $__componentOriginalf249638ac7504c50bf0259c0cb71919d; ?>
<?php unset($__componentOriginalf249638ac7504c50bf0259c0cb71919d); ?>
<?php endif; ?>
            </div>
        </div>

        <div class="row">
            <div class="col-xl-12 col-lg-12">
                <?php if (isset($component)) { $__componentOriginal66cb34fa521ca32c539059e04f66064d = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal66cb34fa521ca32c539059e04f66064d = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.dashboard.user.card','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('dashboard.user.card'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>

                    <?php if($user->grantApplication()->count() > 0): ?>
                        <?php $__env->slot('header'); ?>
                            <div class="float-end">
                                <a href="<?php echo e(route('user.grant_application.history')); ?>" class="btn btn-primary btn-sm"><i
                                        class="fa-solid fa-history me-1"></i> Application History
                                </a>
                            </div>
                        <?php $__env->endSlot(); ?>
                    <?php endif; ?>

                    <div class="text-center mb-4">
                        <h4 class="fw-bold">Select Application Type</h4>
                        <p class="text-muted">
                            Please select the type of application you would like to submit. Different documentation is
                            required
                            for
                            individual and company applications.
                        </p>
                    </div>

                    <div class="row justify-content-center g-4">

                        <!-- Apply as Individual -->
                        <div class="col-md-4">
                            <div class="card text-center h-100">
                                <div class="card-body">
                                    <div class="rounded-circle bg-primary bg-opacity-10 d-inline-flex align-items-center justify-content-center mb-3"
                                        style="width:50px; height:50px;">
                                        <i class="bi bi-person text-primary fs-4"></i>
                                    </div>
                                    <h5 class="fw-bold">Apply as Individual</h5>
                                    <p class="text-muted small">
                                        For individual applicants seeking funding for programs, equipment, research or
                                        community
                                        outreach.
                                    </p>
                                    <a href="<?php echo e(route('user.grant_application.individual')); ?>"
                                        class="btn btn-primary w-100">Continue</a>
                                </div>
                            </div>
                        </div>

                        <!-- Apply as Company -->
                        <div class="col-md-4">
                            <div class="card text-center h-100">
                                <div class="card-body">
                                    <div class="rounded-circle bg-secondary bg-opacity-10 d-inline-flex align-items-center justify-content-center mb-3"
                                        style="width:50px; height:50px;">
                                        <i class="bi bi-building text-secondary fs-4"></i>
                                    </div>
                                    <h5 class="fw-bold">Apply as Company</h5>
                                    <p class="text-muted small">
                                        For registered organizations with an EIN, established history and defined mission.
                                    </p>
                                    <a href="<?php echo e(route('user.grant_application.company')); ?>"
                                        class="btn btn-secondary w-100">Continue</a>
                                </div>
                            </div>
                        </div>

                    </div>

                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal66cb34fa521ca32c539059e04f66064d)): ?>
<?php $attributes = $__attributesOriginal66cb34fa521ca32c539059e04f66064d; ?>
<?php unset($__attributesOriginal66cb34fa521ca32c539059e04f66064d); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal66cb34fa521ca32c539059e04f66064d)): ?>
<?php $component = $__componentOriginal66cb34fa521ca32c539059e04f66064d; ?>
<?php unset($__componentOriginal66cb34fa521ca32c539059e04f66064d); ?>
<?php endif; ?>
            </div>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.user.layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\projects\online-banking-v7.0\resources\views/dashboard/user/grant_application/index.blade.php ENDPATH**/ ?>