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:
@@ -0,0 +1,40 @@
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
name?: string
|
||||
image?: string
|
||||
}>()
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="member-dot">
|
||||
<img :src="image" :alt="name" class="member-avatar">
|
||||
<div class="member-name">{{ name }}</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<style scoped>
|
||||
.member-dot {
|
||||
width: 96px;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.member-avatar {
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
border-radius: 50%;
|
||||
object-fit: cover;
|
||||
display: block;
|
||||
background: #e9ecef;
|
||||
}
|
||||
|
||||
.member-name {
|
||||
font-size: 1rem;
|
||||
text-align: center;
|
||||
line-height: 1.2;
|
||||
font-weight: 600;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user