feat: Add no-results page with reusable component

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 22:37:20 +08:00
1 parent 027c9d8219
commit a2741f0715
2 files changed
+7 -6

No files matched your search

+6
View File
@@ -0,0 +1,6 @@
<div class="flex flex-col items-center justify-center text-center p-6">
<h1 class="text-2xl font-bold text-text-title mb-4">No Results Found</h1>
<p class="text-text-muted mb-6">It looks like there are no matching results for your search.</p>
<p class="text-text-muted mb-6">Submit a post and share your desk moments, finds, or frustrations with the community!</p>
<a href="/submit" class="px-6 py-3 bg-primary text-white text-base rounded font-action hover:bg-primary-dark transition duration-150 ease-in-out">Submit a Post</a>
</div>
+1 -6
View File
@@ -4,9 +4,4 @@ title: No Results Found
permalink: /no-results/
---
<div class="flex flex-col items-center justify-center min-h-screen bg-bg-light text-center p-6">
<h1 class="text-2xl font-bold text-text-title mb-4">No Results Found</h1>
<p class="text-text-muted mb-6">It looks like there are no matching results for your search.</p>
<p class="text-text-muted mb-6">Submit a post and share your desk moments, finds, or frustrations with the community!</p>
<a href="/submit" class="px-6 py-3 bg-primary text-white rounded hover:bg-primary-dark transition duration-150 ease-in-out">Submit a Post</a>
</div>
{% include no-results.liquid %}