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="OPENESS"
|
|
|
|
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
|
|
|
|
mt-32px
|
|
|
|
text="14px sm:16px"
|
|
|
|
leading-24px
|
|
|
|
font-400
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<h3 text-app-text-grey>
|
|
|
|
{{ 'Project Description' }}
|
|
|
|
</h3>
|
2024-09-02 15:13:43 +02:00
|
|
|
<span
|
|
|
|
text="14px sm:16px"
|
|
|
|
leading-20px
|
|
|
|
>{{ project.description ?? '---' }}</span>
|
2023-12-19 18:43:42 +01:00
|
|
|
</div>
|
|
|
|
<div mt-24px>
|
2024-09-02 15:13:43 +02:00
|
|
|
<h3
|
|
|
|
text="14px sm:16px app-text-grey"
|
|
|
|
leading-20px
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ 'Infrastructure links' }}
|
|
|
|
</h3>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-2
|
|
|
|
gap-16px
|
|
|
|
mt-8px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.web"
|
|
|
|
:to="project.links?.web"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
|
|
|
<UnoIcon i-web-website />
|
|
|
|
</template>
|
|
|
|
{{ 'Website' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.blog"
|
|
|
|
:to="project.links.blog"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
|
|
|
<UnoIcon i-web-website />
|
|
|
|
</template>
|
|
|
|
{{ 'Blog' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.github"
|
|
|
|
:to="project.links?.github"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-github
|
|
|
|
opacity-30
|
|
|
|
text-27px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Github' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.docs"
|
|
|
|
:to="project.links?.docs"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-documents
|
|
|
|
text-24px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Docs' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.block_explorer"
|
|
|
|
:to="project.links.block_explorer"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-explorer
|
|
|
|
opacity-30
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Explorer' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.snapshot"
|
|
|
|
:to="project.links.snapshot"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-snapshot
|
|
|
|
text-32px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Snapshot' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.token"
|
|
|
|
:to="project.links.token"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-token
|
|
|
|
text-28px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Token' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.coingecko"
|
|
|
|
:to="project.links.coingecko"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-coingecko
|
|
|
|
opacity-30
|
|
|
|
text-24px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Coingecko' }}
|
|
|
|
</ProjectOpenessLink>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div mt-24px>
|
2024-09-02 15:13:43 +02:00
|
|
|
<h3
|
|
|
|
text="14px sm:16px app-text-grey"
|
|
|
|
leading-20px
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ 'Socials' }}
|
|
|
|
</h3>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-2
|
|
|
|
gap-16px
|
|
|
|
mt-8px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.forum"
|
|
|
|
:to="project.links.forum"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-forum
|
|
|
|
opacity-30
|
|
|
|
text-28px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Forum' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.discord"
|
|
|
|
:to="project.links.discord"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-discord
|
|
|
|
text-27px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Discord' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.twitter"
|
|
|
|
:to="project.links.twitter"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-twitter_x
|
|
|
|
opacity-30
|
|
|
|
text-22px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Twitter' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.lens"
|
|
|
|
:to="project.links.lens"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-lens
|
|
|
|
text-32px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Lens' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.farcaster"
|
|
|
|
:to="project.links.farcaster"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-farcaster
|
|
|
|
text-26px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Farcaster' }}
|
|
|
|
</ProjectOpenessLink>
|
2024-09-02 15:13:43 +02:00
|
|
|
<ProjectOpenessLink
|
|
|
|
v-if="project.links?.telegram"
|
|
|
|
:to="project.links.telegram"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<template #prefix>
|
2024-09-02 15:13:43 +02:00
|
|
|
<UnoIcon
|
|
|
|
i-web-telegram
|
|
|
|
opacity-30
|
|
|
|
text-22px
|
|
|
|
/>
|
2023-12-19 18:43:42 +01:00
|
|
|
</template>
|
|
|
|
{{ 'Telegram' }}
|
|
|
|
</ProjectOpenessLink>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div mt-24px>
|
|
|
|
<ProjectOpenessTeamMembers :members="project.team" />
|
|
|
|
</div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
grid
|
|
|
|
grid-cols-2
|
|
|
|
items-start
|
|
|
|
mt-32px
|
|
|
|
gap-y-26px
|
|
|
|
lg:grid-cols-4
|
|
|
|
>
|
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.product_launch_day"
|
|
|
|
title="Product launch day"
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
{{ project.product_launch_day }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
<ProjectInfoItem
|
2024-09-02 15:13:43 +02:00
|
|
|
title="Opensource"
|
|
|
|
bold
|
2023-12-19 18:43:42 +01:00
|
|
|
:check-undefined="project.blockchain_features?.opensource"
|
|
|
|
:color=" project.blockchain_features?.opensource ? '#A8FF18' : '#FF0000'"
|
|
|
|
>
|
|
|
|
{{ project.blockchain_features?.opensource ? 'Yes' : 'No' }}
|
|
|
|
</ProjectInfoItem>
|
|
|
|
</div>
|
2024-09-02 15:13:43 +02:00
|
|
|
<div
|
|
|
|
mt-32px
|
|
|
|
w-full
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<ProjectInfoItem
|
|
|
|
:check-undefined="project.funding"
|
2024-09-02 15:13:43 +02:00
|
|
|
title="Funding"
|
|
|
|
bold
|
2023-12-19 18:43:42 +01:00
|
|
|
w-full
|
|
|
|
>
|
2024-09-02 15:13:43 +02:00
|
|
|
<template
|
|
|
|
v-for="fund in project.funding"
|
|
|
|
:key="fund.name"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
mt-16px
|
|
|
|
grid
|
|
|
|
grid-cols-2
|
|
|
|
sm:grid-cols-4
|
|
|
|
>
|
2023-12-19 18:43:42 +01:00
|
|
|
<span v-if="fund.name">{{ fund.name }}</span>
|
2024-09-02 15:13:43 +02:00
|
|
|
<span
|
|
|
|
v-if="fund.time"
|
|
|
|
font-400
|
|
|
|
>{{ fund.time }}</span>
|
|
|
|
<span
|
|
|
|
v-if="fund.time"
|
|
|
|
font-400
|
|
|
|
text-app-text-grey
|
|
|
|
>{{ fund.type }}</span>
|
|
|
|
<span
|
|
|
|
v-if="fund.time"
|
|
|
|
font-400
|
|
|
|
>{{ fund.value }}</span>
|
2023-12-19 18:43:42 +01:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
</ProjectInfoItem>
|
|
|
|
</div>
|
|
|
|
</ProjectDetailContainer>
|
|
|
|
</template>
|