feat: last updated time

This commit is contained in:
TrèsAbhi committed 2024-10-25 10:49:11 -05:00
1 parent 8c1fc6f9df
commit 4a1f3ea12d
3 files changed
+16 -3

No files matched your search

@@ -18,8 +18,9 @@ const avatars = Object.entries(glossary)
({ id: key.replace('avatar_', ''), name: value.title }) satisfies Avatar,
)
.sort((a, b) => a.name.localeCompare(b.name));
const lastUpdated = new Date().toLocaleDateString();
---
<ToolLayout tool={galleryTool}>
<Page {avatars} client:load />
<Page {avatars} {lastUpdated} client:load />
</ToolLayout>