<?php

declare(strict_types=1);

/**
 * AXIOM Studio Shell
 *
 * Variables attendues :
 * - $title   : titre de la page
 * - $content : contenu HTML du module
 */

$title = $title ?? 'AXIOM Studio';

?>
<!DOCTYPE html>
<html lang="fr">

<head>

    <meta charset="utf-8">

    <meta name="viewport"
          content="width=device-width, initial-scale=1">

    <title><?= htmlspecialchars($title) ?></title>

    <link rel="stylesheet"
          href="/public/assets/css/studio-shell.css">

</head>

<body class="studio-shell">

<header class="studio-header">

    <div class="studio-brand">

        <strong>AXIOM Studio</strong>

    </div>

    <div class="studio-version">

        <?= defined('APP_VERSION')
            ? APP_VERSION
            : 'Développement'; ?>

    </div>

</header>

<nav class="studio-topnav">

    <!-- Le menu sera ajouté en 001.1.3 -->

</nav>

<main class="studio-workspace">

    <?= $content ?? '' ?>

</main>

<footer class="studio-statusbar">

    <span>AXIOM Studio</span>

    <span>Plateforme opérationnelle</span>

</footer>

</body>
</html>