- 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.
44 lines
2.1 KiB
PHP
44 lines
2.1 KiB
PHP
@extends('client.raffles.layouts.app')
|
|
@section('content')
|
|
<section class="career">
|
|
<div class="services-banner">
|
|
<img src="{{ asset('raffles/assets/images/backgrounds_general/career-banner.png') }}" width="1425" height="356"
|
|
alt="interview preparation">
|
|
|
|
</div>
|
|
|
|
<section class="section ">
|
|
<div class="flex flex-col gap-5 justify-center items-center text-center">
|
|
<h2 class="text-60 md:text-30 text-sec">Career Opportunities</h2>
|
|
<div class="title-line mx-auto"></div>
|
|
|
|
</div>
|
|
</section>
|
|
<section class="lqd-section pt-40 pb-30">
|
|
<div class="container">
|
|
<div class="row pb-20">
|
|
@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
|