<!DOCTYPE html>
<html lang="tr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Oyun Kütüphanesi | Şifreler & Hileler</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>
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Rubik:wght@300;400;500;600;700&display=swap');
:root {
--primary: #6c5ce7;
--secondary: #a29bfe;
--dark: #2d3436;
--light: #f5f6fa;
--accent: #fd79a8;
}
body {
font-family: 'Rubik', sans-serif;
background-color: #121212;
color: var(--light);
overflow-x: hidden;
}
.pixel-font {
font-family: 'Press Start 2P', cursive;
}
.game-card {
transition: all 0.3s ease;
transform-style: preserve-3d;
background: rgba(44, 44, 46, 0.8);
backdrop-filter: blur(10px);
border-radius: 16px;
border: 1px solid rgba(255, 255, 255, 0.1);
}
.game-card:hover {
transform: translateY(-5px) scale(1.02);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
border-color: var(--accent);
}
.code-block {
position: relative;
font-family: 'Courier New', monospace;
background: rgba(0, 0, 0, 0.3);
border-left: 3px solid var(--accent);
}
.copy-btn {
opacity: 0;
transition: all 0.2s ease;
}
.code-block:hover .copy-btn {
opacity: 1;
}
.glow {
text-shadow: 0 0 10px rgba(253, 121, 168, 0.7);
}
.pulse {
animation: pulse 2s infinite;
}
@keyframes pulse {
0% { box-shadow: 0 0 0 0 rgba(253, 121, 168, 0.7); }
70% { box-shadow: 0 0 0 15px rgba(253, 121, 168, 0); }
100% { box-shadow: 0 0 0 0 rgba(253, 121, 168, 0); }
}
/* Scrollbar */
::-webkit-scrollbar {
width: 8px;
}
::-webkit-scrollbar-track {
background: #2d3436;
}
::-webkit-scrollbar-thumb {
background: var(--primary);
border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
background: var(--secondary);
}
/* Animated background elements */
.bg-element {
position: fixed;
border-radius: 50%;
filter: blur(60px);
opacity: 0.15;
z-index: -1;
}
.particle {
position: absolute;
background: var(--accent);
border-radius: 50%;
pointer-events: none;
z-index: -1;
}
</style>
</head>
<body class="min-h-screen">
<!-- Animated background elements -->
<div class="bg-element bg-purple-500 w-64 h-64 top-20 left-20"></div>
<div class="bg-element bg-pink-500 w-96 h-96 bottom-10 right-10"></div>
<!-- Header -->
<header class="bg-gray-900 bg-opacity-80 backdrop-filter backdrop-blur-lg border-b border-gray-800">
<div class="container mx-auto px-4 py-6">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/3c98c0e2-0bf0-413d-bf24-3feb7563dbc7.png" alt="Pixel art style game controller icon with glowing purple and pink neon effects" class="w-12 h-12">
<h1 class="text-2xl font-bold glow">
<span class="text-purple-400">Oyun</span>
<span class="text-pink-400">Kütüphanesi</span>
</h1>
</div>
<nav class="hidden md:flex space-x-6">
<a href="#" class="hover:text-purple-400 transition">Ana Sayfa</a>
<a href="#" class="hover:text-pink-400 transition">Popüler Oyunlar</a>
<a href="#" class="hover:text-purple-400 transition">Son Eklenenler</a>
<a href="#" class="hover:text-pink-400 transition">Hakkımızda</a>
<a href="admin.php" class="hover:text-purple-400 transition">Admin</a>
</nav>
<button class="md:hidden text-2xl">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="relative overflow-hidden">
<div class="container mx-auto px-4 py-20 flex flex-col items-center text-center">
<div class="max-w-3xl mx-auto">
<h2 class="text-4xl md:text-6xl font-bold mb-6">
<span class="text-transparent bg-clip-text bg-gradient-to-r from-purple-400 to-pink-400">
Oyun Şifreleri & Hileleri
</span>
</h2>
<p class="text-lg md:text-xl text-gray-300 mb-8">
En popüler oyunlar için güncel şifreler, hile kodları ve püf noktaları burada!
Kopyala-yapıştır yaparak hemen kullanmaya başla.
</p>
<div class="relative max-w-xl mx-auto">
<input
type="text"
placeholder="Oyun ara..."
class="w-full px-6 py-4 rounded-full bg-gray-800 border border-gray-700 focus:border-purple-500 focus:outline-none text-white transition"
id="searchInput"
>
<button onclick="searchGames()" class="absolute right-2 top-2 bg-gradient-to-r from-purple-500 to-pink-500 text-white px-6 py-2 rounded-full hover:opacity-90 transition">
Ara
</button>
</div>
</div>
</div>
</section>
<!-- Main Content -->
<main class="container mx-auto px-4 pb-20">
<!-- Categories -->
<div class="flex flex-wrap gap-4 mb-10 justify-center">
<button onclick="filterGames('all')" class="px-6 py-2 bg-purple-600 rounded-full hover:bg-purple-700 transition">
Hepsi
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
Fortnite
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
GTA
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
PUBG
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
Roblox
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
Minecraft
</button>
<button class="px-6 py-2 bg-gray-800 rounded-full hover:bg-gray-700 transition">
Diğer
</button>
</div>
<!-- Games Grid -->
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Game Card 1 - Fortnite -->
<div class="game-card p-6 relative overflow-hidden group">
<div class="absolute -right-10 -top-10 w-32 h-32 bg-pink-500 rounded-full opacity-10 group-hover:opacity-20 transition"></div>
<div class="flex items-start mb-6">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/d3b6f62e-83d6-4bdc-9168-c09e9692cb82.png" alt="Fortnite game logo with bright colors and cartoonish style" class="w-16 h-16 rounded-lg mr-4 object-cover">
<div>
<h3 class="text-xl font-bold">Fortnite</h3>
<p class="text-gray-400 text-sm">Battle Royale</p>
</div>
<span class="ml-auto px-3 py-1 bg-purple-600 text-xs rounded-full">Yeni</span>
</div>
<div class="mb-4">
<h4 class="font-medium text-pink-400 mb-2">Sınırsız Malzeme Kodu</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>GiveWeaponsAndAmmo 999</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm mb-4">Bu kod tüm silah ve malzemelerinizi maksimuma çıkarır.</p>
</div>
<div class="mb-4">
<h4 class="font-medium text-pink-400 mb-2">Görünmezlik Kodu</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>SetInvisible true</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm">10 saniye boyunca düşmanlar size göremez.</p>
</div>
<div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-800">
<span class="text-xs text-gray-500">Güncellendi: 2 gün önce</span>
<button class="text-pink-400 hover:text-pink-300 text-sm font-medium transition">
Tüm Kodları Göster <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Game Card 2 - GTA 5 -->
<div class="game-card p-6 relative overflow-hidden group">
<div class="absolute -right-10 -top-10 w-32 h-32 bg-green-500 rounded-full opacity-10 group-hover:opacity-20 transition"></div>
<div class="flex items-start mb-6">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/f363193a-0a60-42de-a1dc-d6cf5495d6c9.png" alt="GTA 5 logo with urban graffiti style and neon lights" class="w-16 h-16 rounded-lg mr-4 object-cover">
<div>
<h3 class="text-xl font-bold">Grand Theft Auto V</h3>
<p class="text-gray-400 text-sm">Açık Dünya</p>
</div>
</div>
<div class="mb-4">
<h4 class="font-medium text-green-400 mb-2">Para Hilesi</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>HESOYAM</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm mb-4">250.000$ + full sağlık ve zırh</p>
</div>
<div class="mb-4">
<h4 class="font-medium text-green-400 mb-2">Spawn Jet Kodu</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>JUMPJET</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm">Yanınıza bir savaş uçağı çağırır.</p>
</div>
<div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-800">
<span class="text-xs text-gray-500">Güncellendi: 1 hafta önce</span>
<button class="text-green-400 hover:text-green-300 text-sm font-medium transition">
Tüm Kodları Göster <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Game Card 3 - PUBG -->
<div class="game-card p-6 relative overflow-hidden group">
<div class="absolute -right-10 -top-10 w-32 h-32 bg-yellow-500 rounded-full opacity-10 group-hover:opacity-20 transition"></div>
<div class="flex items-start mb-6">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/96117db3-12f4-4a2f-afe9-e7fbb353a8a2.png" alt="PUBG logo with military-style design and orange/black colors" class="w-16 h-16 rounded-lg mr-4 object-cover">
<div>
<h3 class="text-xl font-bold">PUBG Mobile</h3>
<p class="text-gray-400 text-sm">Battle Royale</p>
</div>
<span class="ml-auto px-3 py-1 bg-yellow-600 text-xs rounded-full">Önerilen</span>
</div>
<div class="mb-4">
<h4 class="font-medium text-yellow-400 mb-2">Aimbot (PC)</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>aimbot_active=true</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm mb-4">Otomatik nişan alma özelliğini açar.</p>
</div>
<div class="mb-4">
<h4 class="font-medium text-yellow-400 mb-2">Hızlı Koşu</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>set_player_speed 1.5</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm">Koşu hızını %50 artırır.</p>
</div>
<div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-800">
<span class="text-xs text-gray-500">Güncellendi: 3 gün önce</span>
<button class="text-yellow-400 hover:text-yellow-300 text-sm font-medium transition">
Tüm Kodları Göster <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Game Card 4 - Roblox -->
<div class="game-card p-6 relative overflow-hidden group">
<div class="absolute -right-10 -top-10 w-32 h-32 bg-red-500 rounded-full opacity-10 group-hover:opacity-20 transition"></div>
<div class="flex items-start mb-6">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/87e1eae3-c003-4252-875a-85137a49f6f7.png" alt="Roblox logo with blocky design and bright red color" class="w-16 h-16 rounded-lg mr-4 object-cover">
<div>
<h3 class="text-xl font-bold">Roblox</h3>
<p class="text-gray-400 text-sm">Oyun Platformu</p>
</div>
</div>
<div class="mb-4">
<h4 class="font-medium text-red-400 mb-2">Sınırsız Robux</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>game:GetService("Players").LocalPlayer.Robux = 999999</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm mb-4">Robux miktarınızı artırır (sadece bazı oyunlarda çalışır).</p>
</div>
<div class="mb-4">
<h4 class="font-medium text-red-400 mb-2">Fly Hack</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>loadstring(game:HttpGet("fly_script.lua"))()</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm">Uçma özelliği ekler.</p>
</div>
<div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-800">
<span class="text-xs text-gray-500">Güncellendi: 5 gün önce</span>
<button class="text-red-400 hover:text-red-300 text-sm font-medium transition">
Tüm Kodları Göster <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Game Card 5 - Minecraft -->
<div class="game-card p-6 relative overflow-hidden group">
<div class="absolute -right-10 -top-10 w-32 h-32 bg-emerald-500 rounded-full opacity-10 group-hover:opacity-20 transition"></div>
<div class="flex items-start mb-6">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/837d5d04-a5ba-42e5-a7c1-26b7be01df30.png" alt="Minecraft grass block and sword with pixel art style" class="w-16 h-16 rounded-lg mr-4 object-cover">
<div>
<h3 class="text-xl font-bold">Minecraft</h3>
<p class="text-gray-400 text-sm">Açık Dünya</p>
</div>
</div>
<div class="mb-4">
<h4 class="font-medium text-emerald-400 mb-2">Yaratıcı Mod</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>/gamemode creative</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm mb-4">Yaratıcı moda geçiş yapar.</p>
</div>
<div class="mb-4">
<h4 class="font-medium text-emerald-400 mb-2">TP Komutu</h4>
<div class="code-block p-4 rounded mb-3 relative">
<code>/tp [player] [x] [y] [z]</code>
<button class="copy-btn absolute right-2 top-2 bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">
<i class="fas fa-copy"></i>
</button>
</div>
<p class="text-gray-400 text-sm">Belirtilen koordinatlara ışınlanma.</p>
</div>
<div class="flex justify-between items-center mt-6 pt-4 border-t border-gray-800">
<span class="text-xs text-gray-500">Güncellendi: 1 gün önce</span>
<button class="text-emerald-400 hover:text-emerald-300 text-sm font-medium transition">
Tüm Kodları Göster <i class="fas fa-arrow-right ml-1"></i>
</button>
</div>
</div>
<!-- Add New Game Card -->
<div class="game-card p-6 flex flex-col items-center justify-center text-center border-2 border-dashed border-gray-700 hover:border-purple-500 transition cursor-pointer group" onclick="openAddGameModal()">
<div class="w-16 h-16 bg-gray-800 rounded-full flex items-center justify-center mb-4 group-hover:bg-purple-600 transition">
<i class="fas fa-plus text-2xl text-gray-400 group-hover:text-white transition"></i>
</div>
<h3 class="text-lg font-medium mb-2">Oyun Ekle</h3>
<p class="text-gray-400 text-sm">Yeni bir oyun ekleyerek topluluğa katkıda bulun</p>
</div>
</div>
</main>
<!-- Footer -->
<footer class="bg-gray-900 bg-opacity-80 backdrop-filter backdrop-blur-lg border-t border-gray-800">
<div class="container mx-auto px-4 py-12">
<div class="grid grid-cols-1 md:grid-cols-4 gap-12">
<div>
<div class="flex items-center space-x-2 mb-4">
<img src="https://storage.googleapis.com/workspace-0f70711f-8b4e-4d94-86f1-2a93ccde5887/image/ad1ef7f8-2cbf-404e-981e-df33f21fe11c.png" alt="Mini pixel art game controller logo matching site branding" class="w-8 h-8">
<h3 class="text-xl font-bold">
<span class="text-purple-400">Oyun</span>
<span class="text-pink-400">Kütüphanesi</span>
</h3>
</div>
<p class="text-gray-400 text-sm">
Oyun şifreleri ve hile kodlarını tek bir yerde toplamak için oluşturulmuş bir platform.
</p>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Kategoriler</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-purple-400 transition text-sm">Battle Royale</a></li>
<li><a href="#" class="text-gray-400 hover:text-purple-400 transition text-sm">Açık Dünya</a></li>
<li><a href="#" class="text-gray-400 hover:text-purple-400 transition text-sm">FPS</a></li>
<li><a href="#" class="text-gray-400 hover:text-purple-400 transition text-sm">MMORPG</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Hızlı Linkler</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-pink-400 transition text-sm">Kullanım Koşulları</a></li>
<li><a href="#" class="text-gray-400 hover:text-pink-400 transition text-sm">Gizlilik Politikası</a></li>
<li><a href="#" class="text-gray-400 hover:text-pink-400 transition text-sm">Bize Ulaşın</a></li>
<li><a href="#" class="text-gray-400 hover:text-pink-400 transition text-sm">SSS</a></li>
</ul>
</div>
<div>
<h4 class="text-lg font-semibold mb-4">Bülten</h4>
<p class="text-gray-400 text-sm mb-4">
Yeni eklenen şifrelerden haberdar olmak için abone olun.
</p>
<div class="flex">
<input
type="email"
placeholder="E-posta"
class="bg-gray-800 text-white px-4 py-2 rounded-l focus:outline-none w-full text-sm"
>
<button class="bg-gradient-to-r from-purple-500 to-pink-500 text-white px-4 py-2 rounded-r text-sm hover:opacity-90 transition">
<i class="fas fa-paper-plane"></i>
</button>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center">
<p class="text-gray-500 text-sm mb-4 md:mb-0">
© 2023 Oyun Kütüphanesi. Tüm hakları saklıdır.
</p>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-purple-400 transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-pink-400 transition">
<i class="fab fa-instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-purple-400 transition">
<i class="fab fa-discord"></i>
</a>
<a href="#" class="text-gray-400 hover:text-pink-400 transition">
<i class="fab fa-youtube"></i>
</a>
</div>
</div>
</div>
</footer>
<!-- Floating Action Button -->
<button class="fixed bottom-8 right-8 w-14 h-14 rounded-full bg-gradient-to-r from-purple-500 to-pink-500 text-white flex items-center justify-center shadow-lg hover:shadow-xl transition-all pulse z-50">
<i class="fas fa-gamepad text-xl"></i>
</button>
<!-- Add Game Modal -->
<div class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden" id="addGameModal">
<div class="bg-gray-900 rounded-xl p-8 max-w-md w-full mx-4 border border-purple-500">
<h3 class="text-2xl font-bold mb-6 text-center text-purple-400">Yeni Oyun Ekle</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-300 mb-2">Oyun Adı</label>
<input type="text" class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label class="block text-gray-300 mb-2">Kategori</label>
<select class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>Battle Royale</option>
<option>Açık Dünya</option>
<option>FPS</option>
<option>MMORPG</option>
</select>
</div>
<div>
<label class="block text-gray-300 mb-2">Hile Kodu</label>
<input type="text" class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label class="block text-gray-300 mb-2">Açıklama</label>
<textarea class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
</div>
</div>
<div class="flex justify-end space-x-4 mt-6">
<button onclick="closeAddGameModal()" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded transition">
İptal
</button>
<button onclick="addNewGame()" class="px-4 py-2 bg-purple-600 hover:bg-purple-500 rounded transition">
Oyun Ekle
</button>
</div>
</div>
</div>
<!-- Add Game Modal -->
<div class="fixed inset-0 bg-black bg-opacity-70 flex items-center justify-center z-50 hidden" id="addGameModal">
<div class="bg-gray-900 rounded-xl p-8 max-w-md w-full mx-4 border border-purple-500">
<h3 class="text-2xl font-bold mb-6 text-center text-purple-400">Yeni Oyun Ekle</h3>
<div class="space-y-4">
<div>
<label class="block text-gray-300 mb-2">Oyun Adı</label>
<input type="text" class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label class="block text-gray-300 mb-2">Kategori</label>
<select class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
<option>Battle Royale</option>
<option>Açık Dünya</option>
<option>FPS</option>
<option>MMORPG</option>
</select>
</div>
<div>
<label class="block text-gray-300 mb-2">Hile Kodu</label>
<input type="text" class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500">
</div>
<div>
<label class="block text-gray-300 mb-2">Açıklama</label>
<textarea class="w-full px-4 py-2 bg-gray-800 rounded focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
</div>
</div>
<div class="flex justify-end space-x-4 mt-6">
<button onclick="closeAddGameModal()" class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded transition">
İptal
</button>
<button onclick="addNewGame()" class="px-4 py-2 bg-purple-600 hover:bg-purple-500 rounded transition">
Oyun Ekle
</button>
</div>
</div>
</div>
<!-- JavaScript -->
<script>
// Game filtering function
function filterGames(category) {
const cards = document.querySelectorAll('.game-card');
cards.forEach(card => {
if (category === 'all' || card.querySelector('p.text-gray-400').textContent.includes(category)) {
card.style.display = 'block';
} else {
card.style.display = 'none';
}
});
}
// Search function
function searchGames() {
const searchTerm = document.getElementById('searchInput').value.toLowerCase();
const cards = document.querySelectorAll('.game-card');
cards.forEach(card => {
const gameName = card.querySelector('h3').textContent.toLowerCase();
if (gameName.includes(searchTerm)) {
card.style.display = 'block';
} else {
card.style.display = 'none';
}
});
}
// Mobile menu toggle
function toggleMobileMenu() {
const menu = document.getElementById('mobileMenu');
menu.classList.toggle('hidden');
}
// Add Game Modal functions
function openAddGameModal() {
document.getElementById('addGameModal').classList.remove('hidden');
}
function closeAddGameModal() {
document.getElementById('addGameModal').classList.add('hidden');
}
function addNewGame() {
const gameName = document.querySelector('#addGameModal input[type="text"]').value;
alert(`${gameName} başarıyla eklendi!`);
closeAddGameModal();
}
// Background particles
document.addEventListener('DOMContentLoaded', function() {
// Create particles
function createParticles() {
const particles = [];
const colors = ['#6c5ce7', '#a29bfe', '#fd79a8', '#00b894'];
for (let i = 0; i < 20; i++) {
const particle = document.createElement('div');
particle.className = 'particle';
// Random properties
const size = Math.random() * 5 + 2;
const posX = Math.random() * window.innerWidth;
const posY = Math.random() * window.innerHeight;
const color = colors[Math.floor(Math.random() * colors.length)];
const duration = Math.random() * 30 + 20;
const delay = Math.random() * 5;
// Apply styles
particle.style.width = `${size}px`;
particle.style.height = `${size}px`;
particle.style.left = `${posX}px`;
particle.style.top = `${posY}px`;
particle.style.background = color;
particle.style.opacity = '0.3';
particle.style.animation = `float ${duration}s linear ${delay}s infinite`;
document.body.appendChild(particle);
particles.push(particle);
}
// Animate particles
document.styleSheets[0].insertRule(`
@keyframes float {
0% {
transform: translate(0, 0);
opacity: 0.3;
}
50% {
opacity: 0.6;
}
100% {
transform: translate(${Math.random() * 200 - 100}px, ${Math.random() * 200 - 100}px);
opacity: 0;
}
}
`, 0);
}
createParticles();
// Copy code buttons
const copyButtons = document.querySelectorAll('.copy-btn');
copyButtons.forEach(button => {
button.addEventListener('click', function() {
const codeBlock = this.parentElement;
const code = codeBlock.querySelector('code').textContent;
navigator.clipboard.writeText(code).then(() => {
const originalHTML = this.innerHTML;
this.innerHTML = '<i class="fas fa-check"></i>';
this.classList.add('text-green-400');
setTimeout(() => {
this.innerHTML = originalHTML;
this.classList.remove('text-green-400');
}, 2000);
});
});
});
// Smooth scroll for anchor links
document.querySelectorAll('a[href^="#"]').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Mobile menu toggle (placeholder functionality)
document.querySelector('button[class*="md:hidden"]').addEventListener('click', function() {
alert('Mobil menü açılacak');
});
});
</script>
</body>
</html> Sitem için yardım lazım
3
●148
- 01-07-2025, 19:30:25Altta belirttiğim kod sitemin kodu fakat işlev olmuyor ön kısmı sadece görünen kısmını yapay zekayla yapabildim fakat çalıştıramadım butonları falan yardımcı olabilecek varmı fazla param yok ama ücret alacak kişiler için bi admin paneli birde çalışmasını sağlasak yeterli olur teşekkürler.
- 01-07-2025, 19:35:14https://wa.me/+905462997605 üzerinden bizimle iletişime geçerek profesyonel destek alabilirsiniz...
utline-none text-white transition"