<?php

namespace App\Mail;

use App\Models\ContentSync;
use Illuminate\Bus\Queueable;
use Illuminate\Mail\Mailable;
use Illuminate\Queue\SerializesModels;

class ContentSyncApprovalRequestedMail extends Mailable
{
    use Queueable;
    use SerializesModels;

    public function __construct(public readonly ContentSync $contentSync)
    {
    }

    public function build(): self
    {
        return $this
            ->subject('Content Sync Approval Required')
            ->view('emails.content-sync-approval-requested', [
                'contentSync' => $this->contentSync,
                'colours' => [
                    'app-text-colour' => '#000000',
                    'app-primary-colour' => '#3C576B',
                ],
            ]);
    }
}
