47 lines
1.7 KiB
PHP
47 lines
1.7 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 GroupFaqPageController extends Controller
|
|
{
|
|
public function __invoke(Request $request): Response
|
|
{
|
|
$canonical = route('help.groups.faq');
|
|
$seo = app(SeoFactory::class)
|
|
->collectionPage(
|
|
'Groups FAQ — Skinbase',
|
|
'Fast answers to the most common Groups questions on Skinbase, including roles, permissions, publishing, contributor credit, invites, workflows, and troubleshooting.',
|
|
$canonical,
|
|
)
|
|
->toArray();
|
|
|
|
$seo['og_type'] = 'article';
|
|
|
|
return Inertia::render('Group/GroupFaqPage', [
|
|
'title' => 'Groups FAQ',
|
|
'description' => 'Quick answers about Groups, roles, permissions, publishing, contributor credit, invites, workflows, and troubleshooting on Skinbase.',
|
|
'seo' => $seo,
|
|
'links' => [
|
|
'groups_directory' => route('groups.index'),
|
|
'create_group' => route('studio.groups.create'),
|
|
'group_studio' => route('studio.groups.index'),
|
|
'full_documentation' => route('help.groups'),
|
|
'quickstart' => route('help.groups.quickstart'),
|
|
'contact_support' => route('contact.show'),
|
|
'report_issue' => route('bug-report'),
|
|
'help_home' => route('help'),
|
|
],
|
|
'auth' => [
|
|
'signed_in' => $request->user() !== null,
|
|
],
|
|
])->rootView('collections');
|
|
}
|
|
} |