diff --git a/lang/de/app.php b/lang/de/app.php index c3ad9d2..3112c7e 100644 --- a/lang/de/app.php +++ b/lang/de/app.php @@ -6,5 +6,12 @@ return [ 'language' => [ 'en' => 'English', 'de' => 'Deutsch', + ], + 'nav' => [ + 'about' => 'Über uns', + 'services' => 'Dienstleistungen', + 'news' => 'Neuigkeiten', + 'contact' => 'Kontakt', + 'imprint' => 'Impressum', ] ]; diff --git a/lang/en/app.php b/lang/en/app.php index dba0d67..24d032e 100644 --- a/lang/en/app.php +++ b/lang/en/app.php @@ -6,5 +6,12 @@ return [ 'language' => [ 'en' => 'English', 'de' => 'Deutsch', + ], + 'nav' => [ + 'about' => 'About us', + 'services' => 'Services', + 'imprint' => 'Imprint', + 'contact' => 'Contact', + 'news' => 'News', ] ]; diff --git a/public/Bilder/deutsch.gif b/public/Bilder/deutsch.gif index 4391160..5cbf19e 100644 Binary files a/public/Bilder/deutsch.gif and b/public/Bilder/deutsch.gif differ diff --git a/public/Bilder/englisch.gif b/public/Bilder/englisch.gif index 1be3ac6..d2a2d3d 100644 Binary files a/public/Bilder/englisch.gif and b/public/Bilder/englisch.gif differ diff --git a/public/css/style.css b/public/css/style.css index b999e6a..7308d3e 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -1,3 +1,12 @@ +.container { + position: absolute; + width: 100%; + height: 100%; + top: 0; + left: 0; +} + + .header { position: absolute; width: 100%; @@ -5,39 +14,50 @@ top: 0; left: 0; background-color: darkred; + min-height: 180px; +} + +.header-main { + position: relative; + width: 90%; + height: 75%; } .language { position: absolute; - width: 10%; - height: 20%; + width: 194px; top: 0; right: 0; background-color: #f8b803; } -.language img { - height: 35%; -} #logo { margin: 10px; + min-height: 128px; } .ticker { position: absolute; width: 100%; - height: 4%; - top: 20%; + height: 25%; + top: 80%; left: 0; background-color: #0f0; - font-size: 24px; + font-size: 100%; +} + +.main { + position: absolute; + width: 100%; + height: 80%; + top: 20%; } .navbar { position: absolute; width: 20%; - height: 78%; - top: 24%; + height: 100%; + top: 0; left: 0; background-color: pink; } @@ -45,8 +65,14 @@ .content { position: absolute; width: 80%; - height: 78%; - top: 24%; + height: 100%; + top: 0; left: 20%; background-color: aqua; + padding-left: 10px; +} + +.content h1 h2 h3 h4 h5 h6 span div p { + margin: 20px 0; + padding: 10px; } diff --git a/resources/views/layout/app.blade.php b/resources/views/layout/app.blade.php index 9eba2ec..046472c 100644 --- a/resources/views/layout/app.blade.php +++ b/resources/views/layout/app.blade.php @@ -7,23 +7,36 @@ - - - + + + + {{ __('app.language.de') }} + {{ __('app.language.en') }} + + + + + + {{\App\Http\Controllers\TickerController::getTicker()}} + + - - {{ __('app.language.de') }} - {{ __('app.language.en') }} - + + + + + + @component($page) + @endcomponent + + - - {{\App\Http\Controllers\TickerController::getTicker()}} - - - @component($page) - @endcomponent - - diff --git a/routes/web.php b/routes/web.php index 040921a..dba5035 100644 --- a/routes/web.php +++ b/routes/web.php @@ -6,10 +6,10 @@ use Illuminate\Support\Facades\Route; Route::get('/', [WebsiteController::class, 'index']); -Route::get('/ueberuns', [WebsiteController::class, 'about']); -Route::get('/kontakt', [WebsiteController::class, 'contact']); -Route::get('/impressum', [WebsiteController::class, 'imprint']); -Route::get('/services', [WebsiteController::class, 'services']); -Route::get('/neuigkeiten', [WebsiteController::class, 'news']); +Route::get('/ueberuns', [WebsiteController::class, 'about'])->name('about'); +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('/intern/anmelden', [WebsiteController::class, 'login']);