feat: Add "Weird" post type option with corresponding icon
This commit is contained in:
1 parent
a2389adece
commit
c6dace4d67
2 files changed
+8
-2
No files matched your search
@@ -19,13 +19,19 @@
|
|||||||
<label class="flex items-center space-x-2 p-3 border-2 border-gray-300 rounded-md cursor-pointer hover:border-primary has-[:checked]:border-primary has-[:checked]:bg-primary/10 transition-colors duration-150 ease-in-out">
|
<label class="flex items-center space-x-2 p-3 border-2 border-gray-300 rounded-md cursor-pointer hover:border-primary has-[:checked]:border-primary has-[:checked]:bg-primary/10 transition-colors duration-150 ease-in-out">
|
||||||
<input type="radio" name="post_type" value="frustration" class="sr-only" required> <!-- Hidden radio button -->
|
<input type="radio" name="post_type" value="frustration" class="sr-only" required> <!-- Hidden radio button -->
|
||||||
<img src="/assets/images/icon_frustrated.png" alt="Frustration Icon" class="w-6 h-6 object-contain">
|
<img src="/assets/images/icon_frustrated.png" alt="Frustration Icon" class="w-6 h-6 object-contain">
|
||||||
<span class="text-sm font-medium text-primary">Frustration</span>
|
<span class="text-sm font-action font-medium text-primary">Frustration</span>
|
||||||
</label>
|
</label>
|
||||||
<!-- Win Option -->
|
<!-- Win Option -->
|
||||||
<label class="flex items-center space-x-2 p-3 border-2 border-gray-300 rounded-md cursor-pointer hover:border-primary has-[:checked]:border-primary has-[:checked]:bg-primary/10 transition-colors duration-150 ease-in-out">
|
<label class="flex items-center space-x-2 p-3 border-2 border-gray-300 rounded-md cursor-pointer hover:border-primary has-[:checked]:border-primary has-[:checked]:bg-primary/10 transition-colors duration-150 ease-in-out">
|
||||||
<input type="radio" name="post_type" value="win" class="sr-only" required> <!-- Hidden radio button -->
|
<input type="radio" name="post_type" value="win" class="sr-only" required> <!-- Hidden radio button -->
|
||||||
<img src="/assets/images/icon_win.png" alt="Win Icon" class="w-6 h-6 object-contain">
|
<img src="/assets/images/icon_win.png" alt="Win Icon" class="w-6 h-6 object-contain">
|
||||||
<span class="text-sm font-medium text-primary">Win</span>
|
<span class="text-sm font-action font-medium text-primary">Win</span>
|
||||||
|
</label>
|
||||||
|
<!-- Weird Option -->
|
||||||
|
<label class="flex items-center space-x-2 p-3 border-2 border-gray-300 rounded-md cursor-pointer hover:border-primary has-[:checked]:border-primary has-[:checked]:bg-primary/10 transition-colors duration-150 ease-in-out">
|
||||||
|
<input type="radio" name="post_type" value="win" class="sr-only" required> <!-- Hidden radio button -->
|
||||||
|
<img src="/assets/images/icon_weird.png" alt="Win Icon" class="w-6 h-6 object-contain">
|
||||||
|
<span class="text-sm font-action font-medium text-primary">Weird</span>
|
||||||
</label>
|
</label>
|
||||||
<!-- Add more types here following the same pattern -->
|
<!-- Add more types here following the same pattern -->
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Binary file not shown.
|
After Width: | Height: | Size: 106 KiB |
Reference in new issue
Block a user