50 lines
1.9 KiB
PHP
50 lines
1.9 KiB
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Http\Controllers\Web;
|
|
|
|
use App\Http\Controllers\Controller;
|
|
use App\Support\Seo\SeoFactory;
|
|
use Illuminate\Http\Request;
|
|
use Inertia\Inertia;
|
|
use Inertia\Response;
|
|
|
|
final class CardsHelpPageController extends Controller
|
|
{
|
|
public function __invoke(Request $request): Response
|
|
{
|
|
$canonical = route('help.cards');
|
|
$seo = app(SeoFactory::class)
|
|
->collectionPage(
|
|
'Cards Help — Skinbase',
|
|
'Learn what Cards are on Skinbase Nova, how they differ from artworks, posts, and collections, and how to create, publish, and use them effectively in personal and Group workflows.',
|
|
$canonical,
|
|
)
|
|
->toArray();
|
|
|
|
$seo['og_type'] = 'article';
|
|
|
|
return Inertia::render('Help/CardsHelpPage', [
|
|
'title' => 'Cards Help',
|
|
'description' => 'Understand Cards as a distinct creative format on Skinbase Nova, with guidance for creation, publishing, ownership, design quality, and real-world use cases.',
|
|
'seo' => $seo,
|
|
'links' => [
|
|
'help_home' => route('help'),
|
|
'studio_help' => route('help.studio'),
|
|
'upload_help' => route('help.upload'),
|
|
'groups_help' => route('help.groups'),
|
|
'open_studio' => route('studio.index'),
|
|
'studio_cards' => route('studio.cards.index'),
|
|
'create_card' => route('studio.cards.create'),
|
|
'cards_index' => route('cards.index'),
|
|
'help_profile' => route('help.profile'),
|
|
'contact_support' => route('contact.show'),
|
|
'report_issue' => route('bug-report'),
|
|
],
|
|
'auth' => [
|
|
'signed_in' => $request->user() !== null,
|
|
],
|
|
])->rootView('collections');
|
|
}
|
|
} |