Added auth functionality, initial work with views and field types

This commit is contained in:
Francisco Gaona
2025-12-22 03:31:55 +01:00
parent 859dca6c84
commit 0fe56c0e03
170 changed files with 11599 additions and 435 deletions

View File

@@ -0,0 +1,22 @@
<script setup lang="ts">
import type { HTMLAttributes } from 'vue'
import { cn } from '@/lib/utils'
const props = defineProps<{
align?: 'start' | 'end' | 'center' | 'block-end'
class?: HTMLAttributes['class']
}>()
const alignClasses = {
start: 'justify-start',
end: 'justify-end',
center: 'justify-center',
'block-end': 'justify-end items-end',
}
</script>
<template>
<div :class="cn('flex flex-wrap items-center gap-2', alignClasses[props.align || 'start'], props.class)">
<slot />
</div>
</template>