Files
frontend/app/components/BIIcon.vue
T
reloiaandCopilot df810d50be 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]>
2026-06-07 20:02:03 +02:00

20 lines
404 B
Vue

<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>