Skip to content

Commit

Permalink
add version
Browse files Browse the repository at this point in the history
  • Loading branch information
Armaldio committed Sep 17, 2024
1 parent 087ef05 commit 4d5c638
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 5 additions & 1 deletion src/components/DownloadCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
class="flex justify-content-between align-items-center mb-2"
>
<span>{{ option.label }}</span>
<Button as="a" :href="option.value" icon="pi pi-download" text rounded class="p-button-sm primary-btn" />
<Button :disabled="!option.value" as="a" :href="option.value" icon="pi pi-download" text rounded class="p-button-sm primary-btn" />
</div>
</div>
</template>
Expand Down Expand Up @@ -55,4 +55,8 @@ const getOsIcon = (os) => {
border: 1px solid #f1f1f1;
width: 300px;
}
a {
text-decoration: none;
}
</style>
4 changes: 3 additions & 1 deletion src/views/download.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
alt="Cyn Logo"
class="w-4rem h-4rem mb-4"
/> -->
<h1 class="text-4xl font-bold mb-2">Download Cyn</h1>
<h1 class="text-4xl font-bold mb-2">Download Cyn
<span v-if="release">({{ release?.tag_name }})</span>
</h1>
<p class="text-color-secondary mb-8">
Choose the version that suits your operating system (OS) and CPU
architecture
Expand Down

0 comments on commit 4d5c638

Please sign in to comment.