newsspace / index.html
Kobish44's picture
Add 3 files
9c748b5 verified
Raw
History Blame Contribute Delete
50.3 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Global News Network</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">
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#1a365d',
secondary: '#2c5282',
accent: '#e53e3e',
}
}
}
}
</script>
<style>
.mega-menu {
display: none;
opacity: 0;
transform: translateY(-10px);
transition: opacity 0.3s ease, transform 0.3s ease;
}
.mega-menu.active {
display: block;
opacity: 1;
transform: translateY(0);
}
.news-card:hover .news-image {
transform: scale(1.03);
}
.news-image {
transition: transform 0.3s ease;
}
.breaking-news-ticker {
animation: ticker 30s linear infinite;
}
@keyframes ticker {
0% { transform: translateX(100%); }
100% { transform: translateX(-100%); }
}
</style>
</head>
<body class="bg-gray-50 font-sans">
<!-- Top Bar -->
<div class="bg-primary text-white text-sm py-1 px-4 flex justify-between items-center">
<div class="flex space-x-4">
<span><i class="fas fa-globe mr-1"></i> English</span>
<span><i class="fas fa-map-marker-alt mr-1"></i> New York</span>
</div>
<div class="flex space-x-4">
<a href="#" class="hover:text-gray-300"><i class="fas fa-user mr-1"></i> Sign In</a>
<a href="#" class="hover:text-gray-300"><i class="fas fa-bell mr-1"></i> Alerts</a>
<a href="#" class="hover:text-gray-300"><i class="fas fa-search mr-1"></i> Search</a>
</div>
</div>
<!-- Breaking News Ticker -->
<div class="bg-accent text-white py-2 px-4 overflow-hidden">
<div class="flex items-center">
<span class="font-bold mr-4 whitespace-nowrap">BREAKING:</span>
<div class="whitespace-nowrap breaking-news-ticker">
<span class="mr-8">Russia-Ukraine peace talks show progress as ceasefire negotiations continue</span>
<span class="mr-8">Stock markets rally as inflation fears ease; Dow Jones up 2.3%</span>
<span class="mr-8">Major tech companies announce new AI ethics standards at global summit</span>
<span class="mr-8">Scientists discover potential breakthrough in cancer treatment research</span>
</div>
</div>
</div>
<!-- Header -->
<header class="bg-white shadow-sm">
<div class="container mx-auto px-4 py-4 flex justify-between items-center">
<div class="flex items-center">
<h1 class="text-3xl font-bold text-primary">GNN</h1>
<span class="ml-2 text-xs font-semibold bg-accent text-white px-2 py-1 rounded">LIVE</span>
</div>
<div class="hidden md:flex space-x-6">
<div class="relative group">
<button class="font-medium text-gray-800 hover:text-primary">News</button>
<div class="mega-menu absolute left-0 w-screen bg-white shadow-lg z-50 p-6 border-t border-gray-200">
<div class="grid grid-cols-4 gap-6">
<div>
<h3 class="font-bold text-primary mb-3">Top Stories</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Most Read</a></li>
<li><a href="#" class="hover:text-accent">Latest Updates</a></li>
<li><a href="#" class="hover:text-accent">Editor's Picks</a></li>
<li><a href="#" class="hover:text-accent">Fact Check</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Politics</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Elections</a></li>
<li><a href="#" class="hover:text-accent">White House</a></li>
<li><a href="#" class="hover:text-accent">Congress</a></li>
<li><a href="#" class="hover:text-accent">Supreme Court</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Investigations</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Special Reports</a></li>
<li><a href="#" class="hover:text-accent">Data Journalism</a></li>
<li><a href="#" class="hover:text-accent">Documentaries</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Opinion</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Editorials</a></li>
<li><a href="#" class="hover:text-accent">Columnists</a></li>
<li><a href="#" class="hover:text-accent">Letters</a></li>
<li><a href="#" class="hover:text-accent">Cartoons</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="relative group">
<button class="font-medium text-gray-800 hover:text-primary">World</button>
<div class="mega-menu absolute left-0 w-screen bg-white shadow-lg z-50 p-6 border-t border-gray-200">
<div class="grid grid-cols-4 gap-6">
<div>
<h3 class="font-bold text-primary mb-3">Regions</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Europe</a></li>
<li><a href="#" class="hover:text-accent">Asia</a></li>
<li><a href="#" class="hover:text-accent">Africa</a></li>
<li><a href="#" class="hover:text-accent">Americas</a></li>
<li><a href="#" class="hover:text-accent">Middle East</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Global Issues</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Climate Change</a></li>
<li><a href="#" class="hover:text-accent">Migration</a></li>
<li><a href="#" class="hover:text-accent">Global Economy</a></li>
<li><a href="#" class="hover:text-accent">Health</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Conflicts</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Ukraine War</a></li>
<li><a href="#" class="hover:text-accent">Middle East</a></li>
<li><a href="#" class="hover:text-accent">Terrorism</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Diplomacy</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">UN</a></li>
<li><a href="#" class="hover:text-accent">G7/G20</a></li>
<li><a href="#" class="hover:text-accent">Trade</a></li>
<li><a href="#" class="hover:text-accent">Summits</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="relative group">
<button class="font-medium text-gray-800 hover:text-primary">Business</button>
<div class="mega-menu absolute left-0 w-screen bg-white shadow-lg z-50 p-6 border-t border-gray-200">
<div class="grid grid-cols-4 gap-6">
<div>
<h3 class="font-bold text-primary mb-3">Markets</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Stock Markets</a></li>
<li><a href="#" class="hover:text-accent">Commodities</a></li>
<li><a href="#" class="hover:text-accent">Currencies</a></li>
<li><a href="#" class="hover:text-accent">Bonds</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Economy</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Macro</a></li>
<li><a href="#" class="hover:text-accent">Employment</a></li>
<li><a href="#" class="hover:text-accent">Inflation</a></li>
<li><a href="#" class="hover:text-accent">GDP</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Companies</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Tech</a></li>
<li><a href="#" class="hover:text-accent">Finance</a></li>
<li><a href="#" class="hover:text-accent">Retail</a></li>
<li><a href="#" class="hover:text-accent">Energy</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Personal Finance</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Investing</a></li>
<li><a href="#" class="hover:text-accent">Taxes</a></li>
<li><a href="#" class="hover:text-accent">Retirement</a></li>
<li><a href="#" class="hover:text-accent">Real Estate</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="relative group">
<button class="font-medium text-gray-800 hover:text-primary">Technology</button>
<div class="mega-menu absolute left-0 w-screen bg-white shadow-lg z-50 p-6 border-t border-gray-200">
<div class="grid grid-cols-4 gap-6">
<div>
<h3 class="font-bold text-primary mb-3">Innovation</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">AI</a></li>
<li><a href="#" class="hover:text-accent">Robotics</a></li>
<li><a href="#" class="hover:text-accent">Space</a></li>
<li><a href="#" class="hover:text-accent">Future</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Gadgets</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Smartphones</a></li>
<li><a href="#" class="hover:text-accent">Computers</a></li>
<li><a href="#" class="hover:text-accent">Wearables</a></li>
<li><a href="#" class="hover:text-accent">Reviews</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Internet</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Social Media</a></li>
<li><a href="#" class="hover:text-accent">Cybersecurity</a></li>
<li><a href="#" class="hover:text-accent">Web</a></li>
<li><a href="#" class="hover:text-accent">Apps</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Science</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Health</a></li>
<li><a href="#" class="hover:text-accent">Environment</a></li>
<li><a href="#" class="hover:text-accent">Physics</a></li>
<li><a href="#" class="hover:text-accent">Biology</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="relative group">
<button class="font-medium text-gray-800 hover:text-primary">Sports</button>
<div class="mega-menu absolute left-0 w-screen bg-white shadow-lg z-50 p-6 border-t border-gray-200">
<div class="grid grid-cols-4 gap-6">
<div>
<h3 class="font-bold text-primary mb-3">Major Leagues</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">NFL</a></li>
<li><a href="#" class="hover:text-accent">NBA</a></li>
<li><a href="#" class="hover:text-accent">MLB</a></li>
<li><a href="#" class="hover:text-accent">NHL</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Soccer</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Premier League</a></li>
<li><a href="#" class="hover:text-accent">La Liga</a></li>
<li><a href="#" class="hover:text-accent">Champions League</a></li>
<li><a href="#" class="hover:text-accent">World Cup</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">More Sports</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Tennis</a></li>
<li><a href="#" class="hover:text-accent">Golf</a></li>
<li><a href="#" class="hover:text-accent">Olympics</a></li>
<li><a href="#" class="hover:text-accent">Motorsports</a></li>
</ul>
</div>
<div>
<h3 class="font-bold text-primary mb-3">Analysis</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-accent">Scores</a></li>
<li><a href="#" class="hover:text-accent">Standings</a></li>
<li><a href="#" class="hover:text-accent">Stats</a></li>
<li><a href="#" class="hover:text-accent">Fantasy</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="flex items-center space-x-4">
<button class="md:hidden text-gray-600">
<i class="fas fa-bars text-xl"></i>
</button>
<button class="bg-accent text-white px-4 py-2 rounded hover:bg-red-600 transition">
Subscribe
</button>
</div>
</div>
</header>
<!-- Main Content -->
<main class="container mx-auto px-4 py-6">
<!-- Featured Story -->
<section class="mb-12">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="news-card relative overflow-hidden rounded-lg shadow-md">
<img src="https://source.unsplash.com/random/800x450/?politics" alt="Featured News" class="news-image w-full h-96 object-cover">
<div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-6">
<span class="text-white bg-accent px-3 py-1 rounded-full text-xs font-semibold">BREAKING</span>
<h2 class="text-3xl font-bold text-white mt-2">Global Leaders Reach Historic Climate Agreement After Marathon Negotiations</h2>
<p class="text-gray-200 mt-2">After two weeks of intense talks, representatives from 195 countries have agreed on a landmark deal to reduce carbon emissions by 50% by 2030.</p>
<div class="flex items-center mt-4 text-white text-sm">
<span><i class="fas fa-user mr-1"></i> By Sarah Johnson</span>
<span class="mx-3">|</span>
<span><i class="far fa-clock mr-1"></i> 2 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 342 comments</span>
</div>
</div>
</div>
</div>
<div class="space-y-6">
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/400x225/?economy" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">ECONOMY</span>
<h3 class="font-bold text-lg mt-1">Federal Reserve Announces Interest Rate Hike Amid Inflation Concerns</h3>
<p class="text-gray-600 text-sm mt-2">The central bank raised rates by 0.75 percentage points, the largest increase since 1994.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 4 hours ago</span>
</div>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/400x225/?technology" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">TECHNOLOGY</span>
<h3 class="font-bold text-lg mt-1">Apple Unveils Revolutionary AR Glasses at Developer Conference</h3>
<p class="text-gray-600 text-sm mt-2">The new wearable device promises to blend digital content with the physical world seamlessly.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 6 hours ago</span>
</div>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/400x225/?health" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">HEALTH</span>
<h3 class="font-bold text-lg mt-1">New Study Shows Promising Results for Alzheimer's Treatment</h3>
<p class="text-gray-600 text-sm mt-2">Experimental drug slows cognitive decline by 27% in clinical trials.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 8 hours ago</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- News Sections -->
<section class="mb-12">
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">Latest News</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/300x200/?politics" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">POLITICS</span>
<h3 class="font-bold text-lg mt-1">President Announces Cabinet Reshuffle Ahead of Midterms</h3>
<p class="text-gray-600 text-sm mt-2">Three senior ministers replaced as administration seeks to reset agenda.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 1 hour ago</span>
</div>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/300x200/?business" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">BUSINESS</span>
<h3 class="font-bold text-lg mt-1">Major Merger Creates World's Largest Renewable Energy Company</h3>
<p class="text-gray-600 text-sm mt-2">$45 billion deal combines two industry leaders in solar and wind power.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 3 hours ago</span>
</div>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/300x200/?technology" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">TECH</span>
<h3 class="font-bold text-lg mt-1">Social Media Platform Faces Backlash Over Privacy Changes</h3>
<p class="text-gray-600 text-sm mt-2">New data sharing policy sparks outrage among users and regulators.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 5 hours ago</span>
</div>
</div>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/300x200/?sports" alt="News" class="news-image w-full h-40 object-cover">
<div class="p-4">
<span class="text-xs font-semibold text-primary">SPORTS</span>
<h3 class="font-bold text-lg mt-1">Underdog Team Stuns Champions in Historic Finals Upset</h3>
<p class="text-gray-600 text-sm mt-2">Last-minute goal seals victory in tournament's biggest surprise in decades.</p>
<div class="flex items-center mt-3 text-gray-500 text-xs">
<span><i class="far fa-clock mr-1"></i> 7 hours ago</span>
</div>
</div>
</div>
</div>
</section>
<!-- World News Section -->
<section class="mb-12">
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">World News</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
<div class="lg:col-span-2">
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/800x400/?world" alt="World News" class="news-image w-full h-64 object-cover">
<div class="p-6">
<span class="text-xs font-semibold text-primary">INTERNATIONAL</span>
<h3 class="text-2xl font-bold mt-2">Tensions Rise as Territorial Dispute Escalates in South China Sea</h3>
<p class="text-gray-600 mt-3">Military exercises and diplomatic protests mark latest chapter in long-running conflict over strategic waterways and resources.</p>
<div class="flex items-center mt-4 text-gray-500 text-sm">
<span><i class="fas fa-user mr-1"></i> By Michael Chen</span>
<span class="mx-3">|</span>
<span><i class="far fa-clock mr-1"></i> 3 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 127 comments</span>
</div>
</div>
</div>
</div>
<div class="space-y-6">
<div class="flex items-start space-x-4 border-b border-gray-100 pb-4">
<div class="flex-shrink-0">
<span class="text-xs font-semibold text-white bg-secondary px-2 py-1 rounded">EUROPE</span>
</div>
<div>
<h4 class="font-bold hover:text-accent cursor-pointer">UK Faces Recession as Economic Growth Contracts for Second Quarter</h4>
<p class="text-gray-600 text-sm mt-1">Bank of England warns of 'challenging period ahead' as inflation hits 9%.</p>
</div>
</div>
<div class="flex items-start space-x-4 border-b border-gray-100 pb-4">
<div class="flex-shrink-0">
<span class="text-xs font-semibold text-white bg-secondary px-2 py-1 rounded">ASIA</span>
</div>
<div>
<h4 class="font-bold hover:text-accent cursor-pointer">Japan Reopens Borders to Tourists After Two-Year Pandemic Closure</h4>
<p class="text-gray-600 text-sm mt-1">Strict vaccination and testing requirements remain in place for visitors.</p>
</div>
</div>
<div class="flex items-start space-x-4 border-b border-gray-100 pb-4">
<div class="flex-shrink-0">
<span class="text-xs font-semibold text-white bg-secondary px-2 py-1 rounded">AFRICA</span>
</div>
<div>
<h4 class="font-bold hover:text-accent cursor-pointer">Historic Peace Deal Signed in Ethiopia After Two Years of Conflict</h4>
<p class="text-gray-600 text-sm mt-1">African Union mediators broker agreement between government and Tigray forces.</p>
</div>
</div>
<div class="flex items-start space-x-4">
<div class="flex-shrink-0">
<span class="text-xs font-semibold text-white bg-secondary px-2 py-1 rounded">AMERICAS</span>
</div>
<div>
<h4 class="font-bold hover:text-accent cursor-pointer">Brazil Election Polls Show Tight Race Ahead of October Vote</h4>
<p class="text-gray-600 text-sm mt-1">Incumbent and challenger separated by just 2 percentage points in latest survey.</p>
</div>
</div>
</div>
</div>
</section>
<!-- Business & Tech Section -->
<section class="mb-12">
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div>
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">Business</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/600x300/?finance" alt="Business News" class="news-image w-full h-48 object-cover">
<div class="p-6">
<span class="text-xs font-semibold text-primary">MARKETS</span>
<h3 class="text-xl font-bold mt-2">Cryptocurrency Markets Plunge as Major Exchange Collapses</h3>
<p class="text-gray-600 mt-2">Investors lose billions as platform files for bankruptcy, raising questions about regulation.</p>
<div class="flex items-center mt-4 text-gray-500 text-sm">
<span><i class="far fa-clock mr-1"></i> 5 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 89 comments</span>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0 w-16 h-16 bg-gray-200 rounded overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?retail" alt="Thumbnail" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">Retail Giant Announces Plans to Open 100 New Stores Despite Economic Slowdown</h4>
<span class="text-gray-500 text-xs mt-1">2 hours ago</span>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="flex-shrink-0 w-16 h-16 bg-gray-200 rounded overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?automobile" alt="Thumbnail" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">Electric Vehicle Maker Reports Record Production Numbers</h4>
<span class="text-gray-500 text-xs mt-1">4 hours ago</span>
</div>
</div>
</div>
</div>
<div>
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">Technology</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/600x300/?computer" alt="Tech News" class="news-image w-full h-48 object-cover">
<div class="p-6">
<span class="text-xs font-semibold text-primary">INNOVATION</span>
<h3 class="text-xl font-bold mt-2">Breakthrough in Quantum Computing Achieves 'Quantum Supremacy' Milestone</h3>
<p class="text-gray-600 mt-2">New processor solves in minutes what would take traditional supercomputers years.</p>
<div class="flex items-center mt-4 text-gray-500 text-sm">
<span><i class="far fa-clock mr-1"></i> 7 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 156 comments</span>
</div>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-4 mt-6">
<div class="flex items-start space-x-3">
<div class="flex-shrink-0 w-16 h-16 bg-gray-200 rounded overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?phone" alt="Thumbnail" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">Leaked Images Reveal Design of Upcoming Flagship Smartphone</h4>
<span class="text-gray-500 text-xs mt-1">1 hour ago</span>
</div>
</div>
<div class="flex items-start space-x-3">
<div class="flex-shrink-0 w-16 h-16 bg-gray-200 rounded overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?robot" alt="Thumbnail" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">AI-Powered Robot Demonstrates Unprecedented Dexterity in Complex Tasks</h4>
<span class="text-gray-500 text-xs mt-1">3 hours ago</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Sports & Entertainment Section -->
<section>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-8">
<div>
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">Sports</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/600x300/?soccer" alt="Sports News" class="news-image w-full h-48 object-cover">
<div class="p-6">
<span class="text-xs font-semibold text-primary">FOOTBALL</span>
<h3 class="text-xl font-bold mt-2">World Cup Shocker as Defending Champions Eliminated in Group Stage</h3>
<p class="text-gray-600 mt-2">Underdog team's last-minute goal sends title holders packing in tournament's first major upset.</p>
<div class="flex items-center mt-4 text-gray-500 text-sm">
<span><i class="far fa-clock mr-1"></i> 2 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 432 comments</span>
</div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mt-6">
<div>
<div class="bg-gray-100 rounded-lg p-3 text-center">
<div class="font-bold text-lg">NBA</div>
<div class="text-sm mt-2">Celtics 112 - 108 Warriors</div>
<div class="text-xs text-gray-500 mt-1">Finals Game 4</div>
</div>
</div>
<div>
<div class="bg-gray-100 rounded-lg p-3 text-center">
<div class="font-bold text-lg">Tennis</div>
<div class="text-sm mt-2">Nadal vs Djokovic</div>
<div class="text-xs text-gray-500 mt-1">Wimbledon Semifinal</div>
</div>
</div>
</div>
</div>
<div>
<div class="flex justify-between items-center mb-6 border-b border-gray-200 pb-2">
<h2 class="text-2xl font-bold text-primary">Entertainment</h2>
<a href="#" class="text-accent hover:underline">View All</a>
</div>
<div class="news-card bg-white rounded-lg shadow-md overflow-hidden">
<img src="https://source.unsplash.com/random/600x300/?movie" alt="Entertainment News" class="news-image w-full h-48 object-cover">
<div class="p-6">
<span class="text-xs font-semibold text-primary">FILM</span>
<h3 class="text-xl font-bold mt-2">Highly Anticipated Sci-Fi Sequel Breaks Box Office Records</h3>
<p class="text-gray-600 mt-2">Opening weekend haul surpasses $300 million globally despite mixed reviews.</p>
<div class="flex items-center mt-4 text-gray-500 text-sm">
<span><i class="far fa-clock mr-1"></i> 6 hours ago</span>
<span class="mx-3">|</span>
<span><i class="fas fa-comment mr-1"></i> 287 comments</span>
</div>
</div>
</div>
<div class="grid grid-cols-2 gap-4 mt-6">
<div class="flex items-center space-x-2">
<div class="flex-shrink-0 w-10 h-10 bg-gray-200 rounded-full overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?celebrity" alt="Celebrity" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">A-List Actor Announces Surprise Retirement</h4>
<span class="text-gray-500 text-xs">1 hour ago</span>
</div>
</div>
<div class="flex items-center space-x-2">
<div class="flex-shrink-0 w-10 h-10 bg-gray-200 rounded-full overflow-hidden">
<img src="https://source.unsplash.com/random/100x100/?music" alt="Music" class="w-full h-full object-cover">
</div>
<div>
<h4 class="font-bold text-sm hover:text-accent cursor-pointer">Music Streaming Service Reveals Most Played Songs of 2023</h4>
<span class="text-gray-500 text-xs">3 hours ago</span>
</div>
</div>
</div>
</div>
</div>
</section>
</main>
<!-- Newsletter -->
<section class="bg-primary text-white py-12">
<div class="container mx-auto px-4">
<div class="max-w-3xl mx-auto text-center">
<h2 class="text-3xl font-bold mb-4">Stay Informed with Our Newsletter</h2>
<p class="mb-6">Get the day's top stories delivered straight to your inbox every morning.</p>
<form class="flex flex-col sm:flex-row gap-3 max-w-lg mx-auto">
<input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded text-gray-800 focus:outline-none">
<button type="submit" class="bg-accent hover:bg-red-600 px-6 py-3 rounded font-semibold transition">Subscribe</button>
</form>
<p class="text-sm mt-4 text-gray-300">By subscribing you agree to our Terms of Use and Privacy Policy.</p>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 text-gray-400 py-12">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<h3 class="text-white font-bold text-lg mb-4">GLOBAL NEWS NETWORK</h3>
<p class="mb-4">Delivering accurate, unbiased news from around the world since 1995.</p>
<div class="flex space-x-4">
<a href="#" class="text-white hover:text-accent"><i class="fab fa-facebook-f"></i></a>
<a href="#" class="text-white hover:text-accent"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-white hover:text-accent"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-white hover:text-accent"><i class="fab fa-youtube"></i></a>
<a href="#" class="text-white hover:text-accent"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-4">SECTIONS</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">News</a></li>
<li><a href="#" class="hover:text-white">World</a></li>
<li><a href="#" class="hover:text-white">Business</a></li>
<li><a href="#" class="hover:text-white">Technology</a></li>
<li><a href="#" class="hover:text-white">Sports</a></li>
<li><a href="#" class="hover:text-white">Entertainment</a></li>
</ul>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-4">COMPANY</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">About Us</a></li>
<li><a href="#" class="hover:text-white">Careers</a></li>
<li><a href="#" class="hover:text-white">Diversity</a></li>
<li><a href="#" class="hover:text-white">Contact</a></li>
<li><a href="#" class="hover:text-white">Advertise</a></li>
<li><a href="#" class="hover:text-white">Sitemap</a></li>
</ul>
</div>
<div>
<h3 class="text-white font-bold text-lg mb-4">LEGAL</h3>
<ul class="space-y-2">
<li><a href="#" class="hover:text-white">Terms of Use</a></li>
<li><a href="#" class="hover:text-white">Privacy Policy</a></li>
<li><a href="#" class="hover:text-white">Cookie Policy</a></li>
<li><a href="#" class="hover:text-white">GDPR</a></li>
<li><a href="#" class="hover:text-white">Accessibility</a></li>
<li><a href="#" class="hover:text-white">Do Not Sell My Info</a></li>
</ul>
</div>
</div>
<div class="pt-8 border-t border-gray-800 text-sm">
<div class="flex flex-col md:flex-row justify-between items-center">
<p>© 2023 Global News Network. All rights reserved.</p>
<div class="flex space-x-4 mt-4 md:mt-0">
<a href="#" class="hover:text-white">California Notice</a>
<a href="#" class="hover:text-white">Ethics Policy</a>
<a href="#" class="hover:text-white">Corrections</a>
</div>
</div>
</div>
</div>
</footer>
<script>
// Mega menu functionality
document.querySelectorAll('.group').forEach(group => {
const button = group.querySelector('button');
const menu = group.querySelector('.mega-menu');
group.addEventListener('mouseenter', () => {
menu.classList.add('active');
});
group.addEventListener('mouseleave', () => {
menu.classList.remove('active');
});
// For touch devices
button.addEventListener('click', (e) => {
if (window.innerWidth < 768) {
e.preventDefault();
document.querySelectorAll('.mega-menu').forEach(m => {
if (m !== menu) m.classList.remove('active');
});
menu.classList.toggle('active');
}
});
});
// Close mega menus when clicking outside
document.addEventListener('click', (e) => {
if (!e.target.closest('.group')) {
document.querySelectorAll('.mega-menu').forEach(menu => {
menu.classList.remove('active');
});
}
});
</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=Kobish44/newsspace" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>