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:
43
app/Mail/StaffApplicationReceived.php
Normal file
43
app/Mail/StaffApplicationReceived.php
Normal file
@@ -0,0 +1,43 @@
|
||||
<?php
|
||||
|
||||
namespace App\Mail;
|
||||
|
||||
use Illuminate\Bus\Queueable;
|
||||
use Illuminate\Contracts\Queue\ShouldQueue;
|
||||
use Illuminate\Mail\Mailable;
|
||||
use Illuminate\Queue\SerializesModels;
|
||||
use App\Models\StaffApplication;
|
||||
|
||||
class StaffApplicationReceived extends Mailable implements ShouldQueue
|
||||
{
|
||||
use Queueable, SerializesModels;
|
||||
|
||||
public StaffApplication $application;
|
||||
|
||||
/**
|
||||
* Create a new message instance.
|
||||
*/
|
||||
public function __construct(StaffApplication $application)
|
||||
{
|
||||
$this->application = $application;
|
||||
}
|
||||
|
||||
/**
|
||||
* Build the message.
|
||||
*/
|
||||
public function build()
|
||||
{
|
||||
$topicLabel = match ($this->application->topic ?? 'apply') {
|
||||
'apply' => 'Application',
|
||||
'bug' => 'Bug Report',
|
||||
'contact' => 'Contact',
|
||||
default => 'Message',
|
||||
};
|
||||
|
||||
return $this->subject("New {$topicLabel}: " . ($this->application->name ?? 'Unnamed'))
|
||||
->from(config('mail.from.address'), config('mail.from.name'))
|
||||
->view('emails.staff_application_received')
|
||||
->text('emails.staff_application_received_plain')
|
||||
->with(['application' => $this->application, 'topicLabel' => $topicLabel]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user