Skip to content

Commit e223991

Browse files
author
Sebastian BURGIN-FIX (ext)
committed
wip
1 parent cf8f413 commit e223991

55 files changed

Lines changed: 1193 additions & 969 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

app/Http/Controllers/Media/MediaIndexController.php

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,35 @@
44

55
use App\Actions\PageAction;
66
use App\Http\Controllers\Controller;
7-
use Illuminate\Http\RedirectResponse;
8-
use Illuminate\Support\Str;
97
use Illuminate\View\View;
108

119
class MediaIndexController extends Controller
1210
{
1311
/**
14-
* Display the user's profile form.
12+
* Display the media page with downloadable logos.
1513
*/
16-
public function __invoke(): View|RedirectResponse
14+
public function __invoke(): View
1715
{
18-
return redirect()->route(Str::slug(app()->getLocale()).'.start.index');
19-
20-
// @todo Notification
21-
/* return view('app.media.index')->with([
22-
'page' => (new PageAction(locale: null, routeName: 'media.index'))->default(),
23-
]);*/
16+
return view('app.media.index')->with([
17+
'page' => (new PageAction(locale: null, routeName: 'media.index'))->default(),
18+
'logos' => [
19+
[
20+
'slug' => 'codebar-logo-colored',
21+
'label' => __('Logo colored'),
22+
],
23+
[
24+
'slug' => 'codebar-logo-colored-inverted',
25+
'label' => __('Logo colored inverted'),
26+
],
27+
[
28+
'slug' => 'codebar-logo-black-white',
29+
'label' => __('Logo black white'),
30+
],
31+
[
32+
'slug' => 'codebar-logo-white-black',
33+
'label' => __('Logo white black'),
34+
],
35+
],
36+
]);
2437
}
2538
}

0 commit comments

Comments
 (0)