undefined / index.html
ntl69's picture
remove browse categories from index html
97a3dbf verified
Raw History Blame Contribute Delete
21.1 kB
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NoCap Nation - Uncensored Articles</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>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></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">
<!-- Navigation -->
<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 font-bold 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">
<span class="russo-one">NoCap Nation</span> <span class="music-note text-pink-500 ml-2">♫</span>
</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> <span class="font-normal">Home</span> <span class="music-note text-pink-500">♬</span>
</a>
<a href="/articles" class="text-gray-300 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-gray-300 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>
<!-- Hero Section -->
<header class="relative bg-gradient-to-r from-gray-800 to-gray-900 py-16">
<div class="absolute inset-0 bg-black opacity-60"></div>
<style>
@keyframes neonPulse {
0%, 100% { box-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #ff00de, 0 0 20px #ff00de; }
50% { box-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff00de, 0 0 40px #ff00de; }
}
body::before {
content: "";
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;
animation: neonPulse 4s infinite alternate;
}
.music-note {
display: inline-block;
animation: float 3s ease-in-out infinite;
}
@keyframes float {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-10px); }
}
</style>
<div class="container mx-auto px-4 relative z-10 pt-4">
<div class="max-w-3xl mx-auto text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6 animate__animated animate__fadeIn" style="font-family: 'Bungee', cursive; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); font-weight: 400;">
No Cap, Just Facts <span class="text-pink-500">🧢 </span>
</h1>
<p class="text-xl md:text-2xl text-gray-300 mb-8 animate__animated animate__fadeIn animate__delay-1s">
Uncensored articles and unfiltered perspectives <br>
<span class="text-sm text-gray-400">The truth has rhythm</span>
</p>
<div class="flex justify-center space-x-4 animate__animated animate__fadeIn animate__delay-2s">
<a href="/articles" class="bg-black px-6 py-3 rounded-lg text-white hover:bg-gray-800 transition">
Read Latest
</a>
<a href="/about" class="bg-gray-700 px-6 py-3 rounded-lg text-white hover:bg-gray-600 transition">
Learn More
</a>
</div>
</div>
</div>
</header>
<!-- Featured Articles -->
<section class="py-16 bg-black/80 relative z-10 backdrop-blur-sm">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-12">
<h2 class="text-3xl font-normal" style="font-family: 'Shrikhand', cursive; letter-spacing: 1px; font-weight: 400;">Featured Articles</h2>
<a href="#" class="text-gray-400 hover:text-white transition flex items-center">
View All <i data-feather="arrow-right" class="ml-2"></i>
</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Article 1 -->
<article class="bg-black rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
<div class="h-48 bg-cover bg-center" style="background-image: url('http://static.photos/black/1024x576/1');"></div>
<div class="p-6">
<div class="flex items-center mb-3">
<span class="text-sm text-gray-400">Politics</span>
<span class="mx-2 text-gray-600">•</span>
<span class="text-sm text-gray-400">2 days ago</span>
</div>
<h3 class="text-xl mb-3">The Truth They Don't Want You to Know</h3>
<p class="text-gray-400 mb-4">Uncovering the hidden agendas behind recent policy changes and what it means for you.</p>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-gray-700 mr-3"></div>
<span class="text-gray-300">J. Thompson</span>
</div>
</div>
</article>
<!-- Article 2 -->
<article class="bg-gray-900 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
<div class="h-48 bg-cover bg-center" style="background-image: url('http://static.photos/black/1024x576/2');"></div>
<div class="p-6">
<div class="flex items-center mb-3">
<span class="text-sm text-gray-400">Technology</span>
<span class="mx-2 text-gray-600">•</span>
<span class="text-sm text-gray-400">1 week ago</span>
</div>
<h3 class="text-xl mb-3">AI Gone Rogue: The Unspoken Dangers</h3>
<p class="text-gray-400 mb-4">Experts reveal how artificial intelligence might already be making decisions beyond human control.</p>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-gray-700 mr-3"></div>
<span class="text-gray-300">M. Rodriguez</span>
</div>
</div>
</article>
<!-- Article 3 -->
<article class="bg-gray-900 rounded-xl overflow-hidden shadow-lg hover:shadow-xl transition">
<div class="h-48 bg-cover bg-center" style="background-image: url('http://static.photos/black/1024x576/3');"></div>
<div class="p-6">
<div class="flex items-center mb-3">
<span class="text-sm text-gray-400">Health</span>
<span class="mx-2 text-gray-600">•</span>
<span class="text-sm text-gray-400">3 days ago</span>
</div>
<h3 class="text-xl mb-3">The Wellness Scam: What Big Pharma Hides</h3>
<p class="text-gray-400 mb-4">Investigative report on how the health industry profits from keeping you sick.</p>
<div class="flex items-center">
<div class="w-8 h-8 rounded-full bg-gray-700 mr-3"></div>
<span class="text-gray-300">A. Williams</span>
</div>
</div>
</article>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="py-16 bg-black/80 relative z-10 backdrop-blur-sm">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<h2 class="text-3xl font-normal mb-6" style="font-family: 'Bungee', cursive; text-shadow: 2px 2px 4px rgba(0,0,0,0.5); font-weight: 400;">Stay Uncensored</h2>
<p class="text-gray-400 mb-8 max-w-2xl mx-auto">
Get our latest articles delivered straight to your inbox. No spam, no filters, just facts.
</p>
<div class="flex flex-col md:flex-row gap-4 max-w-md mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-lg bg-gray-800 text-white focus:outline-none focus:ring-2 focus:ring-gray-600">
<button type="submit" class="bg-gray-700 hover:bg-gray-600 transition text-white px-6 py-3 rounded-lg">
Subscribe
</button>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black/80 py-12 relative z-10 backdrop-blur-sm">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 class="text-xl font-bold mb-4">NoCap Nation</h3>
<p class="text-gray-400">
Delivering unfiltered truth since 2023. No agendas, just facts.
</p>
</div>
<div>
<h4 class="mb-4">Categories</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">World</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Politics</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Technology</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Health</a></li>
</ul>
</div>
<div>
<h4 class="mb-4">Company</h4>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Contact</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Careers</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Advertise</a></li>
</ul>
</div>
<div>
<h4 class="mb-4">Follow Us</h4>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="facebook"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-white transition">
<i data-feather="linkedin"></i>
</a>
</div>
</div>
</div>
<div class="border-t border-gray-900 mt-12 pt-8 text-center text-gray-500">
<p>© 2025 NoCap Nation. All rights reserved. No caps detected.</p>
</div>
</div>
</footer>
<script>
feather.replace();
// Mobile menu toggle function
function toggleMobileMenu() {
const existingMenu = document.querySelector('.mobile-menu-overlay');
if (existingMenu) {
document.body.removeChild(existingMenu);
return;
}
const mobileMenu = document.createElement('div');
mobileMenu.className = 'mobile-menu-overlay fixed inset-0 bg-gray-900 z-50 p-4';
mobileMenu.innerHTML = `
<div class="flex justify-between items-center mb-8">
<span class="text-xl font-bold">Menu</span>
<button onclick="toggleMobileMenu()" class="text-gray-400 hover:text-white">
<i data-feather="x"></i>
</button>
</div>
<div class="flex flex-col space-y-6">
<a href="/" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="home" class="mr-2"></i> Home
</a>
<a href="/articles" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="file-text" class="mr-2"></i> Articles
</a>
<a href="/categories" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="list" class="mr-2"></i> Categories
</a>
<a href="/about" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="info" class="mr-2"></i> About
</a>
<a href="/contact" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="mail" class="mr-2"></i> Contact
</a>
<a href="/subscribe" class="text-white hover:text-gray-300 transition flex items-center">
<i data-feather="mail" class="mr-2"></i> Subscribe
</a>
</div>
`;
document.body.appendChild(mobileMenu);
feather.replace();
}
document.getElementById('mobile-menu-button').addEventListener('click', toggleMobileMenu);
// Form submission for newsletter
document.querySelector('form')?.addEventListener('submit', function(e) {
e.preventDefault();
const email = e.target.querySelector('input[type="email"]').value;
// Here you would typically send to your backend
alert(`Thanks for subscribing with ${email}!`);
e.target.reset();
});
// Simple animation for elements when they come into view
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animate__animated', 'animate__fadeInUp');
}
});
}, { threshold: 0.1 });
document.querySelectorAll('article, section > div > h2, section > div > p').forEach(el => {
observer.observe(el);
});
</script>
</body>
</html>