@@ -8,13 +8,13 @@ import {
88 ListboxOptions ,
99} from '@headlessui/react'
1010import { CheckIcon , ChevronUpDownIcon } from '@heroicons/react/16/solid'
11+ import Link from 'next/link'
1112import { useState , type JSX } from 'react'
1213import { Button } from './button'
1314import { Container } from './container'
1415import { Heading } from './text'
15- import Link from 'next/link'
1616
17- type Version = 'v0.2.0' | 'v0.3.0' | 'v0.3.1' | 'v0.3.2' | 'v0.3.3'
17+ type Version = 'v0.2.0' | 'v0.3.0' | 'v0.3.1' | 'v0.3.2' | 'v0.3.3' | 'v0.3.4'
1818type Platforms = 'Windows' | 'Linux' | 'macOS'
1919type Arch = 'x86' | 'ARM'
2020
@@ -24,6 +24,7 @@ const releasePages: { [key in Version]: string } = {
2424 'v0.3.1' : 'https://github.com/Drop-OSS/drop-app/releases/tag/v0.3.1' ,
2525 'v0.3.2' : 'https://github.com/Drop-OSS/drop-app/releases/tag/v0.3.2' ,
2626 'v0.3.3' : 'https://github.com/Drop-OSS/drop-app/releases/tag/v0.3.3' ,
27+ 'v0.3.4' : 'https://github.com/Drop-OSS/drop-app/releases/tag/v0.3.4' ,
2728}
2829
2930function WindowsIcon ( ) {
@@ -144,6 +145,10 @@ const downloads: {
144145 x86 : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.3/Drop.Desktop.Client_0.3.3_x64-setup.exe' ,
145146 ARM : undefined ,
146147 } ,
148+ 'v0.3.4' : {
149+ x86 : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.4/Drop.Desktop.Client_0.3.4_x64-setup.exe' ,
150+ ARM : undefined ,
151+ } ,
147152 } ,
148153 } ,
149154 Linux : {
@@ -172,6 +177,10 @@ const downloads: {
172177 x86 : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.3/Drop.Desktop.Client_0.3.3_amd64.deb' ,
173178 ARM : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.3/Drop.Desktop.Client_0.3.3_arm64.deb' ,
174179 } ,
180+ 'v0.3.4' : {
181+ x86 : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.4/Drop.Desktop.Client_0.3.4_amd64.deb' ,
182+ ARM : undefined ,
183+ } ,
175184 } ,
176185 } ,
177186 macOS : {
@@ -199,6 +208,10 @@ const downloads: {
199208 x86 : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.3/Drop.Desktop.Client_0.3.3_x64.dmg' ,
200209 ARM : 'https://github.com/Drop-OSS/drop-app/releases/download/v0.3.3/Drop.Desktop.Client_0.3.3_aarch64.dmg' ,
201210 } ,
211+ 'v0.3.4' : {
212+ x86 : undefined ,
213+ ARM : undefined ,
214+ } ,
202215 } ,
203216 } ,
204217}
@@ -291,10 +304,13 @@ export default function DownloadCards() {
291304 < DownloadCard key = { platform } data = { data } version = { currentVersion } />
292305 ) ) }
293306 </ div >
294- < div className = 'mt-6 flex justify-center' >
295- < Link href = { releasePages [ currentVersion ] } className = 'text-xs font-semibold text-gray-500 hover:text-gray-600 hover:underline' >
296- Open GitHub releases page →
297- </ Link >
307+ < div className = "mt-6 flex justify-center" >
308+ < Link
309+ href = { releasePages [ currentVersion ] }
310+ className = "text-xs font-semibold text-gray-500 hover:text-gray-600 hover:underline"
311+ >
312+ Open GitHub releases page →
313+ </ Link >
298314 </ div >
299315 </ Container >
300316 </ div >
0 commit comments