feat: add text formatting help and back button to navbar

This commit is contained in:
Kerby Martino authored and Kerby Martino (aider) committed 2025-05-04 21:04:43 +08:00
1 parent d168b1398f
commit 1f8901be69
3 files changed
+10 -7

No files matched your search

+3 -3
View File
@@ -52,8 +52,8 @@
<label for="about" class="block text-sm font-medium text-primary mb-1">About</label>
<div class="flex items-start">
<textarea id="about" name="about" rows="5" class="flex-grow text-primary text-sm px-3 py-2 bg-transparent border-b-2 border-gray-300 focus:outline-none focus:border-primary transition duration-150 ease-in-out placeholder:text-xs">{{ page.about }}</textarea>
<a href="/formatdoc" tabindex="-1" class="ml-2 mt-1 text-xs text-primary hover:underline flex-shrink-0">help</a>
</div>
<p class="mt-1 text-xs text-text-muted">Must be at least 8 characters long. <span><a class="hover:underline" href="/formatdoc">Need help to format text?</a></span></p>
</div>
<!-- Email -->
@@ -65,7 +65,7 @@
<!-- Update Button (Remains outside tab panes) -->
<div class="pt-4 border-t border-gray-200">
<button type="submit" class="w-full px-6 py-3 bg-primary text-white text-base font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">Update Profile</button>
<button type="submit" class="w-full md:w-auto px-6 py-3 bg-primary text-white text-base font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">Update Profile</button>
</div>
</div> <!-- End of tab-profile -->
@@ -118,7 +118,7 @@
<!-- Update Button (Remains outside tab panes) -->
<div class="pt-4 border-t border-gray-200">
<button type="submit" class="w-full px-6 py-3 bg-primary text-white text-base font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">Update Profile</button>
<button type="submit" class="w-full md:w-auto px-6 py-3 bg-primary text-white text-base font-medium rounded-md hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-primary transition duration-150 ease-in-out font-monda font-action">Update Profile</button>
</div>
</div> <!-- End of tab-preferences -->