testing / index.html
NyLosning's picture
undefined - Initial Deployment
3612375 verified
Raw History Blame Contribute Delete
16 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Ground Branch Mod Request Tool</title>
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.gradient-bg {
background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 100%);
}
.pulse-animation {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}
.steam-icon {
color: #171a21;
}
.discord-icon {
color: #5865F2;
}
.mod-card:hover {
transform: translateY(-5px);
transition: all 0.3s ease;
}
#loadingSpinner {
display: none;
}
</style>
</head>
<body class="bg-gray-100 min-h-screen">
<div class="gradient-bg text-white py-8 shadow-lg">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="flex items-center mb-6 md:mb-0">
<img src="https://groundbranch.com/wp-content/uploads/2021/01/cropped-GB_Logo_512x512-32x32.png" alt="Ground Branch Logo" class="h-12 w-12 mr-4">
<h1 class="text-3xl font-bold">Ground Branch Mod Request Tool</h1>
</div>
<div class="flex space-x-4">
<a href="https://steamcommunity.com/app/16900/workshop/" target="_blank" class="bg-gray-900 hover:bg-gray-800 text-white px-4 py-2 rounded-lg flex items-center">
<i class="fab fa-steam steam-icon text-2xl mr-2"></i>
Steam Workshop
</a>
<a href="https://discord.gg/groundbranch" target="_blank" class="bg-[#5865F2] hover:bg-[#4752C4] text-white px-4 py-2 rounded-lg flex items-center">
<i class="fab fa-discord discord-icon text-2xl mr-2"></i>
Join Discord
</a>
</div>
</div>
</div>
</div>
<div class="container mx-auto px-4 py-8">
<div class="bg-white rounded-xl shadow-lg overflow-hidden mb-8">
<div class="p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Submit a Mod Request</h2>
<p class="text-gray-600 mb-6">Request mods to be added to our Ground Branch server. We'll check Steam Workshop for compatibility before forwarding to our Discord mod team.</p>
<form id="modRequestForm" class="space-y-4">
<div>
<label for="steamUrl" class="block text-sm font-medium text-gray-700 mb-1">Steam Workshop URL*</label>
<input type="url" id="steamUrl" name="steamUrl" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
placeholder="https://steamcommunity.com/sharedfiles/filedetails/?id=123456789">
<p class="text-xs text-gray-500 mt-1">Must be a valid Steam Workshop link for Ground Branch</p>
</div>
<div>
<label for="modDescription" class="block text-sm font-medium text-gray-700 mb-1">Why should we add this mod?*</label>
<textarea id="modDescription" name="modDescription" rows="3" required
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
placeholder="Explain why this mod would be beneficial for our server..."></textarea>
</div>
<div>
<label for="userContact" class="block text-sm font-medium text-gray-700 mb-1">Your Discord Username (optional)</label>
<input type="text" id="userContact" name="userContact"
class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500"
placeholder="username#1234">
<p class="text-xs text-gray-500 mt-1">So we can contact you about your request</p>
</div>
<div class="flex items-center">
<input type="checkbox" id="agreeTerms" name="agreeTerms" required
class="h-4 w-4 text-blue-600 focus:ring-blue-500 border-gray-300 rounded">
<label for="agreeTerms" class="ml-2 block text-sm text-gray-700">
I confirm this mod is compatible with the latest Ground Branch version
</label>
</div>
<div class="pt-2">
<button type="submit" class="bg-blue-600 hover:bg-blue-700 text-white px-6 py-3 rounded-lg font-medium flex items-center justify-center w-full md:w-auto">
<span id="submitText">Submit Request</span>
<div id="loadingSpinner" class="ml-2">
<i class="fas fa-circle-notch fa-spin"></i>
</div>
</button>
</div>
</form>
</div>
</div>
<div class="bg-white rounded-xl shadow-lg overflow-hidden">
<div class="p-6">
<h2 class="text-2xl font-bold text-gray-800 mb-4">Mod Request Guidelines</h2>
<div class="space-y-4">
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
<i class="fas fa-check text-blue-600 text-xs"></i>
</div>
<p class="ml-3 text-gray-700">Mods must be actively maintained and updated for the latest Ground Branch version</p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
<i class="fas fa-check text-blue-600 text-xs"></i>
</div>
<p class="ml-3 text-gray-700">No NSFW, offensive, or cheat-enabling content</p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
<i class="fas fa-check text-blue-600 text-xs"></i>
</div>
<p class="ml-3 text-gray-700">Server performance impact will be considered</p>
</div>
<div class="flex items-start">
<div class="flex-shrink-0 h-6 w-6 rounded-full bg-blue-100 flex items-center justify-center mt-1">
<i class="fas fa-check text-blue-600 text-xs"></i>
</div>
<p class="ml-3 text-gray-700">Popular mods with community support get priority</p>
</div>
</div>
</div>
</div>
<div class="mt-8">
<h2 class="text-2xl font-bold text-gray-800 mb-6">Recently Added Mods</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" id="recentMods">
<!-- This would be populated dynamically from an API in a real implementation -->
<div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="p-4">
<div class="flex items-center mb-3">
<img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
<div>
<h3 class="font-bold text-gray-800">GB Realism Mod</h3>
<p class="text-sm text-gray-600">Updated 2 days ago</p>
</div>
</div>
<p class="text-gray-700 text-sm mb-3">Enhances weapon handling, ballistics, and movement for a more realistic experience.</p>
<a href="#" class="text-blue-600 text-sm font-medium flex items-center">
View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
</a>
</div>
</div>
<div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="p-4">
<div class="flex items-center mb-3">
<img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
<div>
<h3 class="font-bold text-gray-800">Tactical Gear Pack</h3>
<p class="text-sm text-gray-600">Updated 1 week ago</p>
</div>
</div>
<p class="text-gray-700 text-sm mb-3">Adds 50+ new tactical vests, helmets, and gear configurations.</p>
<a href="#" class="text-blue-600 text-sm font-medium flex items-center">
View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
</a>
</div>
</div>
<div class="mod-card bg-white rounded-xl shadow-md overflow-hidden transition-all duration-300">
<div class="p-4">
<div class="flex items-center mb-3">
<img src="https://steamuserimages-a.akamaihd.net/ugc/1234567890123456789/ABCDEF1234567890/" alt="Mod thumbnail" class="w-16 h-16 rounded-lg object-cover mr-3">
<div>
<h3 class="font-bold text-gray-800">Night Operations</h3>
<p class="text-sm text-gray-600">Updated 3 days ago</p>
</div>
</div>
<p class="text-gray-700 text-sm mb-3">Enhanced night vision, IR lasers, and lighting for realistic night ops.</p>
<a href="#" class="text-blue-600 text-sm font-medium flex items-center">
View on Steam <i class="fas fa-external-link-alt ml-1 text-xs"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<div id="successModal" class="fixed inset-0 bg-black bg-opacity-50 flex items-center justify-center z-50 hidden">
<div class="bg-white rounded-xl p-6 max-w-md w-full mx-4">
<div class="flex justify-between items-start mb-4">
<h3 class="text-xl font-bold text-gray-800">Request Submitted!</h3>
<button id="closeModal" class="text-gray-500 hover:text-gray-700">
<i class="fas fa-times"></i>
</button>
</div>
<div class="flex items-center justify-center text-green-500 text-5xl mb-4">
<i class="fas fa-check-circle"></i>
</div>
<p class="text-gray-700 mb-4 text-center">Your mod request has been received and will be reviewed by our team. We'll check Steam Workshop for compatibility and update status.</p>
<p class="text-sm text-gray-500 text-center">You can track the status in our <a href="#" class="text-blue-600">Discord server</a>.</p>
</div>
</div>
<footer class="bg-gray-800 text-white py-8 mt-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-4 md:mb-0">
<p class="text-gray-400">© 2023 Ground Branch Mod Team. Not affiliated with BlackFoot Studios.</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-steam text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-discord text-xl"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white">
<i class="fab fa-github text-xl"></i>
</a>
</div>
</div>
</div>
</footer>
<script>
document.getElementById('modRequestForm').addEventListener('submit', function(e) {
e.preventDefault();
// Show loading spinner
document.getElementById('loadingSpinner').style.display = 'inline-block';
document.getElementById('submitText').textContent = 'Processing...';
// Simulate API call/validation
setTimeout(function() {
// Hide spinner
document.getElementById('loadingSpinner').style.display = 'none';
document.getElementById('submitText').textContent = 'Submit Request';
// Show success modal
document.getElementById('successModal').classList.remove('hidden');
// Reset form
document.getElementById('modRequestForm').reset();
}, 2000);
});
document.getElementById('closeModal').addEventListener('click', function() {
document.getElementById('successModal').classList.add('hidden');
});
// Close modal when clicking outside
document.getElementById('successModal').addEventListener('click', function(e) {
if (e.target === this) {
this.classList.add('hidden');
}
});
// Validate Steam URL format
document.getElementById('steamUrl').addEventListener('blur', function() {
const url = this.value;
if (url && !url.includes('steamcommunity.com/sharedfiles/filedetails/')) {
alert('Please enter a valid Steam Workshop URL');
this.focus();
}
});
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=NyLosning/testing" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>