<article class="bg-white p-6 border border-border rounded-xl shadow-md">
    <h6 class="area-title text-xl"><?php echo e(translate('What to do')); ?></h6>
    <div class="area-description mt-5">
        <?php echo clean($assignment->description); ?>

    </div>
    <div class="flex items-center gap-4 pt-5 mt-5 border-t border-border">
        <?php $__currentLoopData = $assignment->sourceFiles; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $sourceFile): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
            <?php if(fileExists('lms/courses/topics/assignments', $sourceFile->file) == true && $sourceFile->file != ''): ?>
                <a target="_bank" href="<?php echo e(asset("storage/lms/courses/topics/assignments/{$sourceFile->file}")); ?>"
                    aria-label="Assignment information"
                    class="flex items-center gap-3 px-4 py-2 bg-primary-50 rounded-md border border-transparent hover:border-primary select-none custom-transition">
                    <i class="ri-file-download-line"></i>
                    <div>
                        <h6 class="area-title text-sm font-semibold !leading-none">
                            <?php echo e($sourceFile->file_name ?? translate('Assignment file')); ?></h6>
                        <p class="text-heading/70 leading-none text-xs mt-2 uppercase">
                            <?php echo e(getFileExtension($sourceFile->file)); ?></p>
                    </div>
                </a>
            <?php endif; ?>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>
</article>
<?php /**PATH D:\www\edulab\Modules\LMS\resources\views\components\exam\assignment\attach-file.blade.php ENDPATH**/ ?>