Sumerkind's picture
Kamu adalah ahli modding TheoTown
001d03c verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stadium Showdown Modifier</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>
</head>
<body class="bg-gray-100 min-h-screen">
<custom-header></custom-header>
<main class="container mx-auto px-4 py-8">
<div class="max-w-4xl mx-auto bg-white rounded-xl shadow-md overflow-hidden">
<div class="p-8">
<div class="flex flex-col items-center mb-8">
<i data-feather="award" class="w-16 h-16 text-yellow-500"></i>
<h1 class="text-3xl font-bold text-gray-800 mt-4">Stadium Showdown Mod</h1>
<p class="text-gray-600 mt-2">Weekly matches that influence your city's happiness</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-6">
<div class="bg-blue-50 p-6 rounded-lg">
<div class="flex items-center mb-4">
<i data-feather="calendar" class="w-6 h-6 text-blue-500 mr-2"></i>
<h2 class="text-xl font-semibold text-gray-800">Match Schedule</h2>
</div>
<p class="text-gray-700">Matches occur every weekend with random outcomes.</p>
<div class="mt-4 p-4 bg-blue-100 rounded">
<p class="font-medium text-blue-800">Next match: <span id="next-match" class="font-bold">Loading...</span></p>
</div>
</div>
<div class="bg-green-50 p-6 rounded-lg">
<div class="flex items-center mb-4">
<i data-feather="smile" class="w-6 h-6 text-green-500 mr-2"></i>
<h2 class="text-xl font-semibold text-gray-800">Happiness Impact</h2>
</div>
<p class="text-gray-700">Match results directly affect your citizens' happiness:</p>
<ul class="mt-2 space-y-1">
<li class="flex items-center">
<i data-feather="thumbs-up" class="w-4 h-4 text-green-500 mr-2"></i>
<span>Win: +15% happiness</span>
</li>
<li class="flex items-center">
<i data-feather="thumbs-down" class="w-4 h-4 text-red-500 mr-2"></i>
<span>Loss: -10% happiness</span>
</li>
</ul>
</div>
</div>
<div class="mt-8 bg-gray-50 p-6 rounded-lg">
<h2 class="text-xl font-semibold text-gray-800 mb-4">Simulate Next Match</h2>
<button id="simulate-btn" class="bg-purple-600 hover:bg-purple-700 text-white font-bold py-3 px-6 rounded-lg transition duration-200 flex items-center">
<i data-feather="play" class="w-5 h-5 mr-2"></i>
Run Simulation
</button>
<div id="result-container" class="mt-4 hidden">
<div class="p-4 rounded-lg">
<h3 class="text-lg font-medium mb-2">Match Result:</h3>
<p id="match-result" class="text-lg"></p>
<p id="happiness-impact" class="mt-2"></p>
</div>
</div>
</div>
<div class="mt-8">
<h2 class="text-xl font-semibold text-gray-800 mb-4">Recent Matches</h2>
<div id="match-history" class="space-y-2">
<!-- Match history will be populated here -->
</div>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script src="components/header.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>