Spaces:
Running
Running
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Wireframe to Website Animation</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 fadeIn { | |
from { opacity: 0; } | |
to { opacity: 1; } | |
} | |
@keyframes slideUp { | |
from { transform: translateY(20px); opacity: 0; } | |
to { transform: translateY(0); opacity: 1; } | |
} | |
.fade-in { | |
animation: fadeIn 0.5s ease-in-out forwards; | |
} | |
.slide-up { | |
animation: slideUp 0.5s ease-out forwards; | |
} | |
.wireframe-box { | |
background-color: #f0f0f0; | |
border: 2px dashed #999; | |
color: #666; | |
display: flex; | |
align-items: center; | |
justify-content: center; | |
font-weight: bold; | |
} | |
.progress-bar { | |
height: 6px; | |
background-color: #e5e7eb; | |
border-radius: 3px; | |
overflow: hidden; | |
} | |
.progress-fill { | |
height: 100%; | |
background-color: #3b82f6; | |
width: 0%; | |
transition: width 0.5s ease; | |
} | |
.transform-stage { | |
display: none; | |
opacity: 0; | |
} | |
.transform-stage.active { | |
display: block; | |
opacity: 1; | |
} | |
.website-box { | |
transition: all 0.3s ease; | |
} | |
</style> | |
</head> | |
<body class="bg-gray-50 min-h-screen"> | |
<div class="container mx-auto px-4 py-12"> | |
<h1 class="text-4xl font-bold text-center text-gray-800 mb-2">Website Transformation</h1> | |
<p class="text-center text-gray-600 mb-8">From wireframe to final design</p> | |
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden mb-8"> | |
<div class="p-4 bg-gray-800 flex justify-between items-center"> | |
<h2 class="text-white font-semibold">Design Process</h2> | |
<div class="flex space-x-2"> | |
<button id="prev-btn" class="px-3 py-1 bg-gray-600 text-white rounded disabled:opacity-50" disabled> | |
<i class="fas fa-chevron-left"></i> | |
</button> | |
<button id="next-btn" class="px-3 py-1 bg-blue-500 text-white rounded"> | |
<i class="fas fa-chevron-right"></i> | |
</button> | |
</div> | |
</div> | |
<div class="p-4"> | |
<div class="progress-bar mb-6"> | |
<div id="progress-fill" class="progress-fill"></div> | |
</div> | |
<div class="flex justify-center mb-6"> | |
<div class="inline-flex rounded-md shadow-sm" role="group"> | |
<button type="button" data-stage="1" class="stage-btn px-4 py-2 text-sm font-medium rounded-l-lg bg-blue-100 text-blue-700 border border-blue-300"> | |
<i class="fas fa-pencil-ruler mr-2"></i>Wireframe | |
</button> | |
<button type="button" data-stage="2" class="stage-btn px-4 py-2 text-sm font-medium bg-gray-100 text-gray-700 border-t border-b border-gray-300"> | |
<i class="fas fa-paint-brush mr-2"></i>Styling | |
</button> | |
<button type="button" data-stage="3" class="stage-btn px-4 py-2 text-sm font-medium bg-gray-100 text-gray-700 border border-gray-300"> | |
<i class="fas fa-images mr-2"></i>Content | |
</button> | |
<button type="button" data-stage="4" class="stage-btn px-4 py-2 text-sm font-medium bg-gray-100 text-gray-700 border-t border-b border-gray-300"> | |
<i class="fas fa-magic mr-2"></i>Effects | |
</button> | |
<button type="button" data-stage="5" class="stage-btn px-4 py-2 text-sm font-medium rounded-r-lg bg-gray-100 text-gray-700 border border-gray-300"> | |
<i class="fas fa-check-circle mr-2"></i>Final | |
</button> | |
</div> | |
</div> | |
<!-- Stage 1: Wireframe --> | |
<div id="stage-1" class="transform-stage active"> | |
<div class="p-6 border-2 border-dashed border-gray-300 rounded-lg bg-gray-50"> | |
<h3 class="text-xl font-semibold mb-4 text-gray-700">Basic Wireframe Structure</h3> | |
<p class="text-gray-600 mb-6">This is the initial wireframe layout with placeholder content showing the basic structure.</p> | |
<div class="grid gap-4"> | |
<!-- Header --> | |
<div class="wireframe-box p-4 rounded">Header</div> | |
<!-- Hero Section --> | |
<div class="wireframe-box p-8 rounded">Hero Section</div> | |
<!-- Features Grid --> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
<div class="wireframe-box p-6 rounded">Feature 1</div> | |
<div class="wireframe-box p-6 rounded">Feature 2</div> | |
<div class="wireframe-box p-6 rounded">Feature 3</div> | |
</div> | |
<!-- Content Section --> | |
<div class="wireframe-box p-12 rounded">Content Section</div> | |
<!-- Footer --> | |
<div class="wireframe-box p-4 rounded">Footer</div> | |
</div> | |
</div> | |
</div> | |
<!-- Stage 2: Styling --> | |
<div id="stage-2" class="transform-stage"> | |
<div class="p-6 border-2 border-gray-200 rounded-lg bg-white"> | |
<h3 class="text-xl font-semibold mb-4 text-gray-800">Adding Basic Styling</h3> | |
<p class="text-gray-600 mb-6">Colors, typography, and basic styling are applied to the wireframe structure.</p> | |
<div class="grid gap-4"> | |
<!-- Header --> | |
<div class="bg-white shadow-sm p-4 rounded flex justify-between items-center"> | |
<div class="text-xl font-bold text-blue-600">Logo</div> | |
<div class="flex space-x-4"> | |
<div class="px-3 py-1 text-gray-600">Home</div> | |
<div class="px-3 py-1 text-gray-600">About</div> | |
<div class="px-3 py-1 text-gray-600">Contact</div> | |
</div> | |
</div> | |
<!-- Hero Section --> | |
<div class="bg-blue-50 p-8 rounded text-center"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-2">Welcome to Our Website</h2> | |
<p class="text-gray-600 mb-6">Discover our amazing products and services</p> | |
<button class="bg-blue-500 text-white px-6 py-2 rounded">Learn More</button> | |
</div> | |
<!-- Features Grid --> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-4"> | |
<div class="bg-white p-6 rounded shadow-sm border border-gray-100"> | |
<div class="text-blue-500 mb-2"><i class="fas fa-star text-2xl"></i></div> | |
<h3 class="font-semibold text-gray-800 mb-2">Feature One</h3> | |
<p class="text-gray-600">Lorem ipsum dolor sit amet consectetur.</p> | |
</div> | |
<div class="bg-white p-6 rounded shadow-sm border border-gray-100"> | |
<div class="text-blue-500 mb-2"><i class="fas fa-bolt text-2xl"></i></div> | |
<h3 class="font-semibold text-gray-800 mb-2">Feature Two</h3> | |
<p class="text-gray-600">Lorem ipsum dolor sit amet consectetur.</p> | |
</div> | |
<div class="bg-white p-6 rounded shadow-sm border border-gray-100"> | |
<div class="text-blue-500 mb-2"><i class="fas fa-cog text-2xl"></i></div> | |
<h3 class="font-semibold text-gray-800 mb-2">Feature Three</h3> | |
<p class="text-gray-600">Lorem ipsum dolor sit amet consectetur.</p> | |
</div> | |
</div> | |
<!-- Footer --> | |
<div class="bg-gray-800 text-white p-4 rounded"> | |
<div class="text-center">© 2023 Company Name. All rights reserved.</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Stage 3: Content --> | |
<div id="stage-3" class="transform-stage"> | |
<div class="p-6 border-2 border-gray-200 rounded-lg bg-white"> | |
<h3 class="text-xl font-semibold mb-4 text-gray-800">Adding Real Content</h3> | |
<p class="text-gray-600 mb-6">Actual content, images, and detailed information are added to the styled layout.</p> | |
<div class="grid gap-6"> | |
<!-- Header --> | |
<div class="bg-white shadow-sm p-4 rounded-lg flex justify-between items-center"> | |
<div class="text-2xl font-bold text-blue-600 flex items-center"> | |
<i class="fas fa-rocket mr-2"></i> | |
<span>TechSolutions</span> | |
</div> | |
<div class="flex space-x-6"> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition">Home</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition">Services</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition">Portfolio</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition">Contact</a> | |
</div> | |
</div> | |
<!-- Hero Section --> | |
<div class="bg-gradient-to-r from-blue-500 to-blue-700 p-12 rounded-lg text-center text-white"> | |
<h1 class="text-4xl font-bold mb-4">Innovative Tech Solutions</h1> | |
<p class="text-xl mb-8 max-w-2xl mx-auto">We deliver cutting-edge technology solutions tailored to your business needs.</p> | |
<div class="flex justify-center space-x-4"> | |
<button class="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition">Get Started</button> | |
<button class="bg-transparent border-2 border-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition">Learn More</button> | |
</div> | |
</div> | |
<!-- Features Grid --> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-mobile-alt"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Mobile Development</h3> | |
<p class="text-gray-600">Custom mobile applications for iOS and Android platforms with modern frameworks.</p> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-globe"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Web Solutions</h3> | |
<p class="text-gray-600">Responsive websites and web applications with cutting-edge technologies.</p> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-lg transition"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-cloud"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Cloud Services</h3> | |
<p class="text-gray-600">Scalable cloud infrastructure and services for businesses of all sizes.</p> | |
</div> | |
</div> | |
<!-- Content Section --> | |
<div class="bg-gray-50 p-8 rounded-lg grid grid-cols-1 md:grid-cols-2 gap-8 items-center"> | |
<div> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">About Our Company</h2> | |
<p class="text-gray-600 mb-4">Founded in 2010, we've been delivering exceptional technology solutions to clients worldwide. Our team of experts is dedicated to innovation and quality.</p> | |
<p class="text-gray-600 mb-6">We believe in building long-term relationships with our clients by providing reliable and scalable solutions.</p> | |
<button class="bg-blue-500 text-white px-6 py-2 rounded-lg hover:bg-blue-600 transition">Read Our Story</button> | |
</div> | |
<div class="bg-gray-200 h-64 rounded-lg flex items-center justify-center"> | |
<i class="fas fa-building text-5xl text-gray-400"></i> | |
</div> | |
</div> | |
<!-- Footer --> | |
<div class="bg-gray-800 text-gray-300 p-8 rounded-lg grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">TechSolutions</h3> | |
<p>Innovating for a better digital future.</p> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Quick Links</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="hover:text-white transition">Home</a></li> | |
<li><a href="#" class="hover:text-white transition">Services</a></li> | |
<li><a href="#" class="hover:text-white transition">About Us</a></li> | |
<li><a href="#" class="hover:text-white transition">Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Contact</h3> | |
<p>123 Tech Street</p> | |
<p>San Francisco, CA</p> | |
<p>info@techsolutions.com</p> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Follow Us</h3> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-facebook"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-linkedin"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-instagram"></i></a> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Stage 4: Effects --> | |
<div id="stage-4" class="transform-stage"> | |
<div class="p-6 border-2 border-gray-200 rounded-lg bg-white"> | |
<h3 class="text-xl font-semibold mb-4 text-gray-800">Adding Interactive Effects</h3> | |
<p class="text-gray-600 mb-6">Animations, hover effects, and interactive elements are added to enhance user experience.</p> | |
<div class="grid gap-6"> | |
<!-- Header --> | |
<div class="bg-white shadow-sm p-4 rounded-lg flex justify-between items-center sticky top-0 z-10"> | |
<div class="text-2xl font-bold text-blue-600 flex items-center"> | |
<i class="fas fa-rocket mr-2"></i> | |
<span>TechSolutions</span> | |
</div> | |
<div class="flex space-x-6"> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300">Home</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300">Services</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300">Portfolio</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300">Contact</a> | |
</div> | |
</div> | |
<!-- Hero Section --> | |
<div class="bg-gradient-to-r from-blue-500 to-blue-700 p-12 rounded-lg text-center text-white relative overflow-hidden"> | |
<div class="absolute inset-0 bg-gradient-to-b from-transparent to-black opacity-20"></div> | |
<div class="relative z-10"> | |
<h1 class="text-4xl font-bold mb-4 slide-up">Innovative Tech Solutions</h1> | |
<p class="text-xl mb-8 max-w-2xl mx-auto slide-up" style="animation-delay: 0.2s">We deliver cutting-edge technology solutions tailored to your business needs.</p> | |
<div class="flex justify-center space-x-4 slide-up" style="animation-delay: 0.4s"> | |
<button class="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition transform hover:-translate-y-1">Get Started</button> | |
<button class="bg-transparent border-2 border-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition transform hover:-translate-y-1">Learn More</button> | |
</div> | |
</div> | |
</div> | |
<!-- Features Grid --> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-mobile-alt"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Mobile Development</h3> | |
<p class="text-gray-600 mb-4">Custom mobile applications for iOS and Android platforms with modern frameworks.</p> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition">Learn more <i class="fas fa-arrow-right ml-2"></i></a> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-globe"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Web Solutions</h3> | |
<p class="text-gray-600 mb-4">Responsive websites and web applications with cutting-edge technologies.</p> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition">Learn more <i class="fas fa-arrow-right ml-2"></i></a> | |
</div> | |
<div class="bg-white p-6 rounded-lg shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-blue-500 mb-4 text-4xl"><i class="fas fa-cloud"></i></div> | |
<h3 class="font-bold text-xl text-gray-800 mb-3">Cloud Services</h3> | |
<p class="text-gray-600 mb-4">Scalable cloud infrastructure and services for businesses of all sizes.</p> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition">Learn more <i class="fas fa-arrow-right ml-2"></i></a> | |
</div> | |
</div> | |
<!-- Content Section --> | |
<div class="bg-gray-50 p-8 rounded-lg grid grid-cols-1 md:grid-cols-2 gap-8 items-center"> | |
<div class="fade-in"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">About Our Company</h2> | |
<p class="text-gray-600 mb-4">Founded in 2010, we've been delivering exceptional technology solutions to clients worldwide. Our team of experts is dedicated to innovation and quality.</p> | |
<p class="text-gray-600 mb-6">We believe in building long-term relationships with our clients by providing reliable and scalable solutions.</p> | |
<button class="bg-blue-500 text-white px-6 py-2 rounded-lg hover:bg-blue-600 transition transform hover:scale-105">Read Our Story</button> | |
</div> | |
<div class="bg-gray-200 h-64 rounded-lg flex items-center justify-center overflow-hidden"> | |
<div class="relative w-full h-full flex items-center justify-center"> | |
<div class="absolute inset-0 bg-blue-500 opacity-20"></div> | |
<i class="fas fa-building text-5xl text-gray-400 relative z-10"></i> | |
</div> | |
</div> | |
</div> | |
<!-- Testimonials --> | |
<div class="bg-white p-8 rounded-lg shadow-sm"> | |
<h2 class="text-2xl font-bold text-center text-gray-800 mb-8">What Our Clients Say</h2> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
<div class="bg-gray-50 p-6 rounded-lg hover:bg-blue-50 transition"> | |
<div class="text-yellow-400 mb-4"> | |
<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> | |
<p class="text-gray-600 italic mb-4">"TechSolutions transformed our business with their innovative approach to mobile development."</p> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-gray-300 mr-3"></div> | |
<div> | |
<p class="font-semibold">Sarah Johnson</p> | |
<p class="text-sm text-gray-500">CEO, TechCorp</p> | |
</div> | |
</div> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-lg hover:bg-blue-50 transition"> | |
<div class="text-yellow-400 mb-4"> | |
<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> | |
<p class="text-gray-600 italic mb-4">"The web application they built for us exceeded all our expectations in terms of performance."</p> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-gray-300 mr-3"></div> | |
<div> | |
<p class="font-semibold">Michael Chen</p> | |
<p class="text-sm text-gray-500">CTO, WebSolutions</p> | |
</div> | |
</div> | |
</div> | |
<div class="bg-gray-50 p-6 rounded-lg hover:bg-blue-50 transition"> | |
<div class="text-yellow-400 mb-4"> | |
<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-half-alt"></i> | |
</div> | |
<p class="text-gray-600 italic mb-4">"Their cloud migration services saved us thousands in infrastructure costs."</p> | |
<div class="flex items-center"> | |
<div class="w-10 h-10 rounded-full bg-gray-300 mr-3"></div> | |
<div> | |
<p class="font-semibold">David Wilson</p> | |
<p class="text-sm text-gray-500">Director, CloudTech</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Footer --> | |
<div class="bg-gray-800 text-gray-300 p-8 rounded-lg grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">TechSolutions</h3> | |
<p>Innovating for a better digital future.</p> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Quick Links</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="hover:text-white transition">Home</a></li> | |
<li><a href="#" class="hover:text-white transition">Services</a></li> | |
<li><a href="#" class="hover:text-white transition">About Us</a></li> | |
<li><a href="#" class="hover:text-white transition">Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Contact</h3> | |
<p><i class="fas fa-map-marker-alt mr-2"></i> 123 Tech Street</p> | |
<p class="ml-6">San Francisco, CA</p> | |
<p><i class="fas fa-envelope mr-2"></i> info@techsolutions.com</p> | |
<p><i class="fas fa-phone mr-2"></i> (555) 123-4567</p> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Follow Us</h3> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-facebook"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-linkedin"></i></a> | |
<a href="#" class="text-xl hover:text-white transition"><i class="fab fa-instagram"></i></a> | |
</div> | |
<div class="mt-4"> | |
<p class="mb-2">Subscribe to our newsletter</p> | |
<div class="flex"> | |
<input type="email" placeholder="Your email" class="px-3 py-2 rounded-l text-gray-800 w-full"> | |
<button class="bg-blue-500 text-white px-4 py-2 rounded-r hover:bg-blue-600 transition"><i class="fas fa-paper-plane"></i></button> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<!-- Stage 5: Final --> | |
<div id="stage-5" class="transform-stage"> | |
<div class="p-6 border-2 border-blue-200 rounded-lg bg-white shadow-inner"> | |
<h3 class="text-xl font-semibold mb-4 text-gray-800">Final Website</h3> | |
<p class="text-gray-600 mb-6">The completed website with all content, styling, and interactive elements in place.</p> | |
<div class="grid gap-6"> | |
<!-- Header --> | |
<header class="bg-white shadow-sm p-4 rounded-lg flex justify-between items-center sticky top-0 z-50 backdrop-blur-sm bg-opacity-90"> | |
<div class="text-2xl font-bold text-blue-600 flex items-center"> | |
<i class="fas fa-rocket mr-2"></i> | |
<span>TechSolutions</span> | |
</div> | |
<nav class="hidden md:flex space-x-6"> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300 relative group"> | |
Home | |
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 transition-all duration-300 group-hover:w-full"></span> | |
</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300 relative group"> | |
Services | |
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 transition-all duration-300 group-hover:w-full"></span> | |
</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300 relative group"> | |
Portfolio | |
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 transition-all duration-300 group-hover:w-full"></span> | |
</a> | |
<a href="#" class="px-3 py-1 text-gray-700 hover:text-blue-500 transition duration-300 relative group"> | |
Contact | |
<span class="absolute bottom-0 left-0 w-0 h-0.5 bg-blue-500 transition-all duration-300 group-hover:w-full"></span> | |
</a> | |
</nav> | |
<button class="md:hidden text-gray-700"> | |
<i class="fas fa-bars text-xl"></i> | |
</button> | |
</header> | |
<!-- Hero Section --> | |
<section class="bg-gradient-to-r from-blue-500 to-blue-700 p-12 rounded-lg text-center text-white relative overflow-hidden"> | |
<div class="absolute inset-0 bg-gradient-to-b from-transparent to-black opacity-20"></div> | |
<div class="absolute top-0 left-0 w-full h-full bg-blue-900 opacity-10 animate-pulse"></div> | |
<div class="relative z-10 max-w-4xl mx-auto"> | |
<h1 class="text-4xl md:text-5xl font-bold mb-4 slide-up">Innovative Tech Solutions</h1> | |
<p class="text-xl md:text-2xl mb-8 slide-up" style="animation-delay: 0.2s">We deliver cutting-edge technology solutions tailored to your business needs.</p> | |
<div class="flex flex-col sm:flex-row justify-center space-y-4 sm:space-y-0 sm:space-x-4 slide-up" style="animation-delay: 0.4s"> | |
<button class="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-gray-100 transition transform hover:-translate-y-1 shadow-lg hover:shadow-xl">Get Started</button> | |
<button class="bg-transparent border-2 border-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition transform hover:-translate-y-1 shadow-lg hover:shadow-xl">Learn More</button> | |
</div> | |
</div> | |
</section> | |
<!-- Features Grid --> | |
<section class="py-12"> | |
<div class="text-center mb-12"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">Our Services</h2> | |
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Comprehensive technology solutions for your business</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition-all duration-500 transform hover:-translate-y-3"> | |
<div class="text-blue-500 mb-6 text-5xl flex justify-center"> | |
<div class="bg-blue-100 p-4 rounded-full"> | |
<i class="fas fa-mobile-alt"></i> | |
</div> | |
</div> | |
<h3 class="font-bold text-xl text-gray-800 mb-4 text-center">Mobile Development</h3> | |
<p class="text-gray-600 mb-6 text-center">Custom mobile applications for iOS and Android platforms with modern frameworks like Flutter and React Native.</p> | |
<div class="text-center"> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition group"> | |
Learn more | |
<i class="fas fa-arrow-right ml-2 transition-transform group-hover:translate-x-1"></i> | |
</a> | |
</div> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition-all duration-500 transform hover:-translate-y-3"> | |
<div class="text-blue-500 mb-6 text-5xl flex justify-center"> | |
<div class="bg-blue-100 p-4 rounded-full"> | |
<i class="fas fa-globe"></i> | |
</div> | |
</div> | |
<h3 class="font-bold text-xl text-gray-800 mb-4 text-center">Web Solutions</h3> | |
<p class="text-gray-600 mb-6 text-center">Responsive websites and web applications with cutting-edge technologies like React, Vue, and Node.js.</p> | |
<div class="text-center"> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition group"> | |
Learn more | |
<i class="fas fa-arrow-right ml-2 transition-transform group-hover:translate-x-1"></i> | |
</a> | |
</div> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition-all duration-500 transform hover:-translate-y-3"> | |
<div class="text-blue-500 mb-6 text-5xl flex justify-center"> | |
<div class="bg-blue-100 p-4 rounded-full"> | |
<i class="fas fa-cloud"></i> | |
</div> | |
</div> | |
<h3 class="font-bold text-xl text-gray-800 mb-4 text-center">Cloud Services</h3> | |
<p class="text-gray-600 mb-6 text-center">Scalable cloud infrastructure and services on AWS, Azure, and Google Cloud for businesses of all sizes.</p> | |
<div class="text-center"> | |
<a href="#" class="text-blue-500 font-medium inline-flex items-center hover:text-blue-700 transition group"> | |
Learn more | |
<i class="fas fa-arrow-right ml-2 transition-transform group-hover:translate-x-1"></i> | |
</a> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Content Section --> | |
<section class="bg-gray-50 p-12 rounded-2xl grid grid-cols-1 md:grid-cols-2 gap-12 items-center"> | |
<div class="fade-in"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-6">About Our Company</h2> | |
<p class="text-gray-600 mb-6 leading-relaxed">Founded in 2010, TechSolutions has been at the forefront of digital innovation, delivering exceptional technology solutions to clients worldwide. Our team of experts is dedicated to pushing the boundaries of what's possible in the digital space.</p> | |
<p class="text-gray-600 mb-8 leading-relaxed">We believe in building long-term relationships with our clients by providing reliable, scalable, and innovative solutions that drive real business results.</p> | |
<div class="flex flex-wrap gap-4"> | |
<button class="bg-blue-500 text-white px-6 py-3 rounded-lg hover:bg-blue-600 transition transform hover:scale-105 shadow-md hover:shadow-lg"> | |
Read Our Story | |
</button> | |
<button class="bg-white text-blue-500 border border-blue-500 px-6 py-3 rounded-lg hover:bg-blue-50 transition transform hover:scale-105 shadow-md hover:shadow-lg"> | |
Meet Our Team | |
</button> | |
</div> | |
</div> | |
<div class="bg-gray-200 h-96 rounded-xl flex items-center justify-center overflow-hidden relative"> | |
<div class="absolute inset-0 bg-gradient-to-br from-blue-500 to-blue-700 opacity-20"></div> | |
<div class="relative z-10 w-full h-full flex items-center justify-center"> | |
<div class="absolute top-4 left-4 w-24 h-24 bg-blue-100 rounded-lg transform rotate-12"></div> | |
<div class="absolute bottom-8 right-8 w-32 h-32 bg-blue-200 rounded-lg transform -rotate-6"></div> | |
<div class="relative z-20 bg-white p-6 rounded-lg shadow-lg w-3/4"> | |
<div class="flex items-center mb-4"> | |
<div class="w-12 h-12 rounded-full bg-blue-500 flex items-center justify-center text-white"> | |
<i class="fas fa-lightbulb text-xl"></i> | |
</div> | |
<div class="ml-4"> | |
<h4 class="font-semibold">Innovation</h4> | |
<p class="text-sm text-gray-600">Driving digital transformation</p> | |
</div> | |
</div> | |
<p class="text-gray-700">"We combine creativity with technology to deliver solutions that make a difference."</p> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- Stats --> | |
<section class="py-12 bg-white rounded-xl shadow-sm"> | |
<div class="grid grid-cols-2 md:grid-cols-4 gap-8 text-center"> | |
<div class="p-4"> | |
<div class="text-4xl font-bold text-blue-600 mb-2 count-up" data-target="150">0</div> | |
<p class="text-gray-600">Projects Completed</p> | |
</div> | |
<div class="p-4"> | |
<div class="text-4xl font-bold text-blue-600 mb-2 count-up" data-target="45">0</div> | |
<p class="text-gray-600">Happy Clients</p> | |
</div> | |
<div class="p-4"> | |
<div class="text-4xl font-bold text-blue-600 mb-2 count-up" data-target="12">0</div> | |
<p class="text-gray-600">Awards Won</p> | |
</div> | |
<div class="p-4"> | |
<div class="text-4xl font-bold text-blue-600 mb-2 count-up" data-target="24">0</div> | |
<p class="text-gray-600">Team Members</p> | |
</div> | |
</div> | |
</section> | |
<!-- Testimonials --> | |
<section class="bg-gray-50 p-12 rounded-2xl"> | |
<div class="text-center mb-12"> | |
<h2 class="text-3xl font-bold text-gray-800 mb-4">What Our Clients Say</h2> | |
<p class="text-xl text-gray-600 max-w-2xl mx-auto">Don't just take our word for it - hear from our satisfied clients</p> | |
</div> | |
<div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-yellow-400 mb-4 flex"> | |
<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> | |
<p class="text-gray-600 italic mb-6">"TechSolutions transformed our business with their innovative approach to mobile development. The app they built increased our customer engagement by 300%."</p> | |
<div class="flex items-center"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden"> | |
<img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Sarah Johnson" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<p class="font-semibold">Sarah Johnson</p> | |
<p class="text-sm text-gray-500">CEO, TechCorp</p> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-yellow-400 mb-4 flex"> | |
<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> | |
<p class="text-gray-600 italic mb-6">"The web application they built for us exceeded all our expectations in terms of performance and user experience. Our conversion rates have never been higher."</p> | |
<div class="flex items-center"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden"> | |
<img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Michael Chen" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<p class="font-semibold">Michael Chen</p> | |
<p class="text-sm text-gray-500">CTO, WebSolutions</p> | |
</div> | |
</div> | |
</div> | |
<div class="bg-white p-8 rounded-xl shadow-md hover:shadow-xl transition-all duration-300 transform hover:-translate-y-2"> | |
<div class="text-yellow-400 mb-4 flex"> | |
<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-half-alt"></i> | |
</div> | |
<p class="text-gray-600 italic mb-6">"Their cloud migration services saved us thousands in infrastructure costs while improving our system reliability and performance metrics."</p> | |
<div class="flex items-center"> | |
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden"> | |
<img src="https://randomuser.me/api/portraits/men/75.jpg" alt="David Wilson" class="w-full h-full object-cover"> | |
</div> | |
<div> | |
<p class="font-semibold">David Wilson</p> | |
<p class="text-sm text-gray-500">Director, CloudTech</p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</section> | |
<!-- CTA --> | |
<section class="bg-gradient-to-r from-blue-600 to-blue-800 p-12 rounded-2xl text-center text-white relative overflow-hidden"> | |
<div class="absolute inset-0 bg-white opacity-5"></div> | |
<div class="relative z-10 max-w-3xl mx-auto"> | |
<h2 class="text-3xl font-bold mb-6">Ready to Transform Your Business?</h2> | |
<p class="text-xl mb-8 opacity-90">Let's discuss how we can help you achieve your digital goals with our cutting-edge technology solutions.</p> | |
<div class="flex flex-col sm:flex-row justify-center gap-4"> | |
<button class="bg-white text-blue-600 px-8 py-4 rounded-lg font-semibold hover:bg-gray-100 transition transform hover:-translate-y-1 shadow-lg hover:shadow-xl flex items-center justify-center"> | |
<i class="fas fa-phone-alt mr-3"></i> Schedule a Call | |
</button> | |
<button class="bg-transparent border-2 border-white px-8 py-4 rounded-lg font-semibold hover:bg-white hover:text-blue-600 transition transform hover:-translate-y-1 shadow-lg hover:shadow-xl flex items-center justify-center"> | |
<i class="fas fa-envelope mr-3"></i> Contact Us | |
</button> | |
</div> | |
</div> | |
</section> | |
<!-- Footer --> | |
<footer class="bg-gray-900 text-gray-300 p-12 rounded-2xl grid grid-cols-1 md:grid-cols-4 gap-8"> | |
<div> | |
<div class="text-2xl font-bold text-white flex items-center mb-4"> | |
<i class="fas fa-rocket mr-2 text-blue-400"></i> | |
<span>TechSolutions</span> | |
</div> | |
<p class="mb-4">Innovating for a better digital future since 2010.</p> | |
<div class="flex space-x-4"> | |
<a href="#" class="text-xl text-gray-400 hover:text-white transition"><i class="fab fa-facebook"></i></a> | |
<a href="#" class="text-xl text-gray-400 hover:text-white transition"><i class="fab fa-twitter"></i></a> | |
<a href="#" class="text-xl text-gray-400 hover:text-white transition"><i class="fab fa-linkedin"></i></a> | |
<a href="#" class="text-xl text-gray-400 hover:text-white transition"><i class="fab fa-instagram"></i></a> | |
</div> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Services</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Mobile Development</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Web Development</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Cloud Solutions</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> UI/UX Design</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Digital Marketing</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Company</h3> | |
<ul class="space-y-2"> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> About Us</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Our Team</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Careers</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Blog</a></li> | |
<li><a href="#" class="hover:text-white transition flex items-center"><i class="fas fa-chevron-right text-xs mr-2 text-blue-400"></i> Contact</a></li> | |
</ul> | |
</div> | |
<div> | |
<h3 class="text-white text-lg font-semibold mb-4">Newsletter</h3> | |
<p class="mb-4">Subscribe to our newsletter for the latest updates and insights.</p> | |
<div class="flex mb-4"> | |
<input type="email" placeholder="Your email address" class="px-4 py-3 rounded-l text-gray-800 w-full focus:outline-none"> | |
<button class="bg-blue-500 text-white px-4 py-3 rounded-r hover:bg-blue-600 transition"> | |
<i class="fas fa-paper-plane"></i> | |
</button> | |
</div> | |
<p class="text-sm text-gray-500">We respect your privacy. Unsubscribe at any time.</p> | |
</div> | |
</footer> | |
<div class="bg-gray-800 text-center py-4 rounded-b-lg"> | |
<p class="text-gray-400 text-sm">© 2023 TechSolutions. All rights reserved. | <a href="#" class="hover:text-white transition">Privacy Policy</a> | <a href="#" class="hover:text-white transition">Terms of Service</a></p> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<script> | |
document.addEventListener('DOMContentLoaded', function() { | |
const stages = document.querySelectorAll('.transform-stage'); | |
const stageBtns = document.querySelectorAll('.stage-btn'); | |
const prevBtn = document.getElementById('prev-btn'); | |
const nextBtn = document.getElementById('next-btn'); | |
const progressFill = document.getElementById('progress-fill'); | |
let currentStage = 1; | |
const totalStages = 5; | |
// Initialize | |
updateStage(); | |
// Stage buttons click event | |
stageBtns.forEach(btn => { | |
btn.addEventListener('click', function() { | |
currentStage = parseInt(this.getAttribute('data-stage')); | |
updateStage(); | |
}); | |
}); | |
// Previous button click event | |
prevBtn.addEventListener('click', function() { | |
if (currentStage > 1) { | |
currentStage--; | |
updateStage(); | |
} | |
}); | |
// Next button click event | |
nextBtn.addEventListener('click', function() { | |
if (currentStage < totalStages) { | |
currentStage++; | |
updateStage(); | |
} | |
}); | |
function updateStage() { | |
// Update active stage | |
stages.forEach(stage => { | |
stage.classList.remove('active'); | |
}); | |
document.getElementById(`stage-${currentStage}`).classList.add('active'); | |
// Update stage buttons | |
stageBtns.forEach(btn => { | |
const btnStage = parseInt(btn.getAttribute('data-stage')); | |
btn.classList.remove('bg-blue-100', 'text-blue-700'); | |
btn.classList.add('bg-gray-100', 'text-gray-700'); | |
if (btnStage === currentStage) { | |
btn.classList.remove('bg-gray-100', 'text-gray-700'); | |
btn.classList.add('bg-blue-100', 'text-blue-700'); | |
} | |
if (btnStage < currentStage) { | |
btn.querySelector('i').className = 'fas fa-check-circle mr-2'; | |
} else { | |
const icons = ['pencil-ruler', 'paint-brush', 'images', 'magic', 'check-circle']; | |
btn.querySelector('i').className = `fas fa-${icons[btnStage-1]} mr-2`; | |
} | |
}); | |
// Update navigation buttons | |
prevBtn.disabled = currentStage === 1; | |
nextBtn.disabled = currentStage === totalStages; | |
// Update progress bar | |
const progressPercentage = ((currentStage - 1) / (totalStages - 1)) * 100; | |
progressFill.style.width = `${progressPercentage}%`; | |
// Trigger animations for current stage | |
if (currentStage === 4 || currentStage === 5) { | |
const animatedElements = document.querySelectorAll('.slide-up, .fade-in'); | |
animatedElements.forEach((el, index) => { | |
// Reset animation | |
el.style.animation = 'none'; | |
el.offsetHeight; // Trigger reflow | |
// Reapply animation with delay | |
const animationClass = el.classList.contains('slide-up') ? 'slide-up' : 'fade-in'; | |
el.style.animation = `${animationClass} 0.5s ease-out forwards`; | |
if (animationClass === 'slide-up') { | |
el.style.animationDelay = `${index * 0.1}s`; | |
} | |
}); | |
} | |
// Count-up animation for stats in final stage | |
if (currentStage === 5) { | |
const counters = document.querySelectorAll('.count-up'); | |
const speed = 200; | |
counters.forEach(counter => { | |
const target = +counter.getAttribute('data-target'); | |
const count = +counter.innerText; | |
const increment = target / speed; | |
if (count < target) { | |
counter.innerText = Math.ceil(count + increment); | |
setTimeout(updateCounters, 1); | |
} else { | |
counter.innerText = target; | |
} | |
}); | |
} | |
} | |
function updateCounters() { | |
const counters = document.querySelectorAll('.count-up'); | |
const speed = 200; | |
let allDone = true; | |
counters.forEach(counter => { | |
const target = +counter.getAttribute('data-target'); | |
const count = +counter.innerText; | |
const increment = target / speed; | |
if (count < target) { | |
counter.innerText = Math.ceil(count + increment); | |
allDone = false; | |
setTimeout(updateCounters, 1); | |
} else { | |
counter.innerText = target | |
</html> |