2023-12-19 18:43:42 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
const props = defineProps<{
|
|
|
|
members: {
|
|
|
|
name: string
|
|
|
|
role?: string
|
|
|
|
link?: string
|
|
|
|
}[] | undefined
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
|
|
|
<div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<h3
|
|
|
|
text="14px sm:16px app-text-grey"
|
|
|
|
leading-24px
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ 'Team members' }}
|
|
|
|
</h3>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-1
|
|
|
|
gap-16px
|
|
|
|
mt-12px
|
|
|
|
sm:grid-cols-2
|
|
|
|
md:grid-cols-3
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template v-if="props.members?.length">
|
2024-09-02 15:13:43 +02:00
|
|
|
<template
|
|
|
|
v-for="member in members"
|
|
|
|
:key="member.name"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
flex
|
2024-09-12 08:41:48 +02:00
|
|
|
items-center
|
2024-09-02 15:13:43 +02:00
|
|
|
gap-12px
|
|
|
|
>
|
2024-09-12 08:41:48 +02:00
|
|
|
<!-- <template v-if="member.link">
|
2024-09-02 15:13:43 +02:00
|
|
|
<NuxtImg
|
|
|
|
:src="member.link"
|
|
|
|
width="48"
|
|
|
|
height="48"
|
|
|
|
:alt="member.name"
|
|
|
|
/>
|
2024-09-12 08:41:48 +02:00
|
|
|
</template> -->
|
|
|
|
<div flex items-center justify-center text-black w="40px lg:48px" h="40px lg:48px" rounded-full bg-app-bg-team-grey>
|
|
|
|
<div i-heroicons-solid-user text-24px></div>
|
|
|
|
</div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
flex
|
|
|
|
flex-col
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
text="14px sm:16px"
|
|
|
|
font-700
|
|
|
|
>{{ member.name }}</span>
|
2023-12-19 18:43:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-else>
|
2024-09-02 15:13:43 +02:00
|
|
|
<span
|
|
|
|
text-14px
|
|
|
|
opacity-50
|
|
|
|
>{{ 'N/A' }}</span>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|