building / index.html
warimark73's picture
Créer moi une application mobile pour le site suivant: https://trubuild.io - Initial Deployment
a7ba792 verified
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Trubuild - Mobile App</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>
/* Custom scrollbar */
::-webkit-scrollbar {
width: 6px;
}
::-webkit-scrollbar-track {
background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
background: #888;
border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
background: #555;
}
/* Animation for buttons */
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.05); }
100% { transform: scale(1); }
}
.pulse:hover {
animation: pulse 1.5s infinite;
}
/* Custom transition */
.transition-slow {
transition: all 0.5s ease;
}
</style>
</head>
<body class="bg-gray-100 font-sans">
<!-- Mobile App Container -->
<div class="max-w-md mx-auto bg-white shadow-lg rounded-lg overflow-hidden min-h-screen flex flex-col">
<!-- Header -->
<header class="bg-blue-600 text-white p-4 shadow-md">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-2">
<i class="fas fa-home text-2xl"></i>
<h1 class="text-xl font-bold">Trubuild</h1>
</div>
<div class="flex space-x-3">
<button class="text-white">
<i class="fas fa-search"></i>
</button>
<button class="text-white">
<i class="fas fa-bell"></i>
</button>
<button class="text-white">
<i class="fas fa-user-circle"></i>
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="flex-1 overflow-y-auto p-4">
<!-- Hero Section -->
<section class="bg-gradient-to-r from-blue-500 to-blue-700 text-white rounded-xl p-6 mb-6 shadow-lg">
<h2 class="text-2xl font-bold mb-2">Construisons ensemble</h2>
<p class="mb-4">Votre partenaire pour des projets de construction réussis</p>
<button class="bg-white text-blue-600 font-bold py-2 px-4 rounded-full pulse transition-slow hover:bg-blue-100">
Démarrer un projet
</button>
</section>
<!-- Services Section -->
<section class="mb-6">
<h3 class="text-lg font-semibold mb-3 text-gray-800">Nos Services</h3>
<div class="grid grid-cols-2 gap-3">
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
<div class="bg-blue-100 p-3 rounded-full mb-2">
<i class="fas fa-drafting-compass text-blue-600 text-xl"></i>
</div>
<span class="text-sm font-medium text-center">Conception</span>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
<div class="bg-green-100 p-3 rounded-full mb-2">
<i class="fas fa-hard-hat text-green-600 text-xl"></i>
</div>
<span class="text-sm font-medium text-center">Construction</span>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
<div class="bg-purple-100 p-3 rounded-full mb-2">
<i class="fas fa-tools text-purple-600 text-xl"></i>
</div>
<span class="text-sm font-medium text-center">Rénovation</span>
</div>
<div class="bg-white p-4 rounded-lg shadow-sm border border-gray-200 flex flex-col items-center">
<div class="bg-orange-100 p-3 rounded-full mb-2">
<i class="fas fa-home text-orange-600 text-xl"></i>
</div>
<span class="text-sm font-medium text-center">Aménagement</span>
</div>
</div>
</section>
<!-- Projects Section -->
<section class="mb-6">
<div class="flex justify-between items-center mb-3">
<h3 class="text-lg font-semibold text-gray-800">Nos Réalisations</h3>
<a href="#" class="text-blue-600 text-sm">Voir tout</a>
</div>
<div class="space-y-3">
<div class="relative rounded-xl overflow-hidden shadow-md h-40">
<img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80"
alt="Projet moderne" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4">
<h4 class="text-white font-medium">Maison contemporaine</h4>
<p class="text-white/80 text-sm">Paris, France</p>
</div>
</div>
<div class="relative rounded-xl overflow-hidden shadow-md h-40">
<img src="https://images.unsplash.com/photo-1605276374104-dee2a0ed3cd6?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=600&q=80"
alt="Projet rénovation" class="w-full h-full object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black/70 to-transparent p-4">
<h4 class="text-white font-medium">Rénovation complète</h4>
<p class="text-white/80 text-sm">Lyon, France</p>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="mb-6">
<h3 class="text-lg font-semibold mb-3 text-gray-800">Témoignages</h3>
<div class="bg-white p-4 rounded-xl shadow-sm">
<div class="flex items-center mb-3">
<div class="w-10 h-10 rounded-full bg-gray-300 mr-3 overflow-hidden">
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Client" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-medium">Sophie Martin</h4>
<div class="flex text-yellow-400 text-sm">
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
<i class="fas fa-star"></i>
</div>
</div>
</div>
<p class="text-gray-600 text-sm">"Trubuild a transformé notre vieille maison en un espace moderne et fonctionnel. Leur équipe était professionnelle et respectueuse des délais."</p>
</div>
</section>
<!-- Contact CTA -->
<section class="bg-gray-50 p-4 rounded-xl border border-gray-200">
<h3 class="text-lg font-semibold mb-2 text-gray-800">Prêt à commencer votre projet?</h3>
<p class="text-gray-600 text-sm mb-4">Contactez-nous pour un devis gratuit et personnalisé.</p>
<button class="bg-blue-600 text-white font-bold py-2 px-4 rounded-full w-full pulse transition-slow hover:bg-blue-700">
<i class="fas fa-phone-alt mr-2"></i> Nous contacter
</button>
</section>
</main>
<!-- Bottom Navigation -->
<nav class="bg-white border-t border-gray-200 p-2">
<div class="flex justify-around">
<a href="#" class="text-blue-600 flex flex-col items-center p-2">
<i class="fas fa-home text-lg"></i>
<span class="text-xs mt-1">Accueil</span>
</a>
<a href="#" class="text-gray-500 flex flex-col items-center p-2">
<i class="fas fa-project-diagram text-lg"></i>
<span class="text-xs mt-1">Projets</span>
</a>
<a href="#" class="text-gray-500 flex flex-col items-center p-2">
<i class="fas fa-envelope text-lg"></i>
<span class="text-xs mt-1">Messages</span>
</a>
<a href="#" class="text-gray-500 flex flex-col items-center p-2">
<i class="fas fa-cog text-lg"></i>
<span class="text-xs mt-1">Paramètres</span>
</a>
</div>
</nav>
</div>
<script>
// Simple interactive elements
document.addEventListener('DOMContentLoaded', function() {
// Add click effect to buttons
const buttons = document.querySelectorAll('button');
buttons.forEach(button => {
button.addEventListener('mousedown', function() {
this.classList.add('scale-95');
});
button.addEventListener('mouseup', function() {
this.classList.remove('scale-95');
});
button.addEventListener('mouseleave', function() {
this.classList.remove('scale-95');
});
});
// Notification badge for demo
const bellBtn = document.querySelector('.fa-bell').parentNode;
const badge = document.createElement('span');
badge.className = 'absolute -top-1 -right-1 bg-red-500 text-white text-xs rounded-full h-4 w-4 flex items-center justify-center';
badge.textContent = '3';
bellBtn.classList.add('relative');
bellBtn.appendChild(badge);
// Simulate loading projects
setTimeout(() => {
const projectsSection = document.querySelector('section:nth-of-type(3)');
const loading = document.createElement('div');
loading.className = 'text-center py-4 text-gray-500';
loading.innerHTML = '<i class="fas fa-spinner fa-spin mr-2"></i> Chargement...';
projectsSection.appendChild(loading);
setTimeout(() => {
loading.remove();
}, 1500);
}, 1000);
});
</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=warimark73/building" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>