Added sidebar (#224)

Co-authored-by: widlam <mikolaj.widla@gmail.com>
Reviewed-on: #224
Reviewed-by: Adam Bem <bema@noreply.example.com>
Co-authored-by: Mikolaj Widla <widlam@noreply.example.com>
Co-committed-by: Mikolaj Widla <widlam@noreply.example.com>
This commit is contained in:
2023-06-15 11:36:45 +02:00
committed by Adam Bem
parent e4549c7baf
commit 6132a2873a
19 changed files with 313 additions and 44 deletions

View File

@@ -0,0 +1,14 @@
<script setup>
import { RouterLink } from 'vue-router';
const props = defineProps(
{
elementContent: {required: false},
pathTo: {type: String, required:true}
}
)
</script>
<template>
<RouterLink class="flex items-center w-full p-2 text-gray-900 transition duration-75 rounded-lg pl-11 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700" :to="props.pathTo">{{ props.elementContent }}</RouterLink>
</template>