File size: 11,053 Bytes
1e0d1ff c3e4263 1e0d1ff c3e4263 1e0d1ff c3e4263 1e0d1ff 86d1165 4cd20d9 1e0d1ff f3aa9c6 1049413 1e0d1ff c3e4263 1e0d1ff c3e4263 15a0697 c3e4263 15a0697 c3e4263 15a0697 ef831b8 e56df86 15a0697 86d1165 cc76f6c 1e0d1ff cc76f6c 8ae3c23 1e0d1ff 8ae3c23 c3e4263 15a0697 1e0d1ff cf3eccd b8425db cf3eccd 86d1165 b8425db 86d1165 cf3eccd 86d1165 cf3eccd b8425db 1e0d1ff cf3eccd 86d1165 cf3eccd 86d1165 cf3eccd 86d1165 cf3eccd f3aa9c6 89180d9 e506689 86d1165 89180d9 e506689 c3e4263 1e0d1ff 8ae3c23 e56df86 8ae3c23 1e0d1ff | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 | <!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Articles - NoCap Nation</title>
<link href="https://fonts.googleapis.com/css2?family=Bungee&family=Shrikhand:wght@400;700&display=swap" rel="stylesheet">
<script src="https://cdn.tailwindcss.com"></script>
<script>
tailwind.config = {
darkMode: 'class',
theme: {
extend: {
colors: {
primary: '#000000',
secondary: '#1f2937',
accent: '#4b5563'
}
}
}
}
</script>
<script src="https://unpkg.com/feather-icons"></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/>
</head>
<body class="bg-black text-gray-200 min-h-screen" style="position: relative;">
<div style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: url('http://static.photos/music/1200x630/5') center/cover no-repeat; opacity: 0.3; z-index: -1;"></div>
<nav class="bg-black/80 shadow-lg backdrop-blur-sm">
<div class="container mx-auto px-4 py-3">
<div class="flex justify-between items-center">
<div class="flex items-center space-x-4">
<a href="/" class="text-white text-2xl flex items-center">
<img src="https://huggingface.co/spaces/ntl69/undefined/resolve/main/images/ChatGPT%20Image%20Oct%2015%2C%202025%2C%2011_20_23%20PM.png" alt="NoCap Nation Logo" class="h-10 w-10 rounded-full mr-3">
<head>
<link href="https://fonts.googleapis.com/css2?family=Russo+One&display=swap" rel="stylesheet">
</head>
<body>
<div style="font-family: 'russo one', sans-serif; font-weight: ; font-size: 30px;">
NoCap Nation
</div>
</body>
</a>
</div>
<div class="hidden md:flex items-center space-x-8">
<a href="/" class="text-gray-300 hover:text-white transition flex items-center">
<i data-feather="home" class="mr-2 w-4 h-4"></i> Home
</a>
<a href="/articles" class="text-white hover:text-white transition flex items-center">
<i data-feather="file-text" class="mr-2 w-4 h-4"></i> Articles
</a>
<a href="/categories" class="text-gray-300 hover:text-white transition flex items-center">
<i data-feather="list" class="mr-2 w-4 h-4"></i> Categories
</a>
<a href="/about" class="text-white hover:text-white transition flex items-center">
<i data-feather="info" class="mr-2 w-4 h-4"></i> About
</a>
<a href="/contact" class="text-gray-300 hover:text-white transition flex items-center">
<i data-feather="mail" class="mr-2 w-4 h-4"></i> Contact
</a>
<div class="relative">
<input type="text" placeholder="Search..." class="bg-black text-white px-4 py-2 rounded-full w-64 focus:outline-none focus:ring-2 focus:ring-gray-600">
<i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i>
</div>
</div>
<div class="flex items-center space-x-4">
<button class="md:hidden text-gray-300 focus:outline-none" id="mobile-menu-button" onclick="toggleMobileMenu()">
<i data-feather="menu"></i>
</button>
<a href="/subscribe" class="hidden md:block bg-black px-4 py-2 rounded-lg text-white hover:bg-gray-700 transition flex items-center">
<i data-feather="mail" class="mr-2 w-4 h-4"></i> Subscribe
</a>
</div>
</div>
</div>
</nav>
<!-- Search Bar with Recommendations -->
<div class="container mx-auto px-4 py-8">
<div class="max-w-4xl mx-auto relative">
<input type="text" id="searchInput" placeholder="Search for articles..."
class="w-full bg-black text-white px-6 py-4 rounded-full focus:outline-none focus:ring-2 focus:ring-gray-600 border border-gray-700">
<button class="absolute right-3 top-3 bg-black hover:bg-gray-800 text-white px-6 py-2 rounded-full transition">
<i data-feather="search" class="inline-block"></i> Search
</button>
<div id="searchSuggestions" class="hidden absolute left-0 right-0 mt-1 bg-black rounded-lg shadow-lg z-50 max-h-60 overflow-y-auto">
<div class="p-2 text-gray-400">Popular searches:</div>
<div class="divide-y divide-gray-700">
<a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Politics</a>
<a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Technology</a>
<a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Health</a>
<a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Business</a>
</div>
</div>
</div>
</div>
<script>
const searchInput = document.getElementById('searchInput');
const searchSuggestions = document.getElementById('searchSuggestions');
searchInput.addEventListener('focus', () => {
searchSuggestions.classList.remove('hidden');
});
searchInput.addEventListener('blur', () => {
setTimeout(() => {
searchSuggestions.classList.add('hidden');
}, 200);
});
// Sample search suggestions - in a real app you would fetch these from an API
const popularSearches = [
"Politics",
"Technology",
"Health",
"Business",
"World News",
"Conspiracy Theories",
"Latest Updates"
];
searchInput.addEventListener('input', (e) => {
const value = e.target.value.toLowerCase();
if (value.length > 0) {
const filtered = popularSearches.filter(item =>
item.toLowerCase().includes(value)
);
// Update suggestions dropdown
if (filtered.length > 0) {
searchSuggestions.innerHTML = `
<div class="p-2 text-gray-400">Suggestions:</div>
<div class="divide-y divide-gray-700">
${filtered.map(item => `
<a href="/search?q=${encodeURIComponent(item)}" class="block px-4 py-2 hover:bg-gray-900 text-white">${item}</a>
`).join('')}
</div>
`;
} else {
searchSuggestions.innerHTML = `
<div class="p-4 text-gray-400 text-center">No suggestions found</div>
`;
}
searchSuggestions.classList.remove('hidden');
} else {
searchSuggestions.innerHTML = `
<div class="p-2 text-gray-400">Popular searches:</div>
<div class="divide-y divide-gray-700">
${popularSearches.map(item => `
<a href="/search?q=${encodeURIComponent(item)}" class="block px-4 py-2 hover:bg-gray-900 text-white">${item}</a>
`).join('')}
</div>
`;
}
});
</script>
<main class="container mx-auto px-4 pb-12">
<h1 class="text-4xl mb-8 font-normal" style="font-family: 'Shrikhand', cursive;">All Articles <span class="music-note text-pink-500">♫</span></h1>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" style="background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(107, 33, 168, 0.1), rgba(0,0,0,0.1));">
<!-- Article cards would be generated here from your CMS/backend -->
<div class="bg-black rounded-lg p-6 hover:shadow-lg hover:shadow-purple-500/20 transition">
<h2 class="text-xl mb-2">Sample Article Title</h2>
<p class="text-gray-400 mb-4">This would be a brief excerpt from the article content.</p>
<a href="/article/1" class="text-white hover:underline flex items-center">
Read more <span class="music-note text-pink-500 ml-1">→</span>
</a>
</div>
<!-- More articles... -->
</div>
</main>
<script>
</script>
</body>
</html> |