feat: Inertia profile settings page, Studio edit redesign, EGS, Nova UI components\n\n- Redesign /dashboard/profile as Inertia React page (Settings/ProfileEdit)\n with SettingsLayout sidebar, Nova UI components (TextInput, Textarea,\n Toggle, Select, RadioGroup, Modal, Button), avatar drag-and-drop,\n password change, and account deletion sections\n- Redesign Studio artwork edit page with two-column layout, Nova components,\n integrated TagPicker, and version history modal\n- Add shared MarkdownEditor component\n- Add Early-Stage Growth System (EGS): SpotlightEngine, FeedBlender,\n GridFiller, AdaptiveTimeWindow, ActivityLayer, admin panel\n- Fix upload category/tag persistence (V1+V2 paths)\n- Fix tag source enum, category tree display, binding resolution\n- Add settings.jsx Vite entry, settings.blade.php wrapper\n- Update ProfileController with JSON response support for API calls\n- Various route fixes (profile.edit, toolbar settings link)"
This commit is contained in:
87
app/Http/Controllers/Web/FooterController.php
Normal file
87
app/Http/Controllers/Web/FooterController.php
Normal file
@@ -0,0 +1,87 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace App\Http\Controllers\Web;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
use Illuminate\View\View;
|
||||
|
||||
/**
|
||||
* FooterController — serves static footer pages.
|
||||
*
|
||||
* /faq → faq()
|
||||
* /rules-and-guidelines → rules()
|
||||
* /privacy-policy → privacyPolicy()
|
||||
* /terms-of-service → termsOfService()
|
||||
*/
|
||||
final class FooterController extends Controller
|
||||
{
|
||||
public function faq(): View
|
||||
{
|
||||
return view('web.faq', [
|
||||
'page_title' => 'FAQ — Skinbase',
|
||||
'page_meta_description' => 'Frequently Asked Questions about Skinbase — the community for skins, wallpapers, and photography.',
|
||||
'page_canonical' => url('/faq'),
|
||||
'hero_title' => 'Frequently Asked Questions',
|
||||
'hero_description' => 'Answers to the most common questions from our members. Last updated March 1, 2026.',
|
||||
'breadcrumbs' => collect([
|
||||
(object) ['name' => 'Home', 'url' => '/'],
|
||||
(object) ['name' => 'FAQ', 'url' => '/faq'],
|
||||
]),
|
||||
'center_content' => true,
|
||||
'center_max' => '3xl',
|
||||
]);
|
||||
}
|
||||
|
||||
public function rules(): View
|
||||
{
|
||||
return view('web.rules', [
|
||||
'page_title' => 'Rules & Guidelines — Skinbase',
|
||||
'page_meta_description' => 'Read the Skinbase community rules and content guidelines before submitting your work.',
|
||||
'page_canonical' => url('/rules-and-guidelines'),
|
||||
'hero_title' => 'Rules & Guidelines',
|
||||
'hero_description' => 'Please review these guidelines before uploading or participating. Last updated March 1, 2026.',
|
||||
'breadcrumbs' => collect([
|
||||
(object) ['name' => 'Home', 'url' => '/'],
|
||||
(object) ['name' => 'Rules & Guidelines', 'url' => '/rules-and-guidelines'],
|
||||
]),
|
||||
'center_content' => true,
|
||||
'center_max' => '3xl',
|
||||
]);
|
||||
}
|
||||
|
||||
public function termsOfService(): View
|
||||
{
|
||||
return view('web.terms-of-service', [
|
||||
'page_title' => 'Terms of Service — Skinbase',
|
||||
'page_meta_description' => 'Read the Skinbase Terms of Service — the agreement that governs your use of the platform.',
|
||||
'page_canonical' => url('/terms-of-service'),
|
||||
'hero_title' => 'Terms of Service',
|
||||
'hero_description' => 'The agreement between you and Skinbase that governs your use of the platform. Last updated March 1, 2026.',
|
||||
'breadcrumbs' => collect([
|
||||
(object) ['name' => 'Home', 'url' => '/'],
|
||||
(object) ['name' => 'Terms of Service', 'url' => '/terms-of-service'],
|
||||
]),
|
||||
'center_content' => true,
|
||||
'center_max' => '3xl',
|
||||
]);
|
||||
}
|
||||
|
||||
public function privacyPolicy(): View
|
||||
{
|
||||
return view('web.privacy-policy', [
|
||||
'page_title' => 'Privacy Policy — Skinbase',
|
||||
'page_meta_description' => 'Read the Skinbase privacy policy to understand how we collect and use your data.',
|
||||
'page_canonical' => url('/privacy-policy'),
|
||||
'hero_title' => 'Privacy Policy',
|
||||
'hero_description' => 'How Skinbase collects, uses, and protects your information. Last updated March 1, 2026.',
|
||||
'breadcrumbs' => collect([
|
||||
(object) ['name' => 'Home', 'url' => '/'],
|
||||
(object) ['name' => 'Privacy Policy', 'url' => '/privacy-policy'],
|
||||
]),
|
||||
'center_content' => true,
|
||||
'center_max' => '3xl',
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user