<?php
$screen = get_current_screen();
if (! empty($screen->base) && 'appearance_page_brick-beam-info' === $screen->base) {
    return false;
}

?>
<div class="notice notice-info is-dismissible brick-beam-admin-notice" id="brick-beam-admin-notice">
    <div class="brick-beam-admin-notice-wrapper">
        <h2><?php esc_html_e('Howdy, Welcome to', 'brick-beam'); ?> <?php esc_html_e('Brick & Beam!', 'brick-beam'); ?></h2>
        <p><?php esc_html_e('Do you know you can get more features in Brick & Beam? Upgrade to Brick & Beam Pro!!!', 'brick-beam'); ?></p>
        <a href="<?php echo esc_url(admin_url('themes.php?page=brick-beam-info')); ?>" class="brick-beam-admin-notice-primary-button"><?php esc_html_e('Brick & Beam Pro Details', 'brick-beam'); ?></a>
        <a class="button" href="<?php echo esc_url('https://fireflythemes.com/themes/brick-beam-pro'); ?>" target="_blank"><?php esc_html_e('Learn more about Brick & Beam Pro Theme', 'brick-beam'); ?></a>
    </div>
</div>
<?php
