feat: Implement Career Management Module
- Created CareerController for handling career-related CRUD operations. - Added Career model with necessary attributes and relationships. - Created migration for careers table with relevant fields. - Developed views for creating, editing, and listing careers. - Implemented DataTables for career listing with action buttons. - Added routes for career management and integrated with sidebar. - Created client-side career detail template and updated career listing page. - Added helper functions to fetch active careers for display.
This commit is contained in:
@@ -14,168 +14,30 @@
|
||||
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="lqd-section pt-40 pb-30">
|
||||
<div class="container">
|
||||
<div class="row pb-20">
|
||||
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="career-detail.php" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
Marketing</h5>
|
||||
</span>
|
||||
|
||||
<h6 class="text-16 font-bols mb-10">Seo Executive</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: 2025/03/05</p>
|
||||
</div>
|
||||
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">Join our team as an SEO Executive and help
|
||||
improve our website's visibility and search
|
||||
engine rankings. The ideal candidate will be…</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
|
||||
|
||||
</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@foreach ($careers as $career)
|
||||
<div class="col col-sm-6 col-md-4">
|
||||
<a href="{{ route('career.single', $career->id) }}" class="career-box flex flex-col gap-20 border">
|
||||
<span>
|
||||
<h5 class="text-white bg-sec px-20 py-10 rounded-10 text-18 mb-10 ml-0 inline-block">
|
||||
{{ $career->department }}</h5>
|
||||
</span>
|
||||
<h6 class="text-16 font-bols mb-10">{{ $career->job_title }}</h6>
|
||||
<div class="flex items-center gap-10 mb-10">
|
||||
<i class="fa-solid fa-calendar-days text-20"></i>
|
||||
<p class="font-bold text-16 text-black m-0 ">Post Date: {{ $career->created_At }}</p>
|
||||
</div>
|
||||
<div class="mb-10">
|
||||
<h2 class="text-16 font-medium text-gray">{{ $career->job_description }}</h2>
|
||||
</div>
|
||||
<button>View Detail</button>
|
||||
</a>
|
||||
</div>
|
||||
@endforeach
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</section>
|
||||
@endsection
|
||||
|
Reference in New Issue
Block a user