feat: replace BackButton and logo with HomeButton in PublicNoteView
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,7 @@ import { useTitle } from "@vueuse/core"
|
||||
import { computed, nextTick, ref, watch } from "vue"
|
||||
import { useRouter } from "vue-router"
|
||||
|
||||
import BackButton from "@/components/BackButton.vue"
|
||||
import HomeButton from "@/components/HomeButton.vue"
|
||||
import SkeletonLoader from "@/components/SkeletonLoader.vue"
|
||||
import StackedPublicNote from "@/components/StackedPublicNote.vue"
|
||||
import ThemeSwap from "@/components/ThemeSwap.vue"
|
||||
@@ -129,13 +129,7 @@ watch(
|
||||
<main class="public-note-view repo-note note-container">
|
||||
<div class="note article">
|
||||
<div class="header">
|
||||
<back-button
|
||||
:fallback="{ name: 'PublicNoteListByDidView', params: { shortDid } }"
|
||||
:prefer-fallback="false"
|
||||
/>
|
||||
|
||||
<img src="/favicon.png" alt="Remanso" class="remanso-logo" />
|
||||
|
||||
<home-button />
|
||||
<theme-swap />
|
||||
</div>
|
||||
<div class="subheader">
|
||||
@@ -197,13 +191,6 @@ watch(
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.remanso-logo {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
box-shadow: none;
|
||||
view-transition-name: remanso-logo;
|
||||
}
|
||||
|
||||
.subheader {
|
||||
margin: 1rem auto 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user