138 lines
6.4 KiB
PHP
138 lines
6.4 KiB
PHP
<?php
|
|
// Inclure la configuration
|
|
require_once 'includes/config.php';
|
|
// Inclure les fonctions de sécurité
|
|
require_once 'includes/security.php';
|
|
// Appliquer les en-têtes de sécurité
|
|
setSecurityHeaders();
|
|
?>
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="csrf-token" content="<?php echo generateCSRFToken(); ?>">
|
|
<title>kaubuntu.re - Ouverture prochaine</title>
|
|
|
|
<!-- Styles -->
|
|
<link rel="stylesheet" href="css/countdown.css">
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
|
|
|
<!-- Favicons -->
|
|
<link rel="apple-touch-icon" sizes="180x180" href="img/apple-touch-icon.png">
|
|
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon-32x32.png">
|
|
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon-16x16.png">
|
|
<link rel="manifest" href="site.webmanifest">
|
|
<link rel="icon" type="image/x-icon" href="img/favicon.ico">
|
|
<meta name="theme-color" content="#FF0000">
|
|
|
|
<!-- PWA Meta Tags -->
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="default">
|
|
<meta name="apple-mobile-web-app-title" content="kaubuntu.re">
|
|
<meta name="application-name" content="kaubuntu.re">
|
|
|
|
<!-- Open Graph Meta Tags -->
|
|
<meta property="og:title" content="kaubuntu.re - Ouverture prochaine">
|
|
<meta property="og:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le 11 octobre 2025. Restez connectés !">
|
|
<meta property="og:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
|
|
<meta property="og:url" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']; ?>">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:site_name" content="kaubuntu.re">
|
|
<meta property="og:locale" content="fr_FR">
|
|
|
|
<!-- Twitter Card Meta Tags -->
|
|
<meta name="twitter:card" content="summary_large_image">
|
|
<meta name="twitter:title" content="kaubuntu.re - Ouverture prochaine">
|
|
<meta name="twitter:description" content="La plateforme multimédia kaubuntu.re ouvrira ses portes le 11 octobre 2025. Restez connectés !">
|
|
<meta name="twitter:image" content="<?php echo 'https://' . $_SERVER['HTTP_HOST'] . '/img/logo.png'; ?>">
|
|
|
|
<!-- Configuration JavaScript -->
|
|
<script>
|
|
const COUNTDOWN_TARGET_DATE = '<?php echo defined('COUNTDOWN_TARGET_DATE') ? COUNTDOWN_TARGET_DATE : '2025-10-11 00:00:00'; ?>';
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div class="countdown-overlay">
|
|
<div class="countdown-container">
|
|
<!-- Logo -->
|
|
<img src="img/logo.png" alt="Logo kaubuntu.re" class="countdown-logo">
|
|
|
|
<!-- Titre principal -->
|
|
<h1 class="countdown-title">kaubuntu.re</h1>
|
|
|
|
<!-- Sous-titre -->
|
|
<p class="countdown-subtitle">Plateforme Multimédia - Ouverture prochaine</p>
|
|
|
|
<!-- Compte à rebours -->
|
|
<div class="countdown-timer">
|
|
<div class="countdown-unit">
|
|
<span class="countdown-number" id="countdown-days">00</span>
|
|
<span class="countdown-label">Jours</span>
|
|
</div>
|
|
<div class="countdown-unit">
|
|
<span class="countdown-number" id="countdown-hours">00</span>
|
|
<span class="countdown-label">Heures</span>
|
|
</div>
|
|
<div class="countdown-unit">
|
|
<span class="countdown-number" id="countdown-minutes">00</span>
|
|
<span class="countdown-label">Minutes</span>
|
|
</div>
|
|
<div class="countdown-unit">
|
|
<span class="countdown-number" id="countdown-seconds">00</span>
|
|
<span class="countdown-label">Secondes</span>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Message -->
|
|
<div class="countdown-message">
|
|
<p>La plateforme ouvrira ses portes le <strong>11 octobre 2025</strong>.</p>
|
|
<p>Restez connectés et suivez-nous sur nos réseaux sociaux !</p>
|
|
</div>
|
|
|
|
<!-- Réseaux sociaux -->
|
|
<div class="countdown-social">
|
|
<?php if (defined('FACEBOOK_URL') && !empty(FACEBOOK_URL)): ?>
|
|
<a href="<?php echo FACEBOOK_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="Facebook">
|
|
<i class="fab fa-facebook-f"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (defined('X_URL') && !empty(X_URL)): ?>
|
|
<a href="<?php echo X_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="X (Twitter)">
|
|
<i class="fab fa-x-twitter"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (defined('INSTAGRAM_URL') && !empty(INSTAGRAM_URL)): ?>
|
|
<a href="<?php echo INSTAGRAM_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="Instagram">
|
|
<i class="fab fa-instagram"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (defined('YOUTUBE_URL') && !empty(YOUTUBE_URL)): ?>
|
|
<a href="<?php echo YOUTUBE_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="YouTube">
|
|
<i class="fab fa-youtube"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (defined('TIKTOK_URL') && !empty(TIKTOK_URL)): ?>
|
|
<a href="<?php echo TIKTOK_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="TikTok">
|
|
<i class="fab fa-tiktok"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
|
|
<?php if (defined('MASTODON_URL') && !empty(MASTODON_URL)): ?>
|
|
<a href="<?php echo MASTODON_URL; ?>" target="_blank" rel="noopener noreferrer" aria-label="Mastodon">
|
|
<i class="fab fa-mastodon"></i>
|
|
</a>
|
|
<?php endif; ?>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Scripts -->
|
|
<script src="js/countdown.js"></script>
|
|
</body>
|
|
</html>
|