Cavatappi's picture
non posso interagire, cliccare o studiare, risolvi, tra l'altro, deve essere tutto in italiano!
51dd040 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CaliAnatomy 3D Explorer | Home (Italiano)</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/examples/js/controls/OrbitControls.min.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<section class="mb-16">
<div class="text-center mb-12">
<h1 class="text-4xl md:text-5xl font-bold text-red-600 mb-4">CaliAnatomy 3D Explorer</h1>
<p class="text-xl text-gray-700 max-w-3xl mx-auto">Modelli 3D interattivi per studiare l'anatomia e la biomeccanica del calisthenics</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
<div class="h-48 bg-red-100 flex items-center justify-center">
<i data-feather="activity" class="w-16 h-16 text-red-600"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Sistema Muscolare</h3>
<p class="text-gray-600 mb-4">Esplora tutti i gruppi muscolari coinvolti nei movimenti di calisthenics</p>
<a href="muscles.html" class="inline-flex items-center text-red-600 font-medium">
Esplora <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
<div class="h-48 bg-red-100 flex items-center justify-center">
<i data-feather="bone" class="w-16 h-16 text-red-600"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Sistema Scheletrico</h3>
<p class="text-gray-600 mb-4">Comprendi le strutture ossee e la meccanica articolare</p>
<a href="skeleton.html" class="inline-flex items-center text-red-600 font-medium">
Esplora <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg overflow-hidden transition-transform hover:scale-105">
<div class="h-48 bg-red-100 flex items-center justify-center">
<i data-feather="target" class="w-16 h-16 text-red-600"></i>
</div>
<div class="p-6">
<h3 class="text-xl font-bold text-gray-800 mb-2">Libreria di Esercizi</h3>
<p class="text-gray-600 mb-4">Scopri quali muscoli lavorano in ogni esercizio di calisthenics</p>
<a href="exercises.html" class="inline-flex items-center text-red-600 font-medium">
Esplora <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
</div>
</div>
</section>
<section class="py-12 bg-white rounded-xl shadow-lg px-6">
<div class="max-w-4xl mx-auto text-center">
<h2 class="text-3xl font-bold text-gray-800 mb-6">Domina la Biomeccanica del Calisthenics</h2>
<p class="text-lg text-gray-600 mb-8">
I nostri modelli 3D interattivi ti aiutano a visualizzare l'attivazione muscolare, gli angoli articolari
e i pattern di movimento in tutte le abilità fondamentali del calisthenics, dai pull-up alle planche.
</p>
<div id="home-3d-container" class="h-96 w-full bg-gray-100 rounded-lg mb-8">
<!-- 3D model will be loaded here -->
</div>
<a href="biomechanics.html" class="inline-block bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-lg transition-colors">
Esplora la Biomeccanica
</a>
</div>
</section>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
// Simple 3D model for homepage
document.addEventListener('DOMContentLoaded', function() {
const container = document.getElementById('home-3d-container');
const scene = new THREE.Scene();
const camera = new THREE.PerspectiveCamera(75, container.clientWidth / container.clientHeight, 0.1, 1000);
const renderer = new THREE.WebGLRenderer({ antialias: true, alpha: true });
renderer.setSize(container.clientWidth, container.clientHeight);
container.appendChild(renderer.domElement);
// Add lights
const ambientLight = new THREE.AmbientLight(0xffffff, 0.5);
scene.add(ambientLight);
const directionalLight = new THREE.DirectionalLight(0xffffff, 0.8);
directionalLight.position.set(1, 1, 1);
scene.add(directionalLight);
// Create a simple human figure
const bodyGeometry = new THREE.SphereGeometry(1, 32, 32);
const bodyMaterial = new THREE.MeshPhongMaterial({ color: 0xff6b6b });
const body = new THREE.Mesh(bodyGeometry, bodyMaterial);
scene.add(body);
// Position camera
camera.position.z = 5;
// Animation loop
function animate() {
requestAnimationFrame(animate);
body.rotation.y += 0.01;
renderer.render(scene, camera);
}
// Handle window resize
window.addEventListener('resize', function() {
camera.aspect = container.clientWidth / container.clientHeight;
camera.updateProjectionMatrix();
renderer.setSize(container.clientWidth, container.clientHeight);
});
animate();
});
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>