Open default homepage directly on navbar icon click

This commit is contained in:
Bnyro
2023-07-05 12:59:23 +02:00
parent 995f299a8d
commit 39d11063d6
3 changed files with 17 additions and 19 deletions

View File

@@ -1,14 +1,8 @@
<template>
<nav class="flex flex-wrap items-center justify-center px-2 sm:px-4 pb-2.5 w-full relative">
<div class="flex-1 flex justify-start">
<router-link class="flex font-bold text-3xl items-center font-sans" to="/"
><img
alt="logo"
src="/img/icons/logo.svg"
height="32"
width="32"
class="w-10 mr-[-0.6rem]"
/>iped</router-link
<span class="flex font-bold text-3xl items-center font-sans cursor-pointer" @click="openHomePage(this)"
><img alt="logo" src="/img/icons/logo.svg" height="32" width="32" class="w-10 mr-[-0.6rem]" />iped</span
>
</div>
<div class="lt-md:hidden search-container">