-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathweb.php
More file actions
99 lines (74 loc) · 5.31 KB
/
Copy pathweb.php
File metadata and controls
99 lines (74 loc) · 5.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<?php
use App\Enums\LocaleEnum;
use App\Http\Controllers\AboutUs\AboutUsIndexController;
use App\Http\Controllers\Contact\ContactIndexController;
use App\Http\Controllers\CoWorking\CoWorkingIndexController;
use App\Http\Controllers\Entry\EntryIndexController;
use App\Http\Controllers\Jobs\JobsIndexController;
use App\Http\Controllers\Legal\ImprintIndexController;
use App\Http\Controllers\Legal\PrivacyIndexController;
use App\Http\Controllers\Legal\TermsIndexController;
use App\Http\Controllers\Locale\LocaleUpdateController;
use App\Http\Controllers\Media\MediaIndexController;
use App\Http\Controllers\News\NewsIndexController;
use App\Http\Controllers\News\NewsShowController;
use App\Http\Controllers\OpenSource\OpenSoruceShowController;
use App\Http\Controllers\OpenSource\OpenSourceIndexController;
use App\Http\Controllers\Products\ProductsIndexController;
use App\Http\Controllers\Products\ProductsShowController;
use App\Http\Controllers\Services\ServicesIndexController;
use App\Http\Controllers\Services\ServicesShowController;
use App\Http\Controllers\Sitemap\SitemapController;
use App\Http\Controllers\Start\StartIndexController;
use App\Http\Controllers\Styleguide\StyleguideIndexController;
use App\Http\Controllers\Technologies\TechnologiesIndexController;
use App\Http\Controllers\Technologies\TechnologiesShowController;
use Illuminate\Support\Facades\Route;
use Illuminate\Support\Str;
Route::get('/', EntryIndexController::class)->name('entry.index');
Route::group(['as' => Str::slug(LocaleEnum::EN->value).'.'], function () {
Route::get('en-ch', StartIndexController::class)->name('start.index');
Route::get('news', NewsIndexController::class)->name('news.index');
Route::get('news/{locale}/{news}', NewsShowController::class)->name('news.show');
Route::get('about-us', AboutUsIndexController::class)->name('about-us.index');
Route::get('services', ServicesIndexController::class)->name('services.index');
Route::get('services/{locale}/{service}', ServicesShowController::class)->name('services.show');
Route::get('products', ProductsIndexController::class)->name('products.index');
Route::get('products/{locale}/{product}', ProductsShowController::class)->name('products.show');
Route::get('technologies', TechnologiesIndexController::class)->name('technologies.index');
Route::get('technologies/{locale}/{technology}', TechnologiesShowController::class)->name('technologies.show');
Route::get('open-source-contributions', OpenSourceIndexController::class)->name('open-source.index');
Route::get('open-source-contributions/{locale}/{openSource}', OpenSoruceShowController::class)->name('open-source.show');
Route::get('legal/privacy', PrivacyIndexController::class)->name('legal.privacy.index');
Route::get('legal/imprint', ImprintIndexController::class)->name('legal.imprint.index');
Route::get('legal/terms', TermsIndexController::class)->name('legal.terms.index');
Route::get('jobs', JobsIndexController::class)->name('jobs.index');
Route::get('media', MediaIndexController::class)->name('media.index');
Route::get('contact', ContactIndexController::class)->name('contact.index');
Route::get('co-working-en', CoWorkingIndexController::class)->name('co-working.index');
});
Route::group(['as' => Str::slug(LocaleEnum::DE->value).'.'], function () {
Route::get('de-ch', StartIndexController::class)->name('start.index');
Route::get('aktuelles', NewsIndexController::class)->name('news.index');
Route::get('aktuelles/{locale}/{news}', NewsShowController::class)->name('news.show');
Route::get('ueber-uns', AboutUsIndexController::class)->name('about-us.index');
Route::get('dienstleistungen', ServicesIndexController::class)->name('services.index');
Route::get('dienstleistungen/{locale}/{service}', ServicesShowController::class)->name('services.show');
Route::get('produkte', ProductsIndexController::class)->name('products.index');
Route::get('produkte/{locale}/{product}', ProductsShowController::class)->name('products.show');
Route::get('technologien', TechnologiesIndexController::class)->name('technologies.index');
Route::get('technologien/{locale}/{technology}', TechnologiesShowController::class)->name('technologies.show');
Route::get('open-source-beitraege', OpenSourceIndexController::class)->name('open-source.index');
Route::get('open-source-beitraege/{locale}/{openSource}', OpenSoruceShowController::class)->name('open-source.show');
Route::get('rechtlichtes/datenschutz', PrivacyIndexController::class)->name('legal.privacy.index');
Route::get('rechtlichtes/impressum', ImprintIndexController::class)->name('legal.imprint.index');
Route::get('rechtlichtes/geschaeftsbedingungen', TermsIndexController::class)->name('legal.terms.index');
Route::get('stellen', JobsIndexController::class)->name('jobs.index');
Route::get('medien', MediaIndexController::class)->name('media.index');
Route::get('kontakt', ContactIndexController::class)->name('contact.index');
Route::get('co-working-de', CoWorkingIndexController::class)->name('co-working.index');
});
Route::post('language/update', LocaleUpdateController::class)->name('language.update');
Route::get('styleguide', StyleguideIndexController::class)->name('styleguide.index');
Route::get('sitemap.xml', SitemapController::class);
require __DIR__.'/well-known.php';