Imran607's picture
can u convert figma design to code? with front-end and backend?
4ccea17 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EduSphere | Modern Learning Platform</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://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#6366f1',
secondary: '#8b5cf6',
}
}
}
}
</script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<div class="container mx-auto px-6 py-12">
<h1 class="text-3xl font-bold mb-8">Figma to Code Converter</h1>
<figma-importer></figma-importer>
</div>
<main>
<!-- Hero Section -->
<section id="hero" class="relative overflow-hidden">
<div class="absolute inset-0 z-0" id="vanta-bg"></div>
<div class="relative z-10 container mx-auto px-6 py-24 md:py-32">
<div class="max-w-3xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-bold text-white mb-6">Unlock Your Learning Potential</h1>
<p class="text-xl text-white opacity-90 mb-8">Interactive courses, expert instructors, and a community of learners to help you achieve your goals.</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="/courses.html" class="bg-white text-primary px-8 py-3 rounded-lg font-semibold hover:bg-opacity-90 transition">Browse Courses</a>
<a href="/signup.html" class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:bg-opacity-10 transition">Join Free</a>
</div>
</div>
</div>
</section>
<!-- Features Section -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">Why Choose EduSphere?</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">Our platform combines cutting-edge technology with proven educational methods.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-50 p-8 rounded-xl hover:shadow-lg transition">
<div class="w-14 h-14 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mb-6">
<i data-feather="monitor" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Interactive Lessons</h3>
<p class="text-gray-600">Engaging multimedia content with quizzes and practical exercises.</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl hover:shadow-lg transition">
<div class="w-14 h-14 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mb-6">
<i data-feather="users" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Expert Community</h3>
<p class="text-gray-600">Connect with instructors and peers through discussion forums.</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl hover:shadow-lg transition">
<div class="w-14 h-14 bg-primary bg-opacity-10 rounded-full flex items-center justify-center mb-6">
<i data-feather="award" class="text-primary w-6 h-6"></i>
</div>
<h3 class="text-xl font-semibold mb-3">Certification</h3>
<p class="text-gray-600">Earn recognized certificates upon course completion.</p>
</div>
</div>
</div>
</section>
<!-- Popular Courses -->
<section class="py-20 bg-gray-50">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center mb-12">
<div>
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-2">Popular Courses</h2>
<p class="text-gray-600">Start learning today with our most popular courses</p>
</div>
<a href="/courses.html" class="mt-4 md:mt-0 text-primary font-semibold hover:underline flex items-center">
View all courses <i data-feather="arrow-right" class="ml-2 w-5 h-5"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Course 1 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-48 bg-gradient-to-r from-primary to-secondary flex items-center justify-center text-white">
<i data-feather="code" class="w-16 h-16"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">Web Development Bootcamp</h3>
<span class="bg-primary bg-opacity-10 text-primary text-xs px-3 py-1 rounded-full">Beginner</span>
</div>
<p class="text-gray-600 mb-4">Learn HTML, CSS, JavaScript and modern frameworks.</p>
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="clock" class="w-4 h-4 text-gray-500 mr-1"></i>
<span class="text-sm text-gray-500">30 hours</span>
</div>
<a href="#" class="text-primary font-medium hover:underline">Enroll Now</a>
</div>
</div>
</div>
<!-- Course 2 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-48 bg-gradient-to-r from-primary to-secondary flex items-center justify-center text-white">
<i data-feather="bar-chart-2" class="w-16 h-16"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">Data Science Fundamentals</h3>
<span class="bg-primary bg-opacity-10 text-primary text-xs px-3 py-1 rounded-full">Intermediate</span>
</div>
<p class="text-gray-600 mb-4">Master Python, Pandas, and data visualization.</p>
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="clock" class="w-4 h-4 text-gray-500 mr-1"></i>
<span class="text-sm text-gray-500">45 hours</span>
</div>
<a href="#" class="text-primary font-medium hover:underline">Enroll Now</a>
</div>
</div>
</div>
<!-- Course 3 -->
<div class="bg-white rounded-xl overflow-hidden shadow-md hover:shadow-lg transition">
<div class="h-48 bg-gradient-to-r from-primary to-secondary flex items-center justify-center text-white">
<i data-feather="smartphone" class="w-16 h-16"></i>
</div>
<div class="p-6">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-semibold">Mobile App Development</h3>
<span class="bg-primary bg-opacity-10 text-primary text-xs px-3 py-1 rounded-full">Advanced</span>
</div>
<p class="text-gray-600 mb-4">Build cross-platform apps with React Native.</p>
<div class="flex justify-between items-center">
<div class="flex items-center">
<i data-feather="clock" class="w-4 h-4 text-gray-500 mr-1"></i>
<span class="text-sm text-gray-500">50 hours</span>
</div>
<a href="#" class="text-primary font-medium hover:underline">Enroll Now</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials -->
<section class="py-20 bg-white">
<div class="container mx-auto px-6">
<div class="text-center mb-16">
<h2 class="text-3xl md:text-4xl font-bold text-gray-900 mb-4">What Our Students Say</h2>
<p class="text-lg text-gray-600 max-w-2xl mx-auto">Join thousands of satisfied learners who transformed their careers.</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden">
<img src="http://static.photos/people/200x200/1" alt="Student" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">Sarah Johnson</h4>
<p class="text-sm text-gray-500">Web Developer</p>
</div>
</div>
<p class="text-gray-600">"The Web Development Bootcamp gave me all the skills I needed to land my first developer job. The projects were practical and the instructors were always available to help."</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden">
<img src="http://static.photos/people/200x200/2" alt="Student" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">Michael Chen</h4>
<p class="text-sm text-gray-500">Data Analyst</p>
</div>
</div>
<p class="text-gray-600">"I transitioned from marketing to data science thanks to EduSphere. The curriculum was comprehensive and the community support was invaluable."</p>
</div>
<div class="bg-gray-50 p-8 rounded-xl">
<div class="flex items-center mb-4">
<div class="w-12 h-12 rounded-full bg-gray-300 mr-4 overflow-hidden">
<img src="http://static.photos/people/200x200/3" alt="Student" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-semibold">Priya Patel</h4>
<p class="text-sm text-gray-500">Mobile Developer</p>
</div>
</div>
<p class="text-gray-600">"The hands-on approach to learning mobile development was exactly what I needed. I built my portfolio while learning and landed multiple job offers."</p>
</div>
</div>
</div>
</section>
<!-- CTA -->
<section class="py-20 bg-gradient-to-r from-primary to-secondary">
<div class="container mx-auto px-6 text-center">
<h2 class="text-3xl md:text-4xl font-bold text-white mb-6">Ready to Start Learning?</h2>
<p class="text-xl text-white opacity-90 mb-8 max-w-2xl mx-auto">Join over 100,000 students who have transformed their careers with EduSphere.</p>
<div class="flex flex-col sm:flex-row gap-4 justify-center">
<a href="/signup.html" class="bg-white text-primary px-8 py-3 rounded-lg font-semibold hover:bg-opacity-90 transition">Sign Up Free</a>
<a href="/courses.html" class="bg-transparent border-2 border-white text-white px-8 py-3 rounded-lg font-semibold hover:bg-white hover:bg-opacity-10 transition">Browse Courses</a>
</div>
</div>
</section>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="components/figma-importer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
// Initialize Vanta.js background
VANTA.GLOBE({
el: "#vanta-bg",
mouseControls: true,
touchControls: true,
gyroControls: false,
minHeight: 200.00,
minWidth: 200.00,
scale: 1.00,
scaleMobile: 1.00,
color: 0x6366f1,
backgroundColor: 0x0,
size: 0.8
});
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>