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
|
2024-09-12 08:41:48 +02:00
|
|
|
i-material-symbols-deployed-code-outline
|
2024-09-02 15:13:43 +02:00
|
|
|
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
|
2024-09-12 08:41:48 +02:00
|
|
|
mt-24px
|
2024-09-02 15:13:43 +02:00
|
|
|
gap-y-16px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.blockchain_features?.opensource"
|
|
|
|
title="Opensource"
|
2024-09-02 15:13:43 +02:00
|
|
|
bold
|
2024-09-12 08:41:48 +02:00
|
|
|
:color="project.blockchain_features?.opensource ? '#18FF2F' : '#FF0000'"
|
2023-12-19 18:43:42 +01:00
|
|
|
>
|
2024-09-12 08:41:48 +02:00
|
|
|
{{ project.blockchain_features?.opensource ? 'YES' : 'NO' }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.blockchain_features?.asset_custody_type"
|
|
|
|
title="Asset custody"
|
|
|
|
:color="project.blockchain_features?.asset_custody_type === 'non-custody' ? '#18FF2F' : project.blockchain_features?.asset_custody_type === 'multisig' ? '#FFB800' : '#FF0000'"
|
2023-12-19 18:43:42 +01:00
|
|
|
bold
|
|
|
|
>
|
2024-09-18 10:48:08 +02:00
|
|
|
{{ project.blockchain_features?.asset_custody_type?.toUpperCase() }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
title="Upgradability"
|
2023-12-19 18:43:42 +01:00
|
|
|
bold
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.blockchain_features?.upgradability"
|
|
|
|
:color="project.blockchain_features?.upgradability ? '#FF0000' : '#18FF2F' "
|
2023-12-19 18:43:42 +01:00
|
|
|
>
|
2024-09-12 08:41:48 +02:00
|
|
|
{{ project.blockchain_features?.upgradability ? 'YES' : 'NO' }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.technology?.type"
|
|
|
|
title="Technology type"
|
2023-12-19 18:43:42 +01:00
|
|
|
bold
|
|
|
|
>
|
2024-09-12 11:56:16 +02:00
|
|
|
{{ project.technology?.type.toUpperCase() }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.blockchain_features?.p2p"
|
|
|
|
title="Peer to Peer (P2P)"
|
2023-12-19 18:43:42 +01:00
|
|
|
bold
|
|
|
|
>
|
2024-09-12 08:41:48 +02:00
|
|
|
{{ project.blockchain_features?.p2p ? 'YES' : 'NO' }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
2024-09-12 08:41:48 +02:00
|
|
|
:check-undefined="project.storage?.decentralized"
|
|
|
|
title="Decentralized storage"
|
2024-09-02 15:13:43 +02:00
|
|
|
bold
|
2023-12-19 18:43:42 +01:00
|
|
|
>
|
2024-09-12 08:41:48 +02:00
|
|
|
{{ project.storage?.decentralized ? 'YES' : 'NO' }}
|
2023-12-19 18:43:42 +01:00
|
|
|
</ProjectInfoItem>
|
|
|
|
</div>
|
|
|
|
</ProjectDetailContainer>
|
|
|
|
</template>
|