92 frontend refinements, clickable logo

This commit is contained in:
survellow
2023-12-04 02:39:08 +01:00
parent fbaff30f09
commit 8dfe8a4836
9 changed files with 135 additions and 132 deletions

View File

@@ -39,15 +39,24 @@ const items = computed(() => [
</script>
<template>
<Menubar :model="items" class="menubar justify-content-between">
<Menubar :model="items" class="menubar justify-content-between flex-wrap">
<template #start>
<img
width="35"
height="40"
src="../../public/htwk.svg"
alt="Logo"
class="h-10 w-10 mr-3"
/>
<router-link v-slot="{ navigate }" :to="`/`" custom>
<Button
severity="secondary"
text
class="p-0 mx-2 my-1"
@click="navigate"
>
<img
width="35"
height="40"
src="../../public/htwk.svg"
alt="Logo"
class="mx-3"
/>
</Button>
</router-link>
</template>
<template #item="{ item }">
<router-link v-slot="{ navigate }" :to="item.route" custom>