<?php

namespace OxygenApp\Views\Frontend\Content;
if (!defined('ABSPATH')) exit;

use OxygenApp\Views\IView;
use OxygenApp\Views\BaseView;
use OxygenApp\Utils\LanguagesHelper;

class SleepMode extends BaseView implements IView
{
    public function render(): void
    {
        $sleep_mode_title = LanguagesHelper::getInstance()->getLangLabel('sleep_mode_title');
        $sleep_mode_info = LanguagesHelper::getInstance()->getLangLabel('sleep_mode_info');

        ?>
        <div class="absolute inset-0 w-full h-full top-0 left-0 p-4 z-50 hidden sleepmode-ui">
            <div class="absolute inset-0 w-full h-full top-0 left-0 z-10 bg-black/90">
            </div>

            <div class="w-full relative top-0 left-0 h-full flex items-center justify-center z-20">
                <div>
                    <div class="text-3xl mb-4 md:text-5xl text-white text-center"><?php echo esc_html($sleep_mode_title) ?></div>
                    <div class="text-white text-lg text-center"><?php echo esc_html($sleep_mode_info) ?></div>
                </div>
            </div>
        </div>


        <?php
    }
}