2023-12-19 18:43:42 +01:00
|
|
|
<script setup lang="ts">
|
|
|
|
import type { Project } from '~/types'
|
|
|
|
|
|
|
|
defineProps<{
|
|
|
|
project: Project
|
|
|
|
}>()
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<template>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectDetailCategoryDivider
|
|
|
|
title="TECHNOLOGY"
|
|
|
|
badge-text="3/10"
|
|
|
|
>
|
|
|
|
<UnoIcon
|
|
|
|
i-web-code_v2
|
|
|
|
text-24px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectDetailCategoryDivider>
|
|
|
|
<ProjectDetailContainer>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-2
|
|
|
|
items-start
|
|
|
|
mt-32px
|
|
|
|
gap-y-16px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.technology?.type"
|
2024-09-02 15:13:43 +02:00
|
|
|
title="Technology type"
|
|
|
|
bold
|
2023-12-19 18:43:42 +01:00
|
|
|
>
|
|
|
|
{{ project.technology?.type }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.blockchain_features?.encryption"
|
|
|
|
title="Encryption"
|
|
|
|
bold
|
|
|
|
>
|
|
|
|
{{ project.blockchain_features?.encryption }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
|
|
|
title="License"
|
|
|
|
bold
|
|
|
|
:check-undefined="project.licences"
|
|
|
|
>
|
|
|
|
{{ project.licences }}
|
|
|
|
</ProjectInfoItem>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.links?.whitepaper"
|
|
|
|
title="Whitepaper"
|
|
|
|
bold
|
|
|
|
:link="project.links?.whitepaper"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ project.links?.whitepaper ? 'YES' : 'NO' }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
</div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-1
|
|
|
|
items-start
|
|
|
|
mt-16px
|
|
|
|
gap-y-16px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.project_status"
|
|
|
|
title="Version"
|
|
|
|
bold
|
|
|
|
>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
v-if="project.project_status?.live_status"
|
|
|
|
flex
|
|
|
|
items-center
|
|
|
|
gap-12px
|
|
|
|
>
|
|
|
|
<UnoIcon
|
|
|
|
i-web-live
|
|
|
|
text-10px
|
|
|
|
class="color-#B5E26B"
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
<span>{{ `Live on ${project.project_status.version}` }}</span>
|
|
|
|
</div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
v-else
|
|
|
|
flex
|
|
|
|
items-center
|
|
|
|
gap-12px
|
|
|
|
>
|
|
|
|
<UnoIcon
|
|
|
|
i-web-live
|
|
|
|
text-10px
|
|
|
|
class="color-#e26b6b"
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
<span>{{ 'Offline' }}</span>
|
|
|
|
</div>
|
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.technology?.features"
|
|
|
|
title="Features"
|
|
|
|
bold
|
|
|
|
>
|
|
|
|
{{ project.technology?.features.join(', ') }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.client_diversability"
|
2024-09-02 15:13:43 +02:00
|
|
|
title="Client diversability"
|
|
|
|
bold
|
2023-12-19 18:43:42 +01:00
|
|
|
>
|
2024-09-02 15:13:43 +02:00
|
|
|
<template
|
|
|
|
v-for="item in project.client_diversability"
|
|
|
|
:key="item.name"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<NuxtLink :to="item.link">
|
|
|
|
{{ item.name }}
|
|
|
|
</NuxtLink><br>
|
|
|
|
</template>
|
|
|
|
</ProjectInfoItem>
|
|
|
|
</div>
|
|
|
|
</ProjectDetailContainer>
|
|
|
|
</template>
|