feat: replace back button with home button on public note list views

This commit is contained in:
Julien Calixte
2026-03-14 10:25:48 +01:00
parent 3ad5b13427
commit 263f11b7e5
3 changed files with 32 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
<script setup lang="ts">
import BackButton from "@/components/BackButton.vue"
import HomeButton from "@/components/HomeButton.vue"
import PublicNoteList from "@/components/PublicNoteList.vue"
import SignInAtproto from "@/components/SignInAtproto.vue"
import { useATProtoLogin } from "@/hooks/useATProtoLogin.hook"
@@ -32,7 +32,7 @@ const following = useFollowingNoteList(follows, followingEnabled)
<template>
<main class="public-note-list-view">
<div class="header">
<back-button class="back-button" :fallback="{ name: 'Home' }" />
<home-button class="back-button" />
<h1><img src="/favicon.png" alt="Remanso icon" /></h1>
<sign-in-atproto />
</div>