refactor: extract constants into consts.ts, add prettier tailwind plugin for class sorting

This commit is contained in:
DuroCodes
2024-05-13 20:03:29 -04:00
parent fdf1d78c92
commit f581fb260d
15 changed files with 42 additions and 27 deletions

View File

@@ -17,9 +17,9 @@ const deprecated = plugin.description.includes("[DEPRECATED]");
---
<div
class="relative p-4 border border-gray-300 dark:border-gray-700 not-content"
class="not-content relative border border-gray-300 p-4 dark:border-gray-700"
>
<div class="flex items-center justify-between mb-4">
<div class="mb-4 flex items-center justify-between">
<h3>{plugin.name}</h3>
{deprecated && <DeprecatedIcon />}
</div>