dantheguy's picture
link the contribute page to the contribute + button next to the recently added section
25c5f85 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>Trigger-Free Flicks | Safe Movie Search</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 = {
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="mb-16 text-center">
<h1 class="text-4xl md:text-5xl font-bold mb-4 text-primary-500">Trigger-Free Flicks</h1>
<p class="text-xl text-gray-300 max-w-2xl mx-auto">Find movies safe from emetophobia triggers</p>
<div class="relative max-w-2xl mx-auto mt-8">
<input type="text" id="searchInput" placeholder="Search for a movie..."
class="w-full px-6 py-3 rounded-full bg-gray-800 border border-gray-700 focus:outline-none focus:ring-2 focus:ring-primary-500 text-white">
<button id="searchBtn" class="absolute right-2 top-1/2 transform -translate-y-1/2 bg-primary-500 text-white p-2 rounded-full hover:bg-primary-600 transition">
<i data-feather="search"></i>
</button>
</div>
</section>
<section id="resultsSection" class="hidden">
<h2 class="text-2xl font-bold mb-6">Search Results</h2>
<div id="resultsContainer" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"></div>
</section>
<section id="popularSection" class="mt-16">
<div class="flex justify-between items-center mb-6">
<h2 class="text-2xl font-bold">Recently Added</h2>
<a href="contribute.html" class="text-primary-500 hover:underline flex items-center gap-1">
<span>Contribute</span>
<i data-feather="plus" class="w-4 h-4"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<!-- Popular movies will be loaded here -->
<div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg p-6">
<div class="flex items-center gap-2 mb-2">
<span class="text-green-400 text-xs font-medium bg-black bg-opacity-70 rounded-full px-2 py-1">Safe</span>
<h3 class="font-bold text-lg">The Shawshank Redemption</h3>
</div>
<p class="text-gray-400 text-sm">No reported triggers</p>
</div>
<div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg p-6">
<div class="flex items-center gap-2 mb-2">
<span class="text-red-400 text-xs font-medium bg-black bg-opacity-70 rounded-full px-2 py-1">Warning</span>
<h3 class="font-bold text-lg">Bridesmaids</h3>
</div>
<p class="text-gray-400 text-sm">1 v*mit scene</p>
</div>
<div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg p-6">
<div class="flex items-center gap-2 mb-2">
<span class="text-yellow-400 text-xs font-medium bg-black bg-opacity-70 rounded-full px-2 py-1">Caution</span>
<h3 class="font-bold text-lg">Stand By Me</h3>
</div>
<p class="text-gray-400 text-sm">Brief mention</p>
</div>
<div class="bg-gray-800 rounded-lg overflow-hidden shadow-lg p-6">
<div class="flex items-center gap-2 mb-2">
<span class="text-green-400 text-xs font-medium bg-black bg-opacity-70 rounded-full px-2 py-1">Safe</span>
<h3 class="font-bold text-lg">Toy Story</h3>
</div>
<p class="text-gray-400 text-sm">No triggers</p>
</div>
</div>
</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>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>