diff --git a/app/Http/Controllers/WebsiteController.php b/app/Http/Controllers/WebsiteController.php index 061a318..eb70232 100644 --- a/app/Http/Controllers/WebsiteController.php +++ b/app/Http/Controllers/WebsiteController.php @@ -49,6 +49,10 @@ class WebsiteController extends Controller return view('content.services'); } + public function apply(Request $request){ + return view('application.apply'); + } + // c3gov-Stuffs diff --git a/lang/de/app.php b/lang/de/app.php index 7a6eddf..a0056a4 100644 --- a/lang/de/app.php +++ b/lang/de/app.php @@ -16,6 +16,7 @@ return [ 'news' => 'Neuigkeiten', 'contact' => 'Kontakt', 'imprint' => 'Impressum', + 'apply' => 'Jetzt beantragen', ], 'about' => [ 'subtitle' => 'Unbeschwertes Einreisen in die stationären sowie temporären CCC Bezirksregionen', diff --git a/lang/en/app.php b/lang/en/app.php index 99c8188..01d3585 100644 --- a/lang/en/app.php +++ b/lang/en/app.php @@ -13,9 +13,10 @@ return [ 'nav' => [ 'about' => 'About us', 'services' => 'Services', - 'imprint' => 'Imprint', - 'contact' => 'Contact', 'news' => 'News', + 'contact' => 'Contact', + 'imprint' => 'Imprint', + 'apply' => 'Apply now', ], 'about' => [ 'subtitle' => 'Hassle-Free Entry into CCC’s Permanent and Temporary District Regions', diff --git a/resources/views/application/apply.blade.php b/resources/views/application/apply.blade.php new file mode 100644 index 0000000..0ea8b70 --- /dev/null +++ b/resources/views/application/apply.blade.php @@ -0,0 +1,7 @@ +@extends('layout.app') +@section('scripts') +@endsection + +@section('content') + +@endsection diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 4e4cf6c..c450fd8 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -41,6 +41,8 @@
  • {{ __('app.nav.news') }}
  • {{ __('app.nav.contact') }}
  • {{ __('app.nav.imprint') }}
  • +
    +
  • {{ __('app.nav.apply') }}
  • @auth
  • Ticker bearbeiten
  • diff --git a/routes/web.php b/routes/web.php index 51625a0..4956f5f 100644 --- a/routes/web.php +++ b/routes/web.php @@ -12,6 +12,7 @@ Route::get('/kontakt', [WebsiteController::class, 'contact'])->name('contact'); Route::get('/impressum', [WebsiteController::class, 'imprint'])->name('imprint'); Route::get('/services', [WebsiteController::class, 'services'])->name('services'); Route::get('/neuigkeiten', [WebsiteController::class, 'news'])->name('news'); +Route::get('/beantragen', [WebsiteController::class, 'apply'])->name('apply'); Route::get('/intern/registrieren', [WebsiteController::class, 'showRegister']); Route::post('/intern/registrieren/abschicken', [LoginController::class, 'register']);