link on logo

This commit is contained in:
liangping 2023-06-08 12:38:33 +08:00
parent b8d10fa373
commit 760596e02f

View File

@ -60,10 +60,12 @@ function selected(route: any, nav: NavLink) {
:class="{ block: sidebarShow, 'hidden xl:!block': !sidebarShow }" :class="{ block: sidebarShow, 'hidden xl:!block': !sidebarShow }"
> >
<div class="flex items-center pl-4 py-4 mb-1"> <div class="flex items-center pl-4 py-4 mb-1">
<img class="w-10 h-10" src="../../assets/logo.svg" /> <RouterLink to="/" class="flex items-center">
<h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white"> <img class="w-10 h-10" src="../../assets/logo.svg" />
Ping.pub <h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white">
</h1> Ping.pub
</h1>
</RouterLink>
<div <div
class="pr-4 cursor-pointer xl:!hidden" class="pr-4 cursor-pointer xl:!hidden"
@click="sidebarShow = false" @click="sidebarShow = false"