iprofitx's picture
include sample content articles so I can read what it looks like. Add features on there as talked
3d6e1be verified
Raw History Blame Contribute Delete
8.83 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>All Articles - HelpHub</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/article-card.js"></script>
<script src="components/footer.js"></script>
<script src="components/sidebar.js"></script>
</head>
<body class="bg-gray-50">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex flex-col md:flex-row gap-8">
<!-- Sidebar -->
<aside class="w-full md:w-64 flex-shrink-0">
<div class="bg-white rounded-lg shadow-md p-6 mb-6">
<h3 class="font-semibold text-lg mb-4">Categories</h3>
<ul class="space-y-2">
<li><a href="#" class="text-blue-600 hover:text-blue-800 flex items-center justify-between">
<span>All Articles</span>
<span class="bg-blue-100 text-blue-800 text-xs px-2 py-1 rounded-full">42</span>
</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600 flex items-center justify-between">
<span>Getting Started</span>
<span class="bg-gray-100 text-gray-800 text-xs px-2 py-1 rounded-full">15</span>
</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600 flex items-center justify-between">
<span>Account</span>
<span class="bg-gray-100 text-gray-800 text-xs px-2 py-1 rounded-full">12</span>
</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600 flex items-center justify-between">
<span>Billing</span>
<span class="bg-gray-100 text-gray-800 text-xs px-2 py-1 rounded-full">8</span>
</a></li>
<li><a href="#" class="text-gray-600 hover:text-blue-600 flex items-center justify-between">
<span>Security</span>
<span class="bg-gray-100 text-gray-800 text-xs px-2 py-1 rounded-full">5</span>
</a></li>
</ul>
</div>
<div class="bg-white rounded-lg shadow-md p-6">
<h3 class="font-semibold text-lg mb-4">Popular Tags</h3>
<div class="flex flex-wrap gap-2">
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 text-sm px-3 py-1 rounded-full">#password</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 text-sm px-3 py-1 rounded-full">#billing</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 text-sm px-3 py-1 rounded-full">#2fa</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 text-sm px-3 py-1 rounded-full">#login</a>
<a href="#" class="bg-gray-100 hover:bg-gray-200 text-gray-800 text-sm px-3 py-1 rounded-full">#api</a>
</div>
</div>
</aside>
<!-- Main Content -->
<div class="flex-1">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-800">All Articles</h1>
<div class="relative w-64">
<input type="text" placeholder="Search articles..." class="w-full pl-4 pr-10 py-2 border border-gray-300 rounded-lg focus:ring-blue-500 focus:border-blue-500">
<i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i>
</div>
</div>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6">
<custom-article-card
title="How to Reset Your Password"
excerpt="Follow these steps to securely reset your account password if you've forgotten it or suspect unauthorized access."
category="Account"
date="2 days ago"
views="124"
read-time="5 min">
</custom-article-card>
<custom-article-card
title="Understanding Your Invoice"
excerpt="Learn how to read and interpret the various charges and credits on your monthly billing statement."
category="Billing"
date="1 week ago"
views="89"
read-time="7 min">
</custom-article-card>
<custom-article-card
title="Two-Factor Authentication Setup"
excerpt="Step-by-step guide to enabling 2FA for added security on your account using authenticator apps or SMS."
category="Security"
date="3 weeks ago"
views="215"
read-time="4 min">
</custom-article-card>
<custom-article-card
title="Getting Started With Our Platform"
excerpt="Complete beginner's guide to setting up your account, navigating the dashboard, and key features."
category="Getting Started"
date="1 month ago"
views="342"
read-time="10 min">
</custom-article-card>
<custom-article-card
title="Managing Your Subscription"
excerpt="How to upgrade, downgrade, or cancel your plan, and what happens to your data in each scenario."
category="Billing"
date="1 month ago"
views="187"
read-time="6 min">
</custom-article-card>
<custom-article-card
title="Account Security Best Practices"
excerpt="Essential tips to keep your account secure including password management and recognizing phishing attempts."
category="Security"
date="2 months ago"
views="276"
read-time="8 min">
</custom-article-card>
</div>
<div class="bg-white rounded-lg shadow-md p-6 mt-8">
<h3 class="text-xl font-semibold mb-4">Can't find what you're looking for?</h3>
<p class="text-gray-600 mb-4">Our support team is available 24/7 to help with any questions.</p>
<a href="contact.html" class="inline-flex items-center text-blue-600 hover:text-blue-800 font-medium">
Contact Support <i data-feather="arrow-right" class="ml-2 w-4 h-4"></i>
</a>
</div>
<div class="flex justify-center mt-10">
<nav class="inline-flex rounded-md shadow">
<a href="#" class="px-4 py-2 rounded-l-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 flex items-center">
<i data-feather="chevron-left" class="w-4 h-4 mr-1"></i> Previous
</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-blue-50 text-blue-600 font-medium">1</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">2</a>
<a href="#" class="px-4 py-2 border-t border-b border-gray-300 bg-white text-gray-500 hover:bg-gray-50">3</a>
<a href="#" class="px-4 py-2 rounded-r-md border border-gray-300 bg-white text-gray-500 hover:bg-gray-50 flex items-center">
Next <i data-feather="chevron-right" class="w-4 h-4 ml-1"></i>
</a>
</nav>
</div>
</div>
</div>
</main>
<custom-footer></custom-footer>
<script>
feather.replace();
</script>
<script src="script.js"></script>
<script src="components/sidebar.js"></script>
</body>
</html>