trigger-free-flicks-database / contribute.html
dantheguy's picture
create functioning pages for the 'contribute' button or the 'browse' button
d8b6a55 verified
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Contribute | Trigger-Free Flicks</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>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: {
500: '#d946ef',
}
}
}
}
}
</script>
</head>
<body class="bg-gray-900 text-gray-100 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<section class="max-w-3xl mx-auto">
<h1 class="text-3xl md:text-4xl font-bold mb-6">Contribute to Our Database</h1>
<p class="text-gray-400 mb-8">Help others by sharing information about trigger warnings in movies. Your contributions make our community stronger.</p>
<div class="bg-gray-800 rounded-lg p-6 mb-8">
<h2 class="text-xl font-bold mb-4">Submission Guidelines</h2>
<ul class="space-y-3 text-gray-300">
<li class="flex items-start gap-2">
<i data-feather="check" class="text-green-400 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Be specific about the type of trigger (e.g., "v*mit scene at 1:23:45")</span>
</li>
<li class="flex items-start gap-2">
<i data-feather="check" class="text-green-400 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Include the exact timestamp if possible</span>
</li>
<li class="flex items-start gap-2">
<i data-feather="check" class="text-green-400 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Describe the intensity (mild, moderate, graphic)</span>
</li>
<li class="flex items-start gap-2">
<i data-feather="check" class="text-green-400 w-4 h-4 mt-1 flex-shrink-0"></i>
<span>Only submit information you're certain about</span>
</li>
</ul>
</div>
<form class="space-y-6">
<div>
<label for="movie-title" class="block text-gray-300 mb-2">Movie Title*</label>
<input type="text" id="movie-title" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
</div>
<div>
<label for="movie-year" class="block text-gray-300 mb-2">Release Year</label>
<input type="number" id="movie-year" class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
</div>
<div>
<label for="trigger-type" class="block text-gray-300 mb-2">Trigger Type*</label>
<select id="trigger-type" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500">
<option value="">Select trigger type</option>
<option value="vomit">V*mit</option>
<option value="blood">Blood</option>
<option value="gore">Gore</option>
<option value="other">Other</option>
</select>
</div>
<div>
<label for="trigger-details" class="block text-gray-300 mb-2">Trigger Details*</label>
<textarea id="trigger-details" rows="4" required class="w-full px-4 py-3 bg-gray-800 border border-gray-700 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"></textarea>
<p class="text-gray-500 text-sm mt-1">Describe the scene, including timestamp if possible</p>
</div>
<div>
<label for="severity" class="block text-gray-300 mb-2">Severity Level*</label>
<div class="flex gap-4">
<label class="flex items-center gap-2">
<input type="radio" name="severity" value="safe" class="text-primary-500">
<span>Safe</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="severity" value="caution" class="text-primary-500">
<span>Caution</span>
</label>
<label class="flex items-center gap-2">
<input type="radio" name="severity" value="warning" class="text-primary-500">
<span>Warning</span>
</label>
</div>
</div>
<div class="pt-4">
<button type="submit" class="px-6 py-3 bg-primary-500 text-white rounded-lg hover:bg-primary-600 transition w-full md:w-auto">
Submit Contribution
</button>
</div>
</form>
</section>
</main>
<custom-footer></custom-footer>
<script src="components/navbar.js"></script>
<script src="components/footer.js"></script>
<script src="script.js"></script>
<script>
feather.replace();
</script>
</body>
</html>