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' => [
'en' => 'English',
'de' => 'Deutsch',
],
'nav' => [
'about' => 'Über uns',
'services' => 'Dienstleistungen',
'news' => 'Neuigkeiten',
'contact' => 'Kontakt',
'imprint' => 'Impressum',
]
];

View File

@@ -6,5 +6,12 @@ return [
'language' => [
'en' => 'English',
'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 {
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;
}

View File

@@ -7,23 +7,36 @@
<script src="{{ asset("js/web.js") }}"></script>
</head>
<body>
<span class="header">
<img id="logo" src="{{ asset("Bilder/logo.png") }}" alt="{{ __('app.logo') }}">
</span>
<span class="language">
<span class="container">
<span class="header">
<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="ticker">
</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 class="navbar"></span>
<span class="content">
</span>
</span>
<span class="main">
<span class="navbar">
<ul>
<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>
</span>
</body>
</html>

View File

@@ -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']);