Spaces:
Running
Running
La sezione progetti è composta da una pagina con sfondo bianco con una serie di progetti organizzati su una griglia quadrata 3 x 3. Le immagini sono in bianco e nero ma passandoci con il mouse saranno di nuovo colorate e appariranno su di essa le informazioni del progetto. Cliccando sull'immagine di aprirà la scheda del progetto - Follow Up Deployment
2e31e84 verified Download index.html from therealdeebee/maab-studio: direct link, hf CLI and curl.
- Browser
- Download file 29.3 kB
-
https://huggingface.co/spaces/therealdeebee/maab-studio/resolve/main/index.html
- Command line
-
hf download hf://spaces/therealdeebee/maab-studio/index.html
-
curl -L -o index.html https://huggingface.co/spaces/therealdeebee/maab-studio/resolve/main/index.html
29.3 kB
| <html lang="it"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>MAAB Studio | Architecture & Engineering</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 underline { | |
| from { width: 0; } | |
| to { width: 100%; } | |
| } | |
| .nav-link { | |
| position: relative; | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| position: absolute; | |
| left: 0; | |
| bottom: -2px; | |
| width: 0; | |
| height: 1px; | |
| background-color: white; | |
| transition: width 0.3s ease; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| .navbar { | |
| transition: all 0.3s ease; | |
| background-color: rgba(255, 255, 255, 0); | |
| } | |
| .navbar:hover { | |
| background-color: rgba(255, 255, 255, 0); | |
| } | |
| /* Black text for nav links except on home */ | |
| body:not(.home) .nav-link { | |
| color: black ; | |
| text-shadow: none ; | |
| } | |
| /* Logo hover animation */ | |
| .navbar-brand { | |
| position: relative; | |
| display: inline-block; | |
| padding: 0.25rem 0.5rem; | |
| transition: all 0.3s ease; | |
| } | |
| .navbar-brand::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| right: 0; | |
| bottom: 0; | |
| background-color: rgba(0, 0, 0, 0.1); | |
| border-radius: 9999px; | |
| transform: scale(0); | |
| transition: transform 0.3s ease; | |
| z-index: -1; | |
| } | |
| .navbar-brand:hover::before { | |
| transform: scale(1); | |
| } | |
| .project-slide { | |
| position: absolute; | |
| width: 100%; | |
| height: 100%; | |
| opacity: 0; | |
| transition: opacity 1s ease-in-out; | |
| } | |
| .project-slide.active { | |
| opacity: 1; | |
| } | |
| .project-card { | |
| transition: transform 0.3s ease; | |
| } | |
| .project-card:hover { | |
| transform: scale(1.02); | |
| } | |
| .fullscreen-hero { | |
| height: 100vh; | |
| } | |
| @media (max-width: 768px) { | |
| .navbar-menu { | |
| display: none; | |
| } | |
| .navbar-menu.active { | |
| display: flex; | |
| flex-direction: column; | |
| position: absolute; | |
| top: 100%; | |
| left: 0; | |
| right: 0; | |
| background-color: white; | |
| padding: 1rem; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="font-sans text-gray-800 overflow-hidden"> | |
| <!-- Navbar --> | |
| <nav class="navbar fixed w-full z-50 px-6 py-4 flex justify-between items-center"> | |
| <div class="text-xl text-white drop-shadow-md navbar-brand"> | |
| <span class="font-bold">MAAB</span> | |
| <span class="font-light">Studio</span> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#projects" class="nav-link text-white drop-shadow-md hover:text-gray-300 transition">Progetti</a> | |
| <a href="#about" class="nav-link text-white drop-shadow-md hover:text-gray-300 transition">About</a> | |
| <a href="#contact" class="nav-link text-white drop-shadow-md hover:text-gray-300 transition">Contatti</a> | |
| <a href="#careers" class="nav-link text-white drop-shadow-md hover:text-gray-300 transition">Lavora con noi</a> | |
| </div> | |
| <button class="md:hidden text-xl text-white" id="menu-toggle"> | |
| <i class="fas fa-bars"></i> | |
| </button> | |
| <div class="navbar-menu hidden" id="mobile-menu"> | |
| <a href="#projects" class="nav-link py-2 text-white hover:text-gray-300 transition">Projects</a> | |
| <a href="#about" class="nav-link py-2 text-white hover:text-gray-300 transition">About</a> | |
| <a href="#news" class="nav-link py-2 text-white hover:text-gray-300 transition">News</a> | |
| <a href="#contact" class="nav-link py-2 text-white hover:text-gray-300 transition">Contatti</a> | |
| <a href="#careers" class="nav-link py-2 text-white hover:text-gray-300 transition">Lavora con noi</a> | |
| </div> | |
| </nav> | |
| <!-- Hero Slider --> | |
| <section id="hero" class="relative h-screen w-full overflow-hidden"> | |
| <div class="project-slide active" style="background-image: url('https://images.unsplash.com/photo-1487958449943-2427e4d5e2d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| <div class="absolute bottom-8 left-8 text-white"> | |
| <h2 class="text-2xl font-bold">Torre MAAB</h2> | |
| <p class="text-lg">Milano, Italia</p> | |
| </div> | |
| </div> | |
| <div class="project-slide" style="background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| <div class="absolute bottom-8 left-8 text-white"> | |
| <h2 class="text-2xl font-bold">Residenze sul Lago</h2> | |
| <p class="text-lg">Como, Italia</p> | |
| </div> | |
| </div> | |
| <div class="project-slide" style="background-image: url('https://images.unsplash.com/photo-1487958449943-2427e4d5e2d9?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| <div class="absolute bottom-8 left-8 text-white"> | |
| <h2 class="text-2xl font-bold">Centro Culturale</h2> | |
| <p class="text-lg">Roma, Italia</p> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Projects Section --> | |
| <section id="projects" class="py-20 px-6 max-w-6xl mx-auto hidden bg-white"> | |
| <h2 class="text-3xl font-bold mb-12 text-black">Selected Projects</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Project 1 --> | |
| <a href="#project1" class="project-card relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" | |
| alt="Project 1" | |
| class="w-full h-full object-cover grayscale transition duration-500 group-hover:grayscale-0"> | |
| <div class="absolute inset-0 bg-black/70 opacity-0 group-hover:opacity-100 transition duration-500 flex flex-col justify-center items-center text-white p-4"> | |
| <h3 class="text-xl font-semibold">Villa Moderna</h3> | |
| <p class="text-sm">Toscana, Italia</p> | |
| <p class="text-sm mt-2 text-center">Residenza privata con vista panoramica</p> | |
| </div> | |
| </a> | |
| <!-- Project 2 --> | |
| <a href="#project2" class="project-card relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1600566752227-8f3b0a4a1951?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" | |
| alt="Project 2" | |
| class="w-full h-full object-cover grayscale transition duration-500 group-hover:grayscale-0"> | |
| <div class="absolute inset-0 bg-black/70 opacity-0 group-hover:opacity-100 transition duration-500 flex flex-col justify-center items-center text-white p-4"> | |
| <h3 class="text-xl font-semibold">Edificio Uffici</h3> | |
| <p class="text-sm">Torino, Italia</p> | |
| <p class="text-sm mt-2 text-center">Sede aziendale con certificazione LEED</p> | |
| </div> | |
| </a> | |
| <!-- Project 3 --> | |
| <a href="#project3" class="project-card relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1600607687920-4e2a09cf159d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80" | |
| alt="Project 3" | |
| class="w-full h-full object-cover grayscale transition duration-500 group-hover:grayscale-0"> | |
| <div class="absolute inset-0 bg-black/70 opacity-0 group-hover:opacity-100 transition duration-500 flex flex-col justify-center items-center text-white p-4"> | |
| <h3 class="text-xl font-semibold">Ristrutturazione Storica</h3> | |
| <p class="text-sm">Firenze, Italia</p> | |
| <p class="text-sm mt-2 text-center">Recupero di palazzo del '500</p> | |
| </div> | |
| </a> | |
| <!-- Add more projects following the same pattern --> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="bg-white text-black hidden"> | |
| <!-- Fullscreen Team Image --> | |
| <div class="fullscreen-hero" style="background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| </div> | |
| <div class="max-w-6xl mx-auto px-6 py-20"> | |
| <h2 class="text-3xl font-bold mb-12">About MAAB Studio</h2> | |
| <div class="mb-12"> | |
| <p class="mb-4">Founded in 2005, MAAB Studio is an internationally recognized architecture and engineering firm with offices in Milan, Rome, and New York.</p> | |
| <p class="mb-4">Our work encompasses a wide range of typologies including cultural, residential, commercial, and urban design projects.</p> | |
| <p>We approach each project with a commitment to design excellence, sustainability, and innovation, creating spaces that inspire and endure.</p> | |
| </div> | |
| <h3 class="text-2xl font-semibold mb-8">Our Team</h3> | |
| <div class="grid grid-cols-2 md:grid-cols-3 lg:grid-cols-4 gap-6"> | |
| <!-- Team Member 1 --> | |
| <div class="relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1560250097-0b93528c311a?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" | |
| alt="Team Member" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-300 flex flex-col justify-end p-4"> | |
| <h4 class="font-bold text-white">Marco Rossi</h4> | |
| <p class="text-white/80 text-sm">Founding Partner</p> | |
| </div> | |
| </div> | |
| <!-- Team Member 2 --> | |
| <div class="relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1573496359142-b8d87734a5a2?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=688&q=80" | |
| alt="Team Member" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-300 flex flex-col justify-end p-4"> | |
| <h4 class="font-bold text-white">Anna Bianchi</h4> | |
| <p class="text-white/80 text-sm">Lead Architect</p> | |
| </div> | |
| </div> | |
| <!-- Team Member 3 --> | |
| <div class="relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" | |
| alt="Team Member" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-300 flex flex-col justify-end p-4"> | |
| <h4 class="font-bold text-white">Luca Verdi</h4> | |
| <p class="text-white/80 text-sm">Structural Engineer</p> | |
| </div> | |
| </div> | |
| <!-- Team Member 4 --> | |
| <div class="relative aspect-square overflow-hidden group"> | |
| <img src="https://images.unsplash.com/photo-1494790108377-be9c29b29330?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=687&q=80" | |
| alt="Team Member" | |
| class="w-full h-full object-cover"> | |
| <div class="absolute inset-0 bg-gradient-to-t from-black/70 to-transparent opacity-0 group-hover:opacity-100 transition duration-300 flex flex-col justify-end p-4"> | |
| <h4 class="font-bold text-white">Sofia Neri</h4> | |
| <p class="text-white/80 text-sm">Interior Designer</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="bg-white text-black hidden"> | |
| <!-- Fullscreen Worker Image --> | |
| <div class="fullscreen-hero" style="background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| </div> | |
| <div class="max-w-6xl mx-auto px-6 py-20"> | |
| <h2 class="text-3xl font-bold mb-12">Contatti</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-12"> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-4">MAAB Studio Milano</h4> | |
| <p class="mb-2">C.da San Lorenzo, 1/A</p> | |
| <p class="mb-2">84096 Montecorvino Rovella (SA), Italia</p> | |
| <p class="mb-2">+39 02 123 4567</p> | |
| <p class="mb-4">info@maabstudio.com</p> | |
| </div> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-4">Orari di Apertura</h4> | |
| <p class="mb-2">Lunedì - Venerdì: 9:00 - 18:00</p> | |
| <p>Sabato e Domenica: Chiuso</p> | |
| </div> | |
| </div> | |
| <div class="mt-16"> | |
| <h3 class="text-2xl font-semibold mb-6">Dove Siamo</h3> | |
| <div class="aspect-w-16 aspect-h-9"> | |
| <iframe src="https://www.google.com/maps/embed?pb=!1m14!1m12!1m3!1d719.4739110394938!2d14.986548097280176!3d40.661684147033334!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!5e1!3m2!1sen!2sit!4v1752759356962!5m2!1sen!2sit" | |
| width="100%" | |
| height="450" | |
| style="border:0;" | |
| allowfullscreen="" | |
| loading="lazy"> | |
| </iframe> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Careers Section --> | |
| <section id="careers" class="bg-white text-black hidden"> | |
| <!-- Fullscreen Worker Image --> | |
| <div class="fullscreen-hero" style="background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2070&q=80'); background-size: cover; background-position: center;"> | |
| </div> | |
| <div class="max-w-6xl mx-auto px-6 py-20"> | |
| <h2 class="text-3xl font-bold mb-12">Lavora con noi</h2> | |
| <div id="contact-info" class="max-w-6xl mx-auto px-6 py-20 hidden"> | |
| <h2 class="text-3xl font-bold mb-8">Contatti</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-4">Milano</h4> | |
| <p class="mb-2">Via della Moscova 28</p> | |
| <p class="mb-2">20121 Milano, Italia</p> | |
| <p class="mb-2">+39 02 123 4567</p> | |
| <p>milan@maabstudio.com</p> | |
| </div> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-4">Roma</h4> | |
| <p class="mb-2">Via del Corso 230</p> | |
| <p class="mb-2">00186 Roma, Italia</p> | |
| <p class="mb-2">+39 06 123 4567</p> | |
| <p>rome@maabstudio.com</p> | |
| </div> | |
| <div> | |
| <h4 class="text-xl font-semibold mb-4">New York</h4> | |
| <p class="mb-2">Broadway 500</p> | |
| <p class="mb-2">10012 New York, USA</p> | |
| <p class="mb-2">+1 212 123 4567</p> | |
| <p>ny@maabstudio.com</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mb-16"> | |
| <h3 class="text-2xl font-semibold mb-6">Current Openings</h3> | |
| <div class="space-y-8"> | |
| <div class="border-b border-gray-700 pb-8"> | |
| <h4 class="text-xl font-medium mb-2">Project Architect</h4> | |
| <p class="text-gray-400 mb-4">Milan Office | Full-time</p> | |
| <p class="mb-4">We are seeking an experienced Project Architect to lead design teams on medium to large-scale projects.</p> | |
| <h5 class="font-semibold mb-2">Requirements:</h5> | |
| <ul class="list-disc pl-5 space-y-2 mb-4"> | |
| <li>Professional degree in Architecture</li> | |
| <li>8+ years of professional experience</li> | |
| <li>Proficiency in Revit, AutoCAD, and Rhino</li> | |
| <li>Experience leading project teams</li> | |
| <li>Strong design and technical skills</li> | |
| </ul> | |
| <a href="#" class="inline-block border border-white px-4 py-2 hover:bg-white hover:text-black transition">Apply Now</a> | |
| </div> | |
| <div class="border-b border-gray-700 pb-8"> | |
| <h4 class="text-xl font-medium mb-2">Structural Engineer</h4> | |
| <p class="text-gray-400 mb-4">Rome Office | Full-time</p> | |
| <p class="mb-4">Join our engineering team to work on innovative structural solutions for architectural projects.</p> | |
| <h5 class="font-semibold mb-2">Requirements:</h5> | |
| <ul class="list-disc pl-5 space-y-2 mb-4"> | |
| <li>Degree in Civil or Structural Engineering</li> | |
| <li>5+ years of relevant experience</li> | |
| <li>Proficiency in structural analysis software</li> | |
| <li>Knowledge of Italian building codes</li> | |
| <li>Collaborative approach to design</li> | |
| </ul> | |
| <a href="#" class="inline-block border border-white px-4 py-2 hover:bg-white hover:text-black transition">Apply Now</a> | |
| </div> | |
| <div> | |
| <h4 class="text-xl font-medium mb-2">Architectural Intern</h4> | |
| <p class="text-gray-400 mb-4">All Locations | 6-month term</p> | |
| <p class="mb-4">We offer internship opportunities for architecture students to gain professional experience.</p> | |
| <h5 class="font-semibold mb-2">Requirements:</h5> | |
| <ul class="list-disc pl-5 space-y-2 mb-4"> | |
| <li>Currently enrolled in architecture program</li> | |
| <li>Strong portfolio of academic work</li> | |
| <li>Basic knowledge of design software</li> | |
| <li>Passion for design excellence</li> | |
| </ul> | |
| <a href="#" class="inline-block border border-white px-4 py-2 hover:bg-white hover:text-black transition">Apply Now</a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-16"> | |
| <h3 class="text-2xl font-semibold mb-6">Come Lavoriamo</h3> | |
| <p class="mb-4">MAAB Studio adotta un approccio collaborativo e multidisciplinare per ogni progetto. Il nostro team combina creatività architettonica con solide competenze ingegneristiche per realizzare progetti innovativi e sostenibili.</p> | |
| <p>Specializzazioni:</p> | |
| <ul class="list-disc pl-5 mt-2 space-y-2"> | |
| <li>Architettura residenziale e commerciale</li> | |
| <li>Restauro e conservazione</li> | |
| <li>Progettazione sostenibile e bioclimatica</li> | |
| <li>Urban design e pianificazione</li> | |
| <li>Ingegneria strutturale</li> | |
| </ul> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Project Detail Modal --> | |
| <div id="projectModal" class="fixed inset-0 z-50 hidden bg-black/90 flex items-center justify-center p-4"> | |
| <div class="relative bg-white max-w-4xl w-full max-h-[90vh] overflow-y-auto"> | |
| <button id="closeModal" class="absolute top-4 right-4 text-2xl text-black">×</button> | |
| <div class="p-8"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 gap-8"> | |
| <div> | |
| <img id="modalImage" src="" alt="" class="w-full h-auto"> | |
| </div> | |
| <div> | |
| <h2 id="modalTitle" class="text-3xl font-bold mb-4"></h2> | |
| <p id="modalLocation" class="text-lg mb-2"></p> | |
| <p id="modalDescription" class="mb-6"></p> | |
| <div id="modalDetails" class="space-y-4"></div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Footer --> | |
| <footer class="bg-black text-white py-12 px-6"> | |
| <div class="max-w-6xl mx-auto"> | |
| <div class="flex flex-col md:flex-row justify-between items-center"> | |
| <div class="mb-6 md:mb-0"> | |
| <div class="text-2xl font-bold mb-2">MAAB Studio</div> | |
| <p>Architecture & Engineering</p> | |
| </div> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="hover:text-gray-400 transition"><i class="fab fa-instagram text-xl"></i></a> | |
| <a href="#" class="hover:text-gray-400 transition"><i class="fab fa-linkedin text-xl"></i></a> | |
| <a href="#" class="hover:text-gray-400 transition"><i class="fab fa-twitter text-xl"></i></a> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-500"> | |
| <p>© 2025 MAAB Studio soc. coop. Tutti i diritti riservati.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Mobile menu toggle | |
| const menuToggle = document.getElementById('menu-toggle'); | |
| const mobileMenu = document.getElementById('mobile-menu'); | |
| menuToggle.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('active'); | |
| }); | |
| // Project slider | |
| let currentSlide = 0; | |
| const slides = document.querySelectorAll('.project-slide'); | |
| function showSlide(n) { | |
| slides.forEach(slide => slide.classList.remove('active')); | |
| currentSlide = (n + slides.length) % slides.length; | |
| slides[currentSlide].classList.add('active'); | |
| } | |
| function nextSlide() { | |
| showSlide(currentSlide + 1); | |
| } | |
| // Change slide every 5 seconds | |
| setInterval(nextSlide, 5000); | |
| // Show section when menu item clicked | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| // Hide all sections | |
| document.querySelectorAll('section').forEach(section => { | |
| section.classList.add('hidden'); | |
| }); | |
| // Show selected section | |
| const targetId = this.getAttribute('href'); | |
| const targetElement = document.querySelector(targetId); | |
| if (targetElement) { | |
| targetElement.classList.remove('hidden'); | |
| document.body.classList.remove('overflow-hidden'); | |
| } | |
| // Close mobile menu if open | |
| if (mobileMenu.classList.contains('active')) { | |
| mobileMenu.classList.remove('active'); | |
| } | |
| }); | |
| }); | |
| // Project modal functionality | |
| const projectLinks = document.querySelectorAll('.project-card'); | |
| const projectModal = document.getElementById('projectModal'); | |
| const closeModal = document.getElementById('closeModal'); | |
| const modalImage = document.getElementById('modalImage'); | |
| const modalTitle = document.getElementById('modalTitle'); | |
| const modalLocation = document.getElementById('modalLocation'); | |
| const modalDescription = document.getElementById('modalDescription'); | |
| const modalDetails = document.getElementById('modalDetails'); | |
| projectLinks.forEach(link => { | |
| link.addEventListener('click', function(e) { | |
| e.preventDefault(); | |
| // Get project data from the clicked card | |
| const img = this.querySelector('img'); | |
| const title = this.querySelector('h3').textContent; | |
| const location = this.querySelector('p:nth-of-type(1)').textContent; | |
| const description = this.querySelector('p:nth-of-type(2)').textContent; | |
| // Populate modal | |
| modalImage.src = img.src; | |
| modalImage.alt = img.alt; | |
| modalTitle.textContent = title; | |
| modalLocation.textContent = location; | |
| modalDescription.textContent = description; | |
| // Show modal | |
| projectModal.classList.remove('hidden'); | |
| document.body.style.overflow = 'hidden'; | |
| }); | |
| }); | |
| closeModal.addEventListener('click', function() { | |
| projectModal.classList.add('hidden'); | |
| document.body.style.overflow = ''; | |
| }); | |
| // Close modal when clicking outside content | |
| projectModal.addEventListener('click', function(e) { | |
| if (e.target === projectModal) { | |
| projectModal.classList.add('hidden'); | |
| document.body.style.overflow = ''; | |
| } | |
| }); | |
| // Home link behavior | |
| document.querySelector('nav div.navbar-brand').addEventListener('click', function() { | |
| // Add home class to body | |
| document.body.classList.add('home'); | |
| // Hide all sections except hero | |
| document.querySelectorAll('section').forEach(section => { | |
| if (section.id !== 'hero') { | |
| section.classList.add('hidden'); | |
| } else { | |
| section.classList.remove('hidden'); | |
| } | |
| }); | |
| document.body.classList.add('overflow-hidden'); | |
| }); | |
| </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=therealdeebee/maab-studio" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |