HEX
Server: Apache
System: Linux flamboyant-gauss.194-164-62-186.plesk.page 6.8.0-55-generic #57-Ubuntu SMP PREEMPT_DYNAMIC Wed Feb 12 23:42:21 UTC 2025 x86_64
User: gamesamphora (10001)
PHP: 7.4.33
Disabled: opcache_get_status
Upload Files
File: /var/www/vhosts/amphoragames.com/httpdocs/wp-content/plugins/backwpup/components/first-congrats.php
<?php
use BackWPup\Utils\BackWPupHelpers;

/**
 * @var string $identifier The unique identifier for the component. Optional.
 * @var bool $display Whether to display the component (default: true).
 */

// Default to `true` for `$display` if it's not set.
$display = isset($display) ? $display : true;

?>
<div 
    <?= isset($identifier) && !empty($identifier) ? "id='" . esc_attr($identifier) . "'" : ''; ?> 
    class="p-8 text-center bg-white rounded-lg" 
    <?= !$display ? 'style="display:none;"' : ''; ?>
>
	<div class="inline-block p-1 bg-secondary-lighter text-primary-base rounded">
		<?php BackWPupHelpers::component("icon", ["name" => "check", "size" => "medium"]); ?>
	</div>

	<h2 class="mt-4 mb-2 text-primary-darker text-xl font-semibold"><?php esc_html_e("Congratulations! 🙌", 'backwpup'); ?></h2>
	<p class="text-xl"><?php esc_html_e("You’ve set up your first backup.", 'backwpup'); ?></p>
</div>