mirror of
https://github.com/pheralb/svgl.git
synced 2025-03-12 16:10:34 +08:00
🎨 Update styles for downloadSvg and fix github icon name
This commit is contained in:
parent
43de2bb7bf
commit
407762d3a7
@ -26,7 +26,7 @@
|
|||||||
let mainDownloadStyles =
|
let mainDownloadStyles =
|
||||||
'flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40';
|
'flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40';
|
||||||
let cardDownloadStyles =
|
let cardDownloadStyles =
|
||||||
'flex w-full flex-col p-4 rounded-md shadow-sm dark:bg-neutral-800/20 bg-neutral-200/10 border border-neutral-200 dark:border-neutral-800 space-y-2';
|
'flex w-full h-full flex-col p-4 rounded-md shadow-sm dark:bg-neutral-800/20 bg-neutral-200/10 border border-neutral-200 dark:border-neutral-800 space-y-2';
|
||||||
|
|
||||||
// Functions:
|
// Functions:
|
||||||
const downloadSvg = (url?: string) => {
|
const downloadSvg = (url?: string) => {
|
||||||
|
@ -112,7 +112,7 @@
|
|||||||
href="https://svgl.app/git"
|
href="https://svgl.app/git"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
class="flex items-center space-x-1 opacity-80 hover:opacity-100 transition-opacity"
|
class="flex items-center space-x-1 opacity-80 hover:opacity-100 transition-opacity"
|
||||||
title="Twitter"
|
title="GitHub"
|
||||||
>
|
>
|
||||||
<GithubIcon iconSize={19} />
|
<GithubIcon iconSize={19} />
|
||||||
</a>
|
</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user