Spaces:
Running
Running
File size: 5,791 Bytes
d8b5ea1 cee54ce d8b5ea1 9845c22 cee54ce 9845c22 cee54ce 9845c22 cee54ce 9845c22 cee54ce 9845c22 cee54ce d8b5ea1 2855cfe 32112d6 d8b5ea1 32112d6 d8b5ea1 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Reactless Wonderland</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>
tailwind.config = {
theme: {
extend: {
colors: {
primary: {
500: '#6366f1',
},
secondary: {
500: '#ec4899',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-50 dark:bg-gray-900 transition-colors duration-300">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="text-center mb-12">
<h1 class="text-4xl md:text-6xl font-bold text-primary-500 dark:text-primary-300 mb-4">Welcome to Reactless Wonderland</h1>
<p class="text-xl text-gray-600 dark:text-gray-300 max-w-2xl mx-auto">Where we build amazing UIs without React, just pure HTML, CSS and JavaScript magic!</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 transition-all hover:scale-105">
<div class="w-16 h-16 bg-primary-100 dark:bg-primary-900 rounded-full flex items-center justify-center mb-4 mx-auto">
<i data-feather="zap" class="text-primary-500 dark:text-primary-300 w-8 h-8"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 dark:text-white mb-2">Lightning Fast</h3>
<p class="text-gray-600 dark:text-gray-300">No virtual DOM overhead, just pure browser performance.</p>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 transition-all hover:scale-105">
<div class="w-16 h-16 bg-secondary-100 dark:bg-secondary-900 rounded-full flex items-center justify-center mb-4 mx-auto">
<i data-feather="code" class="text-secondary-500 dark:text-secondary-300 w-8 h-8"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 dark:text-white mb-2">Simple & Clean</h3>
<p class="text-gray-600 dark:text-gray-300">Straightforward HTML, CSS and JavaScript - no complex tooling.</p>
</div>
<div class="bg-white dark:bg-gray-800 rounded-xl shadow-lg p-6 transition-all hover:scale-105">
<div class="w-16 h-16 bg-primary-100 dark:bg-primary-900 rounded-full flex items-center justify-center mb-4 mx-auto">
<i data-feather="moon" class="text-primary-500 dark:text-primary-300 w-8 h-8"></i>
</div>
<h3 class="text-xl font-semibold text-gray-800 dark:text-white mb-2">Dark Mode Ready</h3>
<p class="text-gray-600 dark:text-gray-300">Built with dark mode support out of the box.</p>
</div>
</div>
<div class="mt-16 text-center space-y-8">
<button id="themeToggle" class="px-6 py-3 bg-primary-500 hover:bg-primary-600 text-white rounded-lg font-medium transition-colors flex items-center mx-auto">
<i data-feather="moon" class="mr-2"></i>
Toggle Theme
</button>
<div class="bg-white dark:bg-gray-800 p-6 rounded-xl shadow-lg max-w-3xl mx-auto">
<h2 class="text-xl font-semibold mb-4 text-gray-800 dark:text-white">Smart Clothing Selector</h2>
<input type="file" id="imageUpload" accept="image/*" class="hidden">
<label for="imageUpload" class="cursor-pointer px-4 py-2 bg-secondary-500 hover:bg-secondary-600 text-white rounded-lg inline-flex items-center">
<i data-feather="upload" class="mr-2"></i>
Upload Image
</label>
<div id="imagePreview" class="mt-4 hidden relative">
<img id="previewImage" class="max-w-full h-auto rounded-lg" src="#" alt="Preview">
<canvas id="selectionCanvas" class="absolute inset-0 w-full h-full pointer-events-none"></canvas>
</div>
<div id="toolsPanel" class="mt-4 hidden space-x-2">
<button id="selectClothes" class="px-4 py-2 bg-primary-500 hover:bg-primary-600 text-white rounded-lg">
<i data-feather="box" class="mr-2"></i>Select Clothes
</button>
<button id="clearSelection" class="px-4 py-2 bg-gray-500 hover:bg-gray-600 text-white rounded-lg">
<i data-feather="x" class="mr-2"></i>Clear
</button>
<button id="downloadSelection" class="px-4 py-2 bg-green-500 hover:bg-green-600 text-white rounded-lg">
<i data-feather="download" class="mr-2"></i>Download
</button>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@mediapipe/selfie_segmentation/selfie_segmentation.js"></script>
<script src="components/clothes-selector.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html> |