<div>
<div class="search-widget widget-item mb-5">

<h3 class="widget-title">Search</h3>
<form action="<?php echo e(route('search_posts')); ?>" method="GET">
    <input type="text"  name="q" value="<?php echo e(request('q') ? request('q') : ''); ?>">
    <button type="submit" title="Search"><i class="icofont-search"></i></button>
</form>

</div>
</div><?php /**PATH C:\xampp\htdocs\larablog\resources\views/components/sidebar-search.blade.php ENDPATH**/ ?>