nicht funktionierende Links

This commit is contained in:
2026-03-23 00:15:23 +01:00
parent 5158b61f56
commit eff865587b
7 changed files with 85 additions and 32 deletions

View File

@@ -6,5 +6,12 @@ return [
'language' => [ 'language' => [
'en' => 'English', 'en' => 'English',
'de' => 'Deutsch', 'de' => 'Deutsch',
],
'nav' => [
'about' => 'Über uns',
'services' => 'Dienstleistungen',
'news' => 'Neuigkeiten',
'contact' => 'Kontakt',
'imprint' => 'Impressum',
] ]
]; ];

View File

@@ -6,5 +6,12 @@ return [
'language' => [ 'language' => [
'en' => 'English', 'en' => 'English',
'de' => 'Deutsch', 'de' => 'Deutsch',
],
'nav' => [
'about' => 'About us',
'services' => 'Services',
'imprint' => 'Imprint',
'contact' => 'Contact',
'news' => 'News',
] ]
]; ];

Binary file not shown.

Before

Width:  |  Height:  |  Size: 829 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 MiB

After

Width:  |  Height:  |  Size: 113 KiB

View File

@@ -1,3 +1,12 @@
.container {
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
}
.header { .header {
position: absolute; position: absolute;
width: 100%; width: 100%;
@@ -5,39 +14,50 @@
top: 0; top: 0;
left: 0; left: 0;
background-color: darkred; background-color: darkred;
min-height: 180px;
}
.header-main {
position: relative;
width: 90%;
height: 75%;
} }
.language { .language {
position: absolute; position: absolute;
width: 10%; width: 194px;
height: 20%;
top: 0; top: 0;
right: 0; right: 0;
background-color: #f8b803; background-color: #f8b803;
} }
.language img {
height: 35%;
}
#logo { #logo {
margin: 10px; margin: 10px;
min-height: 128px;
} }
.ticker { .ticker {
position: absolute; position: absolute;
width: 100%; width: 100%;
height: 4%; height: 25%;
top: 20%; top: 80%;
left: 0; left: 0;
background-color: #0f0; background-color: #0f0;
font-size: 24px; font-size: 100%;
}
.main {
position: absolute;
width: 100%;
height: 80%;
top: 20%;
} }
.navbar { .navbar {
position: absolute; position: absolute;
width: 20%; width: 20%;
height: 78%; height: 100%;
top: 24%; top: 0;
left: 0; left: 0;
background-color: pink; background-color: pink;
} }
@@ -45,8 +65,14 @@
.content { .content {
position: absolute; position: absolute;
width: 80%; width: 80%;
height: 78%; height: 100%;
top: 24%; top: 0;
left: 20%; left: 20%;
background-color: aqua; background-color: aqua;
padding-left: 10px;
}
.content h1 h2 h3 h4 h5 h6 span div p {
margin: 20px 0;
padding: 10px;
} }

View File

@@ -7,23 +7,36 @@
<script src="{{ asset("js/web.js") }}"></script> <script src="{{ asset("js/web.js") }}"></script>
</head> </head>
<body> <body>
<span class="header"> <span class="container">
<img id="logo" src="{{ asset("Bilder/logo.png") }}" alt="{{ __('app.logo') }}"> <span class="header">
</span> <span class="language">
<img alt="{{ __('app.language.de') }}" onclick="setLanguage('de')" src="{{ asset("Bilder/deutsch.gif") }}">
<img alt="{{ __('app.language.en') }}" onclick="setLanguage('en')" src="{{ asset("Bilder/englisch.gif") }}">
</span>
<span class="header-main">
<img id="logo" src="{{ asset("Bilder/logo.png") }}" alt="{{ __('app.logo') }}">
</span>
<span class="ticker">
<marquee>{{\App\Http\Controllers\TickerController::getTicker()}}</marquee>
</span>
</span>
<span class="language"> <span class="main">
<img alt="{{ __('app.language.de') }}" onclick="setLanguage('de')" src="{{ asset("Bilder/deutsch.gif") }}"> <span class="navbar">
<img alt="{{ __('app.language.en') }}" onclick="setLanguage('en')" src="{{ asset("Bilder/englisch.gif") }}"> <ul>
</span> <li><a href="{{ route('about') }}">{{ __('app.nav.about') }}</a></li>
<li><a href="{{ route('services') }}">{{ __('app.nav.services') }}</a></li>
<li><a href="{{ route('news') }}">{{ __('app.nav.news') }}</a></li>
<li><a href="{{ route('contact') }}">{{ __('app.nav.contact') }}</li>
<li><a href="{{ route('imprint') }}">{{ __('app.nav.imprint') }}</a></li>
</ul>
</span>
<span class="content">
@component($page)
@endcomponent
</span>
</span>
<span class="ticker">
<marquee>{{\App\Http\Controllers\TickerController::getTicker()}}</marquee>
</span> </span>
<span class="navbar"></span>
<span class="content">
@component($page)
@endcomponent
</span>
</body> </body>
</html> </html>

View File

@@ -6,10 +6,10 @@ use Illuminate\Support\Facades\Route;
Route::get('/', [WebsiteController::class, 'index']); Route::get('/', [WebsiteController::class, 'index']);
Route::get('/ueberuns', [WebsiteController::class, 'about']); Route::get('/ueberuns', [WebsiteController::class, 'about'])->name('about');
Route::get('/kontakt', [WebsiteController::class, 'contact']); Route::get('/kontakt', [WebsiteController::class, 'contact'])->name('contact');
Route::get('/impressum', [WebsiteController::class, 'imprint']); Route::get('/impressum', [WebsiteController::class, 'imprint'])->name('imprint');
Route::get('/services', [WebsiteController::class, 'services']); Route::get('/services', [WebsiteController::class, 'services'])->name('services');
Route::get('/neuigkeiten', [WebsiteController::class, 'news']); Route::get('/neuigkeiten', [WebsiteController::class, 'news'])->name('news');
Route::get('/intern/anmelden', [WebsiteController::class, 'login']); Route::get('/intern/anmelden', [WebsiteController::class, 'login']);