-
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathLandingPageDownload.client.vue
126 lines (125 loc) · 3.88 KB
/
LandingPageDownload.client.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<template>
<section
id="download"
class="bg-primary-50 bg-opacity-50"
>
<div class="container mx-auto px-4 pt-6 pb-4 md:py-16">
<div class="flex flex-wrap flex-col content-center">
<h1 class="text-center mb-3 text-5xl">Try it now</h1>
<h3 class="text-center mb-12 text-3xl">
JabRef is free and works across all your devices.
</h3>
<div class="text-center">
<span v-if="isWindows()">
<n-flex justify="center">
<DownloadButton
text="Download for Windows"
href="/download/win_msi"
:showIcon="false"
/>
</n-flex>
</span>
<span v-if="isLinux()">
<n-flex justify="center">
<DownloadButton
text=".deb (Ubuntu, Debian)"
href="/download/linux_deb"
/>
<DownloadButton
text=".rpm (Fedora, RedHat)"
href="/download/linux_rpm"
/>
</n-flex>
</span>
<span v-if="isMac()">
<n-flex justify="center">
<DownloadButton
text="Apple Silicon (Arm)"
href="/download/mac_arm64_pkg"
/>
<DownloadButton
text="macOS Intel (x64)"
href="/download/mac_x86_64_pkg"
/>
</n-flex>
</span>
</div>
<div class="text-center pt-8 text-sm">
<span v-if="isWindows()">
<t-nuxtlink
class="text-primary-500"
href="/download/win_zip"
>Windows Portable</t-nuxtlink
>
<br />
Also available for
<t-nuxtlink
class="text-primary-500"
href="https://github.com/JabRef/jabref/releases/latest"
>mac OS X and Linux</t-nuxtlink
>
<br />
</span>
<span v-if="isMac()">
<t-nuxtlink
class="text-primary-500"
href="/download/mac_arm64_dmg"
>Apple Silicon Portable (.dmg)</t-nuxtlink
>
or
<t-nuxtlink
class="text-primary-500"
href="/download/mac_x86_64_dmg"
>macOS Intel Portable (.dmg)</t-nuxtlink
>
<br />
<div class="text-xs text-wrap max-w-sm mx-auto pt-2">
Unsure about your Mac type? Click the Apple icon, select "About
This Mac". If it shows "Chip", you have Apple Silicon. Otherwise,
it's Intel.
</div>
<br />
Also available for
<t-nuxtlink
class="text-primary-500"
href="https://github.com/JabRef/jabref/releases/latest"
>Windows and Linux</t-nuxtlink
>
<br />
</span>
<span v-if="isLinux()">
<t-nuxtlink
class="text-primary-500"
href="/download/linux_tar_gz"
>Linux Portable</t-nuxtlink
>
<br />
Also available for
<t-nuxtlink
class="text-primary-500"
href="https://github.com/JabRef/jabref/releases/latest"
>
mac OS X and Windows
</t-nuxtlink>
<br />
</span>
<a
class="text-primary-500"
href="https://github.com/JabRef/jabref/blob/main/CHANGELOG.md"
>
Change Log
</a>
and
<a
class="text-primary-500"
href="https://builds.jabref.org/main/"
>Development Builds</a
>
</div>
</div>
</div>
</section>
</template>
<script setup lang="ts">
import { isLinux, isMac, isWindows } from '~/composables/detectOs'
</script>