feat: Enhance feed layout and add more example feeds

This commit is contained in:
Your Name (aider) committed 2025-04-28 04:19:06 +08:00
1 parent 17ec1078a7
commit 751228b254
1 file changed
+165 -17
+165 -17
View File
@@ -59,10 +59,11 @@
<div class="post-list">
<!-- Post 1 -->
<div class="mb-4">
<article class="flex">
<div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">1.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
@@ -82,10 +83,11 @@
</div>
<!-- Post 2 -->
<div class="mb-4">
<article class="flex">
<div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">2.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
@@ -105,10 +107,11 @@
</div>
<!-- Post 3 -->
<div class="mb-4">
<article class="flex">
<div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">3.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
@@ -128,10 +131,11 @@
</div>
<!-- Post 4 -->
<div class="mb-4">
<article class="flex">
<div class="mr-2">
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover" title="Upvote">▲</a>
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">4.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
@@ -149,10 +153,154 @@
</div>
</article>
</div>
<!-- Post 5 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">5.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best coffee shops in town.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@coffeelover</small>
<small class="text-text-muted ml-2 text-sm">2d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">15 comments</a></small>
</div>
</div>
</div>
</article>
</div>
<!-- Post 6 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">6.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to stay productive while working from home.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@homeoffice</small>
<small class="text-text-muted ml-2 text-sm">3d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">10 comments</a></small>
</div>
</div>
</div>
</article>
</div>
<!-- Post 7 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">7.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The art of desk organization.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@organizer</small>
<small class="text-text-muted ml-2 text-sm">4d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">25 comments</a></small>
</div>
</div>
</div>
</article>
</div>
<!-- Post 8 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">8.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best ergonomic accessories for your desk.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@ergonomics</small>
<small class="text-text-muted ml-2 text-sm">5d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">30 comments</a></small>
</div>
</div>
</div>
</article>
</div>
<!-- Post 9 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">9.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best books for productivity.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@bookworm</small>
<small class="text-text-muted ml-2 text-sm">6d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">18 comments</a></small>
</div>
</div>
</div>
</article>
</div>
<!-- Post 10 -->
<div class="mb-2">
<article class="flex items-center">
<div class="mr-2 flex items-center">
<span class="text-text-muted text-sm">10.</span>
<a href="#" class="text-text-muted no-underline text-sm leading-none inline-block pt-0.5 hover:text-link-hover ml-1" title="Upvote">▲</a>
</div>
<div class="flex-1 text-left">
<div>
<p>
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best tools for remote work.</a></strong>
</p>
<!-- Post title header -->
<div class="mt-0.5 mb-2 text-sm flex items-center">
<small class="text-text-muted ml-2 text-sm hover:underline">@remoteworker</small>
<small class="text-text-muted ml-2 text-sm">7d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">22 comments</a></small>
</div>
</div>
</div>
</article>
</div>
</div> <!-- End post-list -->
<!-- More Link Section -->
<div class="mt-4">
<div class="mt-4 flex justify-start">
<a href="#" class="text-primary hover:underline">More</a>
</div>