mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Use "header" HTML tag for note headers
This commit is contained in:
parent
33cf7f5806
commit
97566289cd
2 changed files with 11 additions and 7 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue