30 lines
518 B
Vue
30 lines
518 B
Vue
<script setup lang="ts">
|
|
import Avatar from '@/components/dredge/Avatar.vue';
|
|
|
|
defineProps<{
|
|
handle: string;
|
|
role: string;
|
|
}>();
|
|
</script>
|
|
|
|
<template>
|
|
<div class="sidebar__profile">
|
|
<Avatar size="lg" />
|
|
<div>
|
|
<span class="card__handle">{{ handle }}</span>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
|
|
<style scoped>
|
|
.sidebar__profile {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.75rem;
|
|
}
|
|
.sidebar__profile > div {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
</style>
|