feat: create reusable UI components

- Add Header component with navigation and auth state
- Add Footer component with site information
- Add BIIcon component for Bootstrap Italia icons
- Add MemberDot component for member visualization
- Add default layout wrapper

Co-authored-by: Copilot <[email protected]>
This commit is contained in:
2026-06-07 20:02:03 +02:00
co-authored by Copilot
Unverified
parent f54495f25d
commit df810d50be
5 changed files with 297 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
<script setup lang="ts">
defineProps<{
name: string
size?: 'xs' | 'sm' | 'lg' | 'xl'
color?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'white'
}>()
</script>
<template>
<svg
class="icon"
:class="[
size ? `icon-${size}` : '',
color ? `icon-${color}` : ''
]"
aria-hidden="true"
>
<use :href="`/sprites.svg#${name}`"></use>
</svg>
</template>