Move user menu to sidebar, fixes #35
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
<script setup lang="ts">
|
||||
import { cn } from '@/lib/utils';
|
||||
import { HTMLAttributes } from 'vue';
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="cn('grid grid-cols-[2fr_3fr_2fr] mb-12 gap-4', props.class)">
|
||||
<div class="place-self-stretch flex row items-center justify-start">
|
||||
<slot name="left" />
|
||||
</div>
|
||||
|
||||
<div class="relative w-full items-center">
|
||||
<slot name="middle" />
|
||||
</div>
|
||||
|
||||
|
||||
<div class="place-self-stretch flex row items-center justify-end">
|
||||
<slot name="right" />
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user