feat: 🎨 Design refactor of all pages

This commit is contained in:
Jesse Wierzbinski 2024-04-25 19:54:02 -10:00
parent 9467cef34b
commit a45c04258e
No known key found for this signature in database
20 changed files with 407 additions and 267 deletions

View file

@ -101,13 +101,14 @@ const timeAgo = useTimeAgo(props.note?.created_at ?? 0);
const { copy } = useClipboard();
const client = await useMegalodon();
const mentions = await useResolveMentions(props.note?.mentions ?? [], client);
const content = props.note
? await useParsedContent(
props.note.content,
props.note.emojis,
mentions.value,
)
: "";
const content =
props.note && process.client
? await useParsedContent(
props.note.content,
props.note.emojis,
mentions.value,
)
: "";
const numberFormat = (number = 0) =>
new Intl.NumberFormat(undefined, {
notation: "compact",