feat: add tag discovery analytics and reporting
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
@php
|
||||
$active = $section ?? 'artworks';
|
||||
$includeTags = (bool) ($includeTags ?? false);
|
||||
|
||||
$sections = collect([
|
||||
'artworks' => ['label' => 'All Artworks', 'icon' => 'fa-border-all', 'href' => '/browse'],
|
||||
@@ -14,6 +15,10 @@
|
||||
'skins' => ['label' => 'Skins', 'icon' => 'fa-layer-group', 'href' => '/skins'],
|
||||
'other' => ['label' => 'Other', 'icon' => 'fa-folder-open', 'href' => '/other'],
|
||||
]);
|
||||
|
||||
if ($includeTags) {
|
||||
$sections->put('tags', ['label' => 'Tags', 'icon' => 'fa-tags', 'href' => '/tags']);
|
||||
}
|
||||
@endphp
|
||||
|
||||
<nav class="flex flex-wrap items-center gap-2 text-sm" aria-label="Browse sections">
|
||||
|
||||
Reference in New Issue
Block a user