diff --git a/app/Http/Controllers/CareerController.php b/app/Http/Controllers/CareerController.php index c1f03cb..7c77100 100644 --- a/app/Http/Controllers/CareerController.php +++ b/app/Http/Controllers/CareerController.php @@ -12,8 +12,18 @@ class CareerController extends Controller { return view('front.career.index', [ 'meta' => [ - 'title' => __('career.title', ['default' => 'Kariyer']), - 'description' => __('career.description', ['default' => 'Ekibimize katılmak için aşağıdaki formu doldurarak CV\'nizi iletebilirsiniz.']), + 'title' => __('career.job_application_title', ['default' => 'İş Başvurusu']), + 'description' => __('career.job_application_description', ['default' => 'Ekibimize katılmak için aşağıdaki formu doldurarak CV\'nizi iletebilirsiniz.']), + ] + ]); + } + + public function internship() + { + return view('front.career.internship', [ + 'meta' => [ + 'title' => __('career.internship_title', ['default' => 'Staj Başvurusu']), + 'description' => __('career.internship_description', ['default' => 'Uzaktan staj programımız hakkında bilgi alın ve başvurunuzu yapın.']), ] ]); } @@ -38,7 +48,7 @@ class CareerController extends Controller 'email' => $request->email, 'phone' => $request->phone, 'cv_path' => $cvPath, - 'message' => $request->message, + 'message' => ($request->type === 'internship' ? "[STAJ BAŞVURUSU] " : "") . $request->message, 'status' => 'pending', ]); diff --git a/lang/en/career.php b/lang/en/career.php index 12c0e22..f5e3cd9 100644 --- a/lang/en/career.php +++ b/lang/en/career.php @@ -6,6 +6,10 @@ return [ 'plural_model_label' => 'Career Applications', 'title' => 'Career Form', 'description' => 'To join our team, please fill out the form below and upload your CV.', + 'job_application_title' => 'Job Application', + 'job_application_description' => 'To join our team, please fill out the form below and upload your CV.', + 'internship_title' => 'Internship Application', + 'internship_description' => 'Learn about our remote internship program and submit your application.', 'name' => 'Full Name', 'email' => 'Email', 'phone' => 'Phone', diff --git a/lang/tr/career.php b/lang/tr/career.php index 1d1b406..ed9c744 100644 --- a/lang/tr/career.php +++ b/lang/tr/career.php @@ -6,6 +6,10 @@ return [ 'plural_model_label' => 'Kariyer Başvuruları', 'title' => 'Kariyer Formu', 'description' => 'Ekibimize katılmak için aşağıdaki formu doldurarak CV\'nizi iletebilirsiniz.', + 'job_application_title' => 'İş Başvurusu', + 'job_application_description' => 'Ekibimize katılmak için aşağıdaki formu doldurarak CV\'nizi iletebilirsiniz.', + 'internship_title' => 'Staj Başvurusu', + 'internship_description' => 'Uzaktan staj programımız hakkında bilgi alın ve başvurunuzu yapın.', 'name' => 'Ad Soyad', 'email' => 'E-posta', 'phone' => 'Telefon', diff --git a/resources/views/components/front/menu-item.blade.php b/resources/views/components/front/menu-item.blade.php index aad17cf..3a429f0 100644 --- a/resources/views/components/front/menu-item.blade.php +++ b/resources/views/components/front/menu-item.blade.php @@ -3,6 +3,7 @@ @php $hasChildren = $item->children->isNotEmpty(); $isMegaMenu = $item->slug === 'urunlerimiz'; + $isCareer = $item->slug === 'kariyer'; $categories = []; $services = []; @@ -75,6 +76,26 @@ +@elseif($isCareer) + @else