HEX
Server: Apache
System: Linux webm004.cluster121.gra.hosting.ovh.net 5.15.167-ovh-vps-grsec-zfs-classid #1 SMP Tue Sep 17 08:14:20 UTC 2024 x86_64
User: grainesdfo (155059)
PHP: 8.2.29
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/grainesdfo/www/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>