Skip to content

Commit 68a1fd5

Browse files
committed
nit: add link to blueprints on welcome page
1 parent 215ca0e commit 68a1fd5

3 files changed

Lines changed: 3 additions & 1 deletion

File tree

resources/views/blueprints/index.blade.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@
2929
<div class="flex flex-col gap-3 sm:flex-row sm:items-start sm:justify-between">
3030
<div class="flex flex-col gap-2">
3131
<h1 class="text-2xl font-semibold tracking-tight">{{ $pageTitle }}</h1>
32-
<p class="text-sm text-base-content/70">Browse craftable blueprints for the selected game version.</p>
3332
</div>
3433

3534
<a class="btn btn-primary sm:shrink-0" href="{{ route('web.blueprints.search', $versionParams) }}">

resources/views/welcome.blade.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@
5252
<h2 class="menu-title">Items</h2>
5353
<ul>
5454
<li><a href="{{ route('web.items.index') }}">All Items</a></li>
55+
<li><a href="{{ route('web.blueprints.index') }}">Blueprints</a></li>
5556
<li><a href="{{ route('web.items.index', ['filter' => ['type' => 'WeaponPersonal']]) }}">Personal Weapons</a></li>
5657
<li><a href="{{ route('web.items.index', ['filter' => ['category' => 'fps-armor']]) }}">Personal Armor</a></li>
5758
<li><a href="{{ route('web.items.index', ['filter' => ['category' => 'weapon-attachments']]) }}">Weapon Attachments</a></li>

tests/Feature/WelcomePageTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
'Comm-Links',
2626
'Vehicles',
2727
'All Items',
28+
'Blueprints',
2829
'Stats',
2930
'Systems',
3031
'Celestial Objects',
@@ -33,6 +34,7 @@
3334
]);
3435

3536
$response->assertSee('name="filter[name]"', false);
37+
$response->assertSee(route('web.blueprints.index'));
3638

3739
$response->assertDontSee('Admin');
3840
});

0 commit comments

Comments
 (0)