instapicker-pro / index.html
D3faultnull's picture
make a website for giveaway that choose a random comment from and instagram link video or post and that is designed like IOS 26 with an about section and a contact me section
0d453b8 verified
Raw History Blame Contribute Delete
3.58 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>InstaRaffle - Instagram Giveaway Picker</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="components/navbar.js"></script>
<script src="components/footer.js"></script>
</head>
<body class="bg-gray-50 min-h-screen flex flex-col">
<custom-navbar></custom-navbar>
<main class="flex-grow container mx-auto px-4 py-12">
<div class="max-w-3xl mx-auto bg-white rounded-2xl shadow-ios overflow-hidden p-8">
<div class="text-center mb-8">
<h1 class="text-3xl font-bold text-gray-800 mb-2">InstaRaffle Magic Wand</h1>
<p class="text-gray-600">Pick a random winner from your Instagram giveaway comments</p>
</div>
<div class="space-y-6">
<div class="bg-indigo-50 p-6 rounded-lg">
<h2 class="text-xl font-semibold text-indigo-800 mb-4">How it works</h2>
<ol class="list-decimal list-inside space-y-2 text-gray-700">
<li>Paste your Instagram post URL below</li>
<li>We'll fetch all the comments</li>
<li>Our magic wand will pick a random winner</li>
<li>Celebrate your giveaway winner!</li>
</ol>
</div>
<div class="space-y-4">
<label for="instagram-url" class="block text-sm font-medium text-gray-700">Instagram Post URL</label>
<div class="flex">
<input type="text" id="instagram-url" placeholder="https://www.instagram.com/p/..."
class="input-ios flex-grow rounded-r-none">
<button id="fetch-btn" class="button-ios bg-blue-500 text-white rounded-l-none hover:bg-blue-600">
Fetch Comments
</button>
</div>
</div>
<div id="loading" class="hidden text-center py-8">
<div class="animate-spin rounded-full h-12 w-12 border-t-2 border-b-2 border-indigo-500 mx-auto mb-4"></div>
<p class="text-gray-600">Fetching comments from Instagram...</p>
</div>
<div id="results" class="hidden space-y-6">
<div class="bg-green-50 p-4 rounded-lg">
<h3 class="text-lg font-medium text-green-800 mb-2">🎉 And the winner is...</h3>
<div id="winner" class="text-2xl font-bold text-green-600"></div>
</div>
<div>
<h3 class="text-lg font-medium text-gray-800 mb-2">All Participants</h3>
<div id="participants" class="bg-gray-50 p-4 rounded-lg max-h-60 overflow-y-auto"></div>
</div>
<button id="pick-again" class="button-ios w-full bg-blue-500 text-white hover:bg-blue-600">
Pick Another Winner
</button>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>