chore: Remove single-post.html and add dismiss button to info box

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-07 07:26:21 +08:00
1 parent b855da785b
commit 622c3e6f39
2 files changed
+12 -290

No files matched your search

+12 -6
View File
@@ -2,12 +2,18 @@
<div class="w-full mx-auto rounded-lg p-6 bg-bg-footer">
<h2 class="text-xl font-semibold text-center text-primary mb-6">Account Settings</h2>
<!-- Email Info Box -->
<div class="bg-rules-bg p-4 rounded mb-6 text-primary text-sm">
<p>
Please provide a valid email address. This ensures we can assist you with password recovery if needed. Rest assured, your email address remains confidential between you and us, invisible to web crawlers and other users.
</p>
</div>
<div id="info-box" class="relative p-4 rounded mb-4 border border-gray-300 text-gray-700">
<button
type="button"
aria-label="Close info"
onclick="document.getElementById('info-box').style.display='none'"
class="absolute top-2 right-3 text-gray-500 hover:text-gray-700 focus:outline-none focus:ring-1 focus:ring-gray-500 rounded-md p-1">
<i class="fas fa-times"></i>
</button>
<p class="mr-8"> <!-- Ensure text doesn't overlap with the close button -->
Please provide a valid email address. This ensures we can assist you with password recovery if needed. Rest assured, your email address remains confidential between you and us, invisible to web crawlers and other users.
</p>
</div>
<!-- Tabs Navigation -->
<div class="mb-4 border-b border-gray-200">