<?php

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

// Essential Links
$pro_url = "https://designorbital.com/wordpress-theme/municipality-government-wordpress-theme-city-town-pro/";
?>

<div class="notice notice-info is-dismissible city-town-notice">
  <h2><?php esc_html_e('City Town Pro', 'city-town'); ?></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.', 'city-town'); ?></p>
  <p>
    <a href="<?php echo esc_url($pro_url); ?>" class="button button-primary" target="_blank">
      <?php esc_html_e('City Town Pro', 'city-town'); ?>
    </a>
    <a href="<?php echo esc_url(admin_url('themes.php?page=city-town-page')); ?>" class="button button-secondary">
      <?php esc_html_e('Theme Info', 'city-town'); ?>
    </a>
  </p>
</div>
