mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-11 17:50:32 +08:00
Merge pull request #203 from Pyr33x/main
👀 Improved security n performance
This commit is contained in:
commit
d4cb71cb12
@ -45,7 +45,7 @@
|
|||||||
class="relative flex items-center justify-center overflow-hidden rounded-md border border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900"
|
class="relative flex items-center justify-center overflow-hidden rounded-md border border-neutral-200 dark:border-neutral-800 bg-white dark:bg-neutral-900"
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
class="pointer-events-none absolute -inset-px opacity-0 transition duration-300"
|
class="pointer-events-none absolute transform-gpu -inset-px opacity-0 transition duration-300"
|
||||||
style={`
|
style={`
|
||||||
opacity: ${opacity};
|
opacity: ${opacity};
|
||||||
background: radial-gradient(600px circle at ${position.x}px ${position.y}px, rgba(97, 97, 97, 0.1), transparent 40%);
|
background: radial-gradient(600px circle at ${position.x}px ${position.y}px, rgba(97, 97, 97, 0.1), transparent 40%);
|
||||||
|
@ -263,6 +263,7 @@
|
|||||||
href={svgInfo.url}
|
href={svgInfo.url}
|
||||||
title="Website"
|
title="Website"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
|
rel="noopener noreferrer"
|
||||||
class="flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40"
|
class="flex items-center space-x-2 rounded-md p-2 duration-100 hover:bg-neutral-200 dark:hover:bg-neutral-700/40"
|
||||||
>
|
>
|
||||||
<LinkIcon size={iconSize} strokeWidth={iconStroke} />
|
<LinkIcon size={iconSize} strokeWidth={iconStroke} />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user