zt2 / index.html
Taallion's picture
Add 3 files
e1de3db verified
Raw History Blame Contribute Delete
29.8 kB
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>ZenTech Pause - Votre pause bien-être numérique</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
@keyframes breathe {
0%, 100% { transform: scale(1); opacity: 0.8; }
50% { transform: scale(1.1); opacity: 1; }
}
.breathe-animation {
animation: breathe 8s infinite ease-in-out;
}
.sound-btn:hover .sound-wave {
display: block;
}
.sound-wave {
position: absolute;
bottom: -10px;
left: 0;
width: 100%;
height: 3px;
background: linear-gradient(90deg, rgba(100, 200, 255, 0.7), rgba(100, 200, 255, 0.3));
border-radius: 50%;
display: none;
}
.bubble {
position: absolute;
border-radius: 50%;
cursor: pointer;
transition: transform 0.2s;
}
.bubble:hover {
transform: scale(1.1);
}
.bubble-burst {
transform: scale(1.5);
opacity: 0;
transition: transform 0.3s, opacity 0.3s;
}
.section {
scroll-margin-top: 80px;
}
.nav-link {
position: relative;
}
.nav-link::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: -2px;
left: 0;
background-color: #4fd1c5;
transition: width 0.3s;
}
.nav-link:hover::after {
width: 100%;
}
</style>
</head>
<body class="font-sans bg-white text-gray-800">
<!-- Navigation -->
<nav class="fixed w-full bg-white shadow-sm z-50">
<div class="max-w-6xl mx-auto px-4">
<div class="flex justify-between items-center h-16">
<div class="flex items-center">
<span class="text-xl font-bold text-blue-600">ZenTech<span class="text-teal-400">Pause</span></span>
</div>
<div class="hidden md:flex space-x-8">
<a href="#home" class="nav-link text-gray-700 hover:text-blue-600">Accueil</a>
<a href="#pauses" class="nav-link text-gray-700 hover:text-blue-600">Pauses</a>
<a href="#game" class="nav-link text-gray-700 hover:text-blue-600">Mini-jeu</a>
<a href="#tips" class="nav-link text-gray-700 hover:text-blue-600">Astuces</a>
</div>
<div class="md:hidden">
<button id="menu-btn" class="text-gray-700 focus:outline-none">
<i class="fas fa-bars text-xl"></i>
</button>
</div>
</div>
</div>
<!-- Mobile menu -->
<div id="mobile-menu" class="hidden md:hidden bg-white shadow-lg">
<div class="px-2 pt-2 pb-3 space-y-1">
<a href="#home" class="block px-3 py-2 text-gray-700 hover:bg-blue-50 rounded-md">Accueil</a>
<a href="#pauses" class="block px-3 py-2 text-gray-700 hover:bg-blue-50 rounded-md">Pauses</a>
<a href="#game" class="block px-3 py-2 text-gray-700 hover:bg-blue-50 rounded-md">Mini-jeu</a>
<a href="#tips" class="block px-3 py-2 text-gray-700 hover:bg-blue-50 rounded-md">Astuces</a>
</div>
</div>
</nav>
<!-- Hero Section -->
<section id="home" class="section min-h-screen flex items-center justify-center bg-gradient-to-br from-blue-50 to-white pt-16">
<div class="max-w-4xl mx-auto px-6 text-center">
<h1 class="text-4xl md:text-6xl font-bold text-gray-800 mb-8">Faites une vraie pause.</h1>
<div class="flex flex-col items-center justify-center">
<div class="breathe-animation bg-blue-100 rounded-full w-40 h-40 md:w-60 md:h-60 flex items-center justify-center mb-8">
<div class="text-center">
<p id="breathe-text" class="text-2xl md:text-3xl font-medium text-blue-600">Inspirez...</p>
<p class="text-blue-400 mt-2">Suivez le rythme</p>
</div>
</div>
<p class="text-gray-600 max-w-2xl mx-auto text-lg">
Prenez un moment pour vous détendre et recharger vos batteries.
Votre bien-être numérique est important pour votre productivité.
</p>
</div>
</div>
</section>
<!-- Pause Options -->
<section id="pauses" class="section py-20 bg-white">
<div class="max-w-6xl mx-auto px-6">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Choisissez votre pause</h2>
<div class="grid md:grid-cols-3 gap-8">
<!-- Sound Pauses -->
<div class="bg-blue-50 rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow">
<div class="text-center mb-6">
<i class="fas fa-music text-4xl text-blue-500 mb-4"></i>
<h3 class="text-xl font-semibold text-gray-800">Sons relaxants</h3>
</div>
<div class="space-y-4">
<button class="sound-btn relative w-full bg-white rounded-lg px-4 py-3 text-left flex items-center justify-between hover:bg-blue-100 transition-colors">
<span class="text-gray-700"><i class="fas fa-water text-blue-400 mr-2"></i> Vagues océanes</span>
<i class="fas fa-play text-blue-500"></i>
<div class="sound-wave"></div>
<audio src="https://assets.mixkit.co/sfx/preview/mixkit-ocean-waves-ambience-1254.mp3"></audio>
</button>
<button class="sound-btn relative w-full bg-white rounded-lg px-4 py-3 text-left flex items-center justify-between hover:bg-blue-100 transition-colors">
<span class="text-gray-700"><i class="fas fa-wind text-blue-400 mr-2"></i> Vent dans les arbres</span>
<i class="fas fa-play text-blue-500"></i>
<div class="sound-wave"></div>
<audio src="https://assets.mixkit.co/sfx/preview/mixkit-wind-in-the-trees-1681.mp3"></audio>
</button>
<button class="sound-btn relative w-full bg-white rounded-lg px-4 py-3 text-left flex items-center justify-between hover:bg-blue-100 transition-colors">
<span class="text-gray-700"><i class="fas fa-spa text-blue-400 mr-2"></i> Bols tibétains</span>
<i class="fas fa-play text-blue-500"></i>
<div class="sound-wave"></div>
<audio src="https://assets.mixkit.co/sfx/preview/mixkit-singing-bowl-1684.mp3"></audio>
</button>
</div>
</div>
<!-- Stretching -->
<div class="bg-teal-50 rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow">
<div class="text-center mb-6">
<i class="fas fa-hands-helping text-4xl text-teal-500 mb-4"></i>
<h3 class="text-xl font-semibold text-gray-800">Étirements rapides</h3>
</div>
<div class="space-y-4">
<div class="bg-white rounded-lg p-4">
<h4 class="font-medium text-gray-800 mb-2">Nuque et épaules</h4>
<p class="text-sm text-gray-600">Inclinez doucement la tête de chaque côté, maintenez 5 secondes.</p>
</div>
<div class="bg-white rounded-lg p-4">
<h4 class="font-medium text-gray-800 mb-2">Poignets et doigts</h4>
<p class="text-sm text-gray-600">Faites des rotations avec vos poignets, étirez chaque doigt.</p>
</div>
<div class="bg-white rounded-lg p-4">
<h4 class="font-medium text-gray-800 mb-2">Dos et jambes</h4>
<p class="text-sm text-gray-600">Levez-vous, touchez vos orteils, puis étirez vos bras vers le ciel.</p>
</div>
</div>
</div>
<!-- Timer -->
<div class="bg-indigo-50 rounded-xl p-6 shadow-sm hover:shadow-md transition-shadow">
<div class="text-center mb-6">
<i class="fas fa-clock text-4xl text-indigo-500 mb-4"></i>
<h3 class="text-xl font-semibold text-gray-800">Pause chronométrée</h3>
</div>
<div class="flex flex-col items-center">
<div class="text-5xl font-light mb-6 text-indigo-600" id="timer">05:00</div>
<div class="flex space-x-4">
<button id="start-timer" class="bg-indigo-500 text-white px-6 py-2 rounded-full hover:bg-indigo-600 transition-colors">
<i class="fas fa-play mr-2"></i> Démarrer
</button>
<button id="reset-timer" class="bg-white text-indigo-500 px-6 py-2 rounded-full border border-indigo-300 hover:bg-indigo-50 transition-colors">
<i class="fas fa-redo mr-2"></i> Réinitialiser
</button>
</div>
<div class="mt-6 text-sm text-gray-600">
<p>Prenez au moins 5 minutes pour une pause efficace.</p>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Bubble Game -->
<section id="game" class="section py-20 bg-blue-50">
<div class="max-w-6xl mx-auto px-6">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-6">Mini-jeu relaxant</h2>
<p class="text-center text-gray-600 max-w-2xl mx-auto mb-12">
Cliquez sur les bulles pour les faire éclater. Un simple jeu pour vous détendre et vous concentrer sur l'instant présent.
</p>
<div class="bg-white rounded-xl shadow-sm p-6 max-w-4xl mx-auto">
<div class="flex justify-between items-center mb-6">
<h3 class="text-xl font-semibold text-gray-800">Bubbles Burst</h3>
<div class="bg-blue-100 text-blue-600 px-4 py-2 rounded-full">
<i class="fas fa-bullseye mr-2"></i>
<span id="bubble-count">0</span> bulles éclatées
</div>
</div>
<div id="bubble-game" class="relative h-96 w-full bg-blue-50 rounded-lg overflow-hidden">
<div class="absolute inset-0 flex items-center justify-center" id="game-start">
<button id="start-game" class="bg-blue-500 text-white px-8 py-3 rounded-full hover:bg-blue-600 transition-colors text-lg">
<i class="fas fa-play mr-2"></i> Commencer le jeu
</button>
</div>
</div>
<div class="mt-6 text-sm text-gray-600">
<p>Conseil : Respirez profondément entre chaque bulle pour maximiser l'effet relaxant.</p>
</div>
</div>
</div>
</section>
<!-- Tech Tips -->
<section id="tips" class="section py-20 bg-white">
<div class="max-w-6xl mx-auto px-6">
<h2 class="text-3xl font-bold text-center text-gray-800 mb-12">Astuces pour assistants techniques</h2>
<div class="grid md:grid-cols-2 gap-8">
<div class="bg-gray-50 rounded-xl p-6 shadow-sm">
<h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
<i class="fas fa-keyboard text-blue-500 mr-3"></i> Raccourcis utiles
</h3>
<ul class="space-y-3">
<li class="flex items-start">
<span class="bg-blue-100 text-blue-600 px-2 py-1 rounded mr-3 text-sm">Win + L</span>
<span class="text-gray-700">Verrouiller rapidement votre poste</span>
</li>
<li class="flex items-start">
<span class="bg-blue-100 text-blue-600 px-2 py-1 rounded mr-3 text-sm">Ctrl + Shift + Esc</span>
<span class="text-gray-700">Ouvrir le gestionnaire des tâches</span>
</li>
<li class="flex items-start">
<span class="bg-blue-100 text-blue-600 px-2 py-1 rounded mr-3 text-sm">Alt + Tab</span>
<span class="text-gray-700">Basculer entre les applications</span>
</li>
<li class="flex items-start">
<span class="bg-blue-100 text-blue-600 px-2 py-1 rounded mr-3 text-sm">Win + V</span>
<span class="text-gray-700">Historique du presse-papiers</span>
</li>
</ul>
</div>
<div class="bg-gray-50 rounded-xl p-6 shadow-sm">
<h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
<i class="fas fa-tools text-blue-500 mr-3"></i> Outils recommandés
</h3>
<ul class="space-y-3">
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mr-3 mt-1"></i>
<span class="text-gray-700"><span class="font-medium">Sysinternals Suite</span> - Outils avancés de diagnostic</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mr-3 mt-1"></i>
<span class="text-gray-700"><span class="font-medium">Wireshark</span> - Analyse du trafic réseau</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mr-3 mt-1"></i>
<span class="text-gray-700"><span class="font-medium">Notepad++</span> - Éditeur de texte avancé</span>
</li>
<li class="flex items-start">
<i class="fas fa-check-circle text-green-400 mr-3 mt-1"></i>
<span class="text-gray-700"><span class="font-medium">Greenshot</span> - Capture d'écran annotée</span>
</li>
</ul>
</div>
<div class="md:col-span-2 bg-blue-50 rounded-xl p-6 shadow-sm">
<h3 class="text-xl font-semibold text-gray-800 mb-4 flex items-center">
<i class="fas fa-lightbulb text-blue-500 mr-3"></i> Bonnes pratiques
</h3>
<div class="grid md:grid-cols-2 gap-6">
<div>
<h4 class="font-medium text-gray-800 mb-2">Organisation</h4>
<ul class="space-y-2 text-gray-700">
<li class="flex items-start">
<i class="fas fa-check text-blue-400 mr-2 mt-1 text-sm"></i>
<span>Documentez systématiquement vos interventions</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-blue-400 mr-2 mt-1 text-sm"></i>
<span>Utilisez un système de ticketing pour le suivi</span>
</li>
</ul>
</div>
<div>
<h4 class="font-medium text-gray-800 mb-2">Communication</h4>
<ul class="space-y-2 text-gray-700">
<li class="flex items-start">
<i class="fas fa-check text-blue-400 mr-2 mt-1 text-sm"></i>
<span>Adaptez votre langage à votre interlocuteur</span>
</li>
<li class="flex items-start">
<i class="fas fa-check text-blue-400 mr-2 mt-1 text-sm"></i>
<span>Confirmez la compréhension des instructions</span>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-800 text-white py-12">
<div class="max-w-6xl mx-auto px-6">
<div class="grid md:grid-cols-3 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">ZenTech Pause</h3>
<p class="text-gray-400">
Une solution simple pour intégrer des pauses bien-être dans votre routine de travail.
</p>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Liens utiles</h3>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-400 hover:text-white transition-colors">Accueil</a></li>
<li><a href="#pauses" class="text-gray-400 hover:text-white transition-colors">Pauses</a></li>
<li><a href="#game" class="text-gray-400 hover:text-white transition-colors">Mini-jeu</a></li>
<li><a href="#tips" class="text-gray-400 hover:text-white transition-colors">Astuces</a></li>
</ul>
</div>
<div>
<h3 class="text-xl font-bold mb-4">Contact</h3>
<p class="text-gray-400 mb-4">
Un projet de <a href="https://techassistlab.com" class="text-blue-300 hover:underline" target="_blank">TechAssist Lab</a>
</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-twitter text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-linkedin text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition-colors">
<i class="fab fa-github text-xl"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 ZenTech Pause. Tous droits réservés.</p>
</div>
</div>
</footer>
<script>
// Breathing animation
let breatheInterval;
let isInhaling = true;
function startBreathingAnimation() {
const breatheText = document.getElementById('breathe-text');
breatheInterval = setInterval(() => {
if (isInhaling) {
breatheText.textContent = "Inspirez...";
isInhaling = false;
} else {
breatheText.textContent = "Expirez...";
isInhaling = true;
}
}, 8000); // Change every 8 seconds (4s inhale, 4s exhale)
}
// Sound players
document.querySelectorAll('.sound-btn').forEach(btn => {
const audio = btn.querySelector('audio');
const icon = btn.querySelector('.fa-play');
const soundWave = btn.querySelector('.sound-wave');
let isPlaying = false;
let audioInstance;
btn.addEventListener('click', () => {
// Stop any currently playing sounds
document.querySelectorAll('.sound-btn').forEach(otherBtn => {
if (otherBtn !== btn) {
const otherAudio = otherBtn.querySelector('audio');
const otherIcon = otherBtn.querySelector('.fa-play');
const otherWave = otherBtn.querySelector('.sound-wave');
otherAudio.pause();
otherAudio.currentTime = 0;
otherIcon.classList.replace('fa-pause', 'fa-play');
otherWave.style.display = 'none';
}
});
if (isPlaying) {
audio.pause();
audio.currentTime = 0;
icon.classList.replace('fa-pause', 'fa-play');
soundWave.style.display = 'none';
isPlaying = false;
} else {
audio.play();
icon.classList.replace('fa-play', 'fa-pause');
soundWave.style.display = 'block';
isPlaying = true;
audio.onended = () => {
icon.classList.replace('fa-pause', 'fa-play');
soundWave.style.display = 'none';
isPlaying = false;
};
}
});
});
// Timer functionality
let timerInterval;
let timeLeft = 5 * 60; // 5 minutes in seconds
function updateTimerDisplay() {
const minutes = Math.floor(timeLeft / 60);
const seconds = timeLeft % 60;
document.getElementById('timer').textContent =
`${minutes.toString().padStart(2, '0')}:${seconds.toString().padStart(2, '0')}`;
}
document.getElementById('start-timer').addEventListener('click', () => {
const startBtn = document.getElementById('start-timer');
if (startBtn.innerHTML.includes('Démarrer')) {
startBtn.innerHTML = '<i class="fas fa-pause mr-2"></i> Pause';
timerInterval = setInterval(() => {
if (timeLeft > 0) {
timeLeft--;
updateTimerDisplay();
} else {
clearInterval(timerInterval);
startBtn.innerHTML = '<i class="fas fa-redo mr-2"></i> Recommencer';
alert('Votre pause est terminée ! Prenez une grande respiration.');
}
}, 1000);
} else if (startBtn.innerHTML.includes('Pause')) {
clearInterval(timerInterval);
startBtn.innerHTML = '<i class="fas fa-play mr-2"></i> Reprendre';
} else {
timeLeft = 5 * 60;
updateTimerDisplay();
startBtn.innerHTML = '<i class="fas fa-pause mr-2"></i> Pause';
timerInterval = setInterval(() => {
if (timeLeft > 0) {
timeLeft--;
updateTimerDisplay();
} else {
clearInterval(timerInterval);
startBtn.innerHTML = '<i class="fas fa-redo mr-2"></i> Recommencer';
alert('Votre pause est terminée ! Prenez une grande respiration.');
}
}, 1000);
}
});
document.getElementById('reset-timer').addEventListener('click', () => {
clearInterval(timerInterval);
timeLeft = 5 * 60;
updateTimerDisplay();
document.getElementById('start-timer').innerHTML = '<i class="fas fa-play mr-2"></i> Démarrer';
});
// Bubble game
let bubbleCount = 0;
let gameInterval;
const colors = ['#4FD1C5', '#4299E1', '#667EEA', '#9F7AEA', '#ED64A6'];
document.getElementById('start-game').addEventListener('click', () => {
document.getElementById('game-start').style.display = 'none';
bubbleCount = 0;
document.getElementById('bubble-count').textContent = bubbleCount;
gameInterval = setInterval(createBubble, 800);
// Stop game after 2 minutes
setTimeout(() => {
clearInterval(gameInterval);
document.getElementById('game-start').style.display = 'flex';
alert(`Félicitations ! Vous avez éclaté ${bubbleCount} bulles.`);
}, 120000);
});
function createBubble() {
const gameArea = document.getElementById('bubble-game');
const bubble = document.createElement('div');
bubble.className = 'bubble';
const size = Math.random() * 50 + 30; // Between 30 and 80px
const color = colors[Math.floor(Math.random() * colors.length)];
bubble.style.width = `${size}px`;
bubble.style.height = `${size}px`;
bubble.style.backgroundColor = color;
bubble.style.left = `${Math.random() * (gameArea.offsetWidth - size)}px`;
bubble.style.top = `${Math.random() * (gameArea.offsetHeight - size)}px`;
bubble.addEventListener('click', () => {
bubble.classList.add('bubble-burst');
bubbleCount++;
document.getElementById('bubble-count').textContent = bubbleCount;
setTimeout(() => {
bubble.remove();
}, 300);
});
gameArea.appendChild(bubble);
// Remove bubble after 5 seconds if not clicked
setTimeout(() => {
if (bubble.parentNode) {
bubble.remove();
}
}, 5000);
}
// Mobile menu toggle
document.getElementById('menu-btn').addEventListener('click', () => {
const menu = document.getElementById('mobile-menu');
if (menu.classList.contains('hidden')) {
menu.classList.remove('hidden');
} else {
menu.classList.add('hidden');
}
});
// Close mobile menu when clicking a link
document.querySelectorAll('#mobile-menu a').forEach(link => {
link.addEventListener('click', () => {
document.getElementById('mobile-menu').classList.add('hidden');
});
});
// Smooth scrolling for navigation links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
const targetId = this.getAttribute('href');
const targetElement = document.querySelector(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
}
});
});
// Initialize
document.addEventListener('DOMContentLoaded', () => {
startBreathingAnimation();
updateTimerDisplay();
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Taallion/zt2" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>