the randomize and generate-plot buttons don't seem to work
Browse files- README.md +8 -5
- index.html +159 -19
README.md
CHANGED
|
@@ -1,10 +1,13 @@
|
|
| 1 |
---
|
| 2 |
-
title: Hallmark Holiday Plot Magic
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Hallmark Holiday Plot Magic ✨🎬
|
| 3 |
+
colorFrom: green
|
| 4 |
+
colorTo: red
|
| 5 |
+
emoji: 🐳
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite-v3
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# Welcome to your new DeepSite project!
|
| 13 |
+
This project was created with [DeepSite](https://huggingface.co/deepsite).
|
index.html
CHANGED
|
@@ -1,19 +1,159 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<!DOCTYPE html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta charset="UTF-8">
|
| 5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
| 6 |
+
<title>Hallmark Holiday Plot Magic</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
|
| 9 |
+
<script src="https://unpkg.com/feather-icons"></script>
|
| 10 |
+
<style>
|
| 11 |
+
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Montserrat:wght@300;400;600&display=swap');
|
| 12 |
+
|
| 13 |
+
body {
|
| 14 |
+
font-family: 'Montserrat', sans-serif;
|
| 15 |
+
background-color: #f8f9fa;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.snowflake {
|
| 19 |
+
position: absolute;
|
| 20 |
+
color: #fff;
|
| 21 |
+
user-select: none;
|
| 22 |
+
pointer-events: none;
|
| 23 |
+
animation: fall linear infinite;
|
| 24 |
+
}
|
| 25 |
+
|
| 26 |
+
@keyframes fall {
|
| 27 |
+
to {
|
| 28 |
+
transform: translateY(100vh);
|
| 29 |
+
}
|
| 30 |
+
}
|
| 31 |
+
|
| 32 |
+
.festive-border {
|
| 33 |
+
border-image: linear-gradient(45deg, #e63946, #f4a261, #2a9d8f, #264653) 1;
|
| 34 |
+
border-width: 4px;
|
| 35 |
+
border-style: solid;
|
| 36 |
+
}
|
| 37 |
+
</style>
|
| 38 |
+
</head>
|
| 39 |
+
<body class="min-h-screen bg-gradient-to-b from-red-50 to-green-50 relative overflow-x-hidden">
|
| 40 |
+
<!-- Snowflakes -->
|
| 41 |
+
<div id="snowflakes"></div>
|
| 42 |
+
|
| 43 |
+
<div class="container mx-auto px-4 py-12 max-w-4xl">
|
| 44 |
+
<header class="text-center mb-12">
|
| 45 |
+
<h1 class="text-4xl md:text-5xl font-bold text-red-600 font-playfair mb-4">Hallmark Holiday Plot Magic</h1>
|
| 46 |
+
<p class="text-xl text-gray-700">Generate your perfect holiday movie plot!</p>
|
| 47 |
+
<div class="mt-6">
|
| 48 |
+
<i data-feather="film" class="w-12 h-12 text-green-600 mx-auto"></i>
|
| 49 |
+
</div>
|
| 50 |
+
</header>
|
| 51 |
+
|
| 52 |
+
<main class="bg-white rounded-xl shadow-xl p-6 md:p-8 festive-border">
|
| 53 |
+
<div class="grid grid-cols-1 md:grid-cols-2 gap-6 mb-8">
|
| 54 |
+
<div class="space-y-6">
|
| 55 |
+
<div>
|
| 56 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">Heroine's Profession</label>
|
| 57 |
+
<select id="female_1" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 58 |
+
<option value="Architect">Architect</option>
|
| 59 |
+
<option value="Baker">Baker</option>
|
| 60 |
+
<option value="Veterinarian">Veterinarian</option>
|
| 61 |
+
<option value="Art Teacher">Art Teacher</option>
|
| 62 |
+
</select>
|
| 63 |
+
</div>
|
| 64 |
+
|
| 65 |
+
<div>
|
| 66 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">Setting</label>
|
| 67 |
+
<select id="setting" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 68 |
+
<option value="small coastal town">Small Coastal Town</option>
|
| 69 |
+
<option value="mountain village">Mountain Village</option>
|
| 70 |
+
<option value="rural farming community">Rural Farming Community</option>
|
| 71 |
+
<option value="historic downtown district">Historic Downtown District</option>
|
| 72 |
+
</select>
|
| 73 |
+
</div>
|
| 74 |
+
|
| 75 |
+
<div>
|
| 76 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">Her Mission</label>
|
| 77 |
+
<select id="decision" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 78 |
+
<option value="restore the old community center">Restore the Old Community Center</option>
|
| 79 |
+
<option value="organize the annual festival">Organize the Annual Festival</option>
|
| 80 |
+
<option value="save the local business">Save the Local Business</option>
|
| 81 |
+
<option value="reconnect with her roots">Reconnect With Her Roots</option>
|
| 82 |
+
</select>
|
| 83 |
+
</div>
|
| 84 |
+
|
| 85 |
+
<div>
|
| 86 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">Her Current Fiancé</label>
|
| 87 |
+
<select id="male_1" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 88 |
+
<option value="Corporate Executive">Corporate Executive</option>
|
| 89 |
+
<option value="Successful Attorney">Successful Attorney</option>
|
| 90 |
+
<option value="Real Estate Developer">Real Estate Developer</option>
|
| 91 |
+
<option value="Tech Entrepreneur">Tech Entrepreneur</option>
|
| 92 |
+
</select>
|
| 93 |
+
</div>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
<div class="space-y-6">
|
| 97 |
+
<div>
|
| 98 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">The Local Love Interest</label>
|
| 99 |
+
<select id="male_2" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 100 |
+
<option value="Local Contractor">Local Contractor</option>
|
| 101 |
+
<option value="Elementary School Principal">Elementary School Principal</option>
|
| 102 |
+
<option value="Marine Biologist">Marine Biologist</option>
|
| 103 |
+
<option value="Historian">Historian</option>
|
| 104 |
+
</select>
|
| 105 |
+
</div>
|
| 106 |
+
|
| 107 |
+
<div>
|
| 108 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">The Wise Helper</label>
|
| 109 |
+
<select id="helper" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 110 |
+
<option value="Town Elder">Town Elder</option>
|
| 111 |
+
<option value="Former Teacher">Former Teacher</option>
|
| 112 |
+
<option value="Local Librarian">Local Librarian</option>
|
| 113 |
+
<option value="Community Volunteer">Community Volunteer</option>
|
| 114 |
+
</select>
|
| 115 |
+
</div>
|
| 116 |
+
|
| 117 |
+
<div>
|
| 118 |
+
<label class="block text-lg font-semibold text-gray-800 mb-2">The Special Place</label>
|
| 119 |
+
<select id="place" class="w-full p-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-red-400 focus:border-red-400">
|
| 120 |
+
<option value="community center">Community Center</option>
|
| 121 |
+
<option value="bookstore">Bookstore</option>
|
| 122 |
+
<option value="bakery">Bakery</option>
|
| 123 |
+
<option value="old theater">Old Theater</option>
|
| 124 |
+
</select>
|
| 125 |
+
</div>
|
| 126 |
+
|
| 127 |
+
<div class="flex space-x-4 pt-2">
|
| 128 |
+
<button id="generateBtn" class="flex-1 bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300 flex items-center justify-center">
|
| 129 |
+
<i data-feather="play" class="w-5 h-5 mr-2"></i> Generate Plot
|
| 130 |
+
</button>
|
| 131 |
+
<button id="randomizeBtn" class="flex-1 bg-green-600 hover:bg-green-700 text-white font-bold py-3 px-6 rounded-lg transition duration-300 flex items-center justify-center">
|
| 132 |
+
<i data-feather="shuffle" class="w-5 h-5 mr-2"></i> Randomize
|
| 133 |
+
</button>
|
| 134 |
+
</div>
|
| 135 |
+
</div>
|
| 136 |
+
</div>
|
| 137 |
+
|
| 138 |
+
<div class="mt-8">
|
| 139 |
+
<h2 class="text-2xl font-bold text-gray-800 mb-4 font-playfair">Your Hallmark Holiday Movie Plot</h2>
|
| 140 |
+
<div id="plotOutput" class="bg-red-50 p-6 rounded-lg border-l-4 border-red-500 text-gray-700 leading-relaxed">
|
| 141 |
+
<p class="italic text-gray-500">Select your options and click "Generate Plot" to create your perfect holiday movie!</p>
|
| 142 |
+
</div>
|
| 143 |
+
|
| 144 |
+
<div class="mt-6 flex justify-center">
|
| 145 |
+
<button id="shareBtn" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-2 px-6 rounded-lg transition duration-300 flex items-center">
|
| 146 |
+
<i data-feather="share-2" class="w-4 h-4 mr-2"></i> Share This Plot
|
| 147 |
+
</button>
|
| 148 |
+
</div>
|
| 149 |
+
</div>
|
| 150 |
+
</main>
|
| 151 |
+
|
| 152 |
+
<footer class="mt-12 text-center text-gray-600">
|
| 153 |
+
<p>Made with <i data-feather="heart" class="w-4 h-4 inline text-red-500"></i> for holiday movie lovers</p>
|
| 154 |
+
</footer>
|
| 155 |
+
</div>
|
| 156 |
+
<script src="script.js"></script>
|
| 157 |
+
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
|
| 158 |
+
</body>
|
| 159 |
+
</html>
|