<?php

// Exit if accessed directly.
if (! defined('ABSPATH')) {
  exit;
}

// Essential Links
$pro_url = "https://designorbital.com/wordpress-theme/cabin-travel-blog-premium-wordpress-theme/";
?>

<div class="notice notice-info is-dismissible cabin-travel-blog-notice">
  <h2><?php esc_html_e('Cabin Travel Blog Pro', 'cabin-travel-blog'); ?></h2>
  <p><?php esc_html_e('Use the discount code WPLOVE to upgrade to the Pro version today! Unlock advanced blocks, premium patterns, and priority support.', 'cabin-travel-blog'); ?></p>
  <p>
    <a href="<?php echo esc_url($pro_url); ?>" class="button button-primary" target="_blank">
      <?php esc_html_e('Cabin Travel Blog Pro', 'cabin-travel-blog'); ?>
    </a>
    <a href="<?php echo esc_url(admin_url('themes.php?page=cabin-travel-blog-page')); ?>" class="button button-secondary">
      <?php esc_html_e('Theme Info', 'cabin-travel-blog'); ?>
    </a>
  </p>
</div>
