diff --git a/app/Http/Controllers/WebsiteController.php b/app/Http/Controllers/WebsiteController.php index 42e0024..0a0fb4e 100644 --- a/app/Http/Controllers/WebsiteController.php +++ b/app/Http/Controllers/WebsiteController.php @@ -28,6 +28,10 @@ class WebsiteController extends Controller return view('content.contact'); } + public function faq(Request $request){ + return view('content.faq'); + } + public function imprint(Request $request){ return view('content.imprint'); } diff --git a/lang/de/app.php b/lang/de/app.php index 0522956..4ce6ee2 100644 --- a/lang/de/app.php +++ b/lang/de/app.php @@ -109,6 +109,22 @@ return [ 'content' => 'Sollten Sie eine Bestätigung Ihres Besuchs benötigen, stellen wir Ihnen diese selbstverständlich in Papierform aus.' ] ], + 'faq' => [ + 'title' => 'Häufig gestellte Fragen', + 'q1' => 'Was stellt ihr eigentlich dar?', + 'a1' => 'Wir stellen durch gelebte Bürokratie Hacker*innen-Reisepässe aus. Manche würden dies als ein Rollenspiel betrachten, + aber in unserer C3Gov-Verwaltungsvorschrift stehen keine Informationen bezüglich Rollen, die spielen.', + 'q2' => 'Wo kann ich mit diesen Reisepässen einreisen?', + 'a2' => 'Mit den vom C3Gov ausgestellten Reisepässen können Sie problemlos in die Bezirksregion des CCC und dessen Botschaften einreisen.', + 'q3' => 'Wozu dienen diese Reisepässe noch?', + 'a3' => 'Die Reisepässe stellen eine bequeme Möglichkeit dar, Ihren Aufenthalt in der Bezirksregion des CCC und dessen Botschaften festzuhalten. + Sie können Ihren Aufenthalt durch Stempel oder Sticker der jeweiligen Botschaften bestätigen lassen.', + 'q4' => 'Gibt es nur diesen einen Reisepass?', + 'a4' => 'Wir bieten den Hacker*innen-Reisepass sowie den Junghackerpass an. Letzteres jedoch nur in der deutschen Ausgabe.', + 'q5' => 'Wie kann ich einen Hacker*innen-Reisepass beantragen?', + 'a5' => 'Klicken Sie auf diesen Verweis oder auf "Jetzt beantragen" in der Navigationsleiste oder auf die riesige + leuchtende Schaltfläche auf der Startseite. Dort befolgen Sie einfach die Anweisungen.' + ], 'imprint' => [ 'title' => 'Impressum', 'alt' => 'Ernsthaftigkeit', diff --git a/lang/en/app.php b/lang/en/app.php index 0e66c7d..7de8ef4 100644 --- a/lang/en/app.php +++ b/lang/en/app.php @@ -109,6 +109,22 @@ return [ 'content' => 'Should you require certification of your visit, we will of course provide you with an official document.' ] ], + 'faq' => [ + 'title' => 'Frequently asked Questions', + 'q1' => 'What exactly do you do?', + 'a1' => 'We issue hacker passports through the practice of bureaucracy. Some might view this as a role-playing game, + but our C3Gov administrative regulations contain no information regarding roles which are playing.', + 'q2' => 'Where can I enter with these passports?', + 'a2' => 'With the passports issued by C3Gov, you can easily enter the CCC district region and its embassies.', + 'q3' => 'What else are these passports used for?', + 'a3' => 'The passports provide a convenient way to document your stay in the CCC district region and its embassies. + You can have your stay confirmed with stamps or stickers from the respective embassies.', + 'q4' => 'Is this the only passport available?', + 'a4' => 'We offer the Hacker Passport and the Young Hacker Passport. The latter, however, is only available in the German edition.', + 'q5' => 'How can I apply for a Hacker Passport?', + 'a5' => 'Click on this link, or on “Apply Now” in the navigation bar, or on the large + glowing button on the homepage. There, simply follow the instructions.' + ], 'imprint' => [ 'title' => 'Imprint', 'alt' => 'Serious business', diff --git a/resources/views/content/faq.blade.php b/resources/views/content/faq.blade.php new file mode 100644 index 0000000..719b477 --- /dev/null +++ b/resources/views/content/faq.blade.php @@ -0,0 +1,25 @@ +@extends('layout.app') +@section('scripts') +@endsection + +@section('content') +

{!! __('faq.title') !!}

+ + +@endsection diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 9822cec..2876c0f 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -49,6 +49,7 @@
  • {{ __('app.nav.documents') }}
  • {{ __('app.nav.news') }}
  • {{ __('app.nav.contact') }}
  • +
  • {{ __('faq.title') }}
  • {{ __('app.nav.imprint') }}

  • {{ __('app.nav.apply') }}
  • diff --git a/routes/web.php b/routes/web.php index 1833c95..51751ed 100644 --- a/routes/web.php +++ b/routes/web.php @@ -14,6 +14,7 @@ Route::get('/', [WebsiteController::class, 'index']); Route::get('/ueberuns', [WebsiteController::class, 'about'])->name('about'); Route::get('/dokumente', [WebsiteController::class, 'documents'])->name('documents'); Route::get('/kontakt', [WebsiteController::class, 'contact'])->name('contact'); +Route::get('/faq', [WebsiteController::class, 'faq'])->name('faq'); Route::get('/impressum', [WebsiteController::class, 'imprint'])->name('imprint'); Route::get('/services', [WebsiteController::class, 'services'])->name('services'); Route::get('/neuigkeiten', [WebsiteController::class, 'news'])->name('news');