<?php

namespace _121Digital\Connect\Admin\Dashboard\Jumbotron;

class Jumbotron
{
    public function register()
    {
        // Use priority 5 to render early (before NoticeService renders at 999)
        add_action('admin_notices', [__CLASS__, 'render'], 5);
    }

    public static function render(): void
    {
        ?>
      <div class="connect-jumbotron connect-121-notice" style="padding: 20px; background-color: #f1f1f1; border-radius: 8px; margin-bottom: 20px;">
        <h2>Welcome to 121 Connect!</h2>
        <p>Your all-in-one solution for managing your WordPress site efficiently.</p>
        <a href="https://121digital.co.uk/connect-docs" target="_blank" class="button button-primary">Get Started</a>
      </div>
      <?php
    }
}
