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 }"
>
<div class="flex items-center pl-4 py-4 mb-1">
<img class="w-10 h-10" src="../../assets/logo.svg" />
<h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white">
Ping.pub
</h1>
<RouterLink to="/" class="flex items-center">
<img class="w-10 h-10" src="../../assets/logo.svg" />
<h1 class="flex-1 ml-3 text-2xl font-semibold dark:text-white">
Ping.pub
</h1>
</RouterLink>
<div
class="pr-4 cursor-pointer xl:!hidden"
@click="sidebarShow = false"