mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 10:02:59 +08:00
feat(website): bigger download button
This commit is contained in:
parent
cef832fda4
commit
56dc1b7e49
@ -21,7 +21,7 @@
|
|||||||
Its unique tree structure, rich editing tools, and powerful search features make managing your information intuitive and flexible.
|
Its unique tree structure, rich editing tools, and powerful search features make managing your information intuitive and flexible.
|
||||||
</p>
|
</p>
|
||||||
<div class="flex items-center gap-6">
|
<div class="flex items-center gap-6">
|
||||||
<DownloadNow />
|
<DownloadNow big />
|
||||||
<a href="/download" class="font-medium text-violet-700 hover:underline">
|
<a href="/download" class="font-medium text-violet-700 hover:underline">
|
||||||
More platforms
|
More platforms
|
||||||
</a>
|
</a>
|
||||||
|
@ -1,11 +1,15 @@
|
|||||||
<script>
|
<script>
|
||||||
import { getRecommendedDownload } from "$lib/download-helper";
|
import { getRecommendedDownload } from "$lib/download-helper";
|
||||||
|
|
||||||
|
export let big = false;
|
||||||
const { url, platform, architecture } = getRecommendedDownload();
|
const { url, platform, architecture } = getRecommendedDownload();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
{#if url}
|
{#if url}
|
||||||
<a href="{url}" class="py-2 px-5 bg-violet-600 text-white font-semibold rounded-full shadow-md hover:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-400 focus:ring-opacity-75">
|
<a href="{url}"
|
||||||
|
class:text-xl={big}
|
||||||
|
class:py-4={big}
|
||||||
|
class="py-2 px-5 bg-violet-600 text-white font-semibold rounded-xl shadow-md hover:bg-violet-700 focus:outline-none focus:ring focus:ring-violet-400 focus:ring-opacity-75">
|
||||||
Download now
|
Download now
|
||||||
<span class="text-sm text-gray-300">
|
<span class="text-sm text-gray-300">
|
||||||
({platform} {architecture})
|
({platform} {architecture})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user