refactor: ♻️ Use "header" HTML tag for note headers

This commit is contained in:
Jesse Wierzbinski 2024-11-30 17:17:16 +01:00
parent 33cf7f5806
commit 97566289cd
No known key found for this signature in database
2 changed files with 11 additions and 7 deletions

View file

@ -1,6 +1,6 @@
<template>
<Card as="article" class="rounded-none border-0 duration-200 shadow-none">
<CardHeader class="pb-4">
<CardHeader class="pb-4" as="header">
<ReblogHeader v-if="note.reblog" :avatar="note.account.avatar"
:display-name="note.account.display_name" :url="reblogAccountUrl" />
<Header :avatar="noteToUse.account.avatar" :corner-avatar="note.reblog ? note.account.avatar : undefined"