web/CopyIcon: replace copy icon with a link icon

This commit is contained in:
wukko 2024-08-09 14:35:06 +06:00
parent 2e9721d611
commit e45aa2bdf6
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -1,5 +1,5 @@
<script lang="ts"> <script lang="ts">
import IconCopy from "@tabler/icons-svelte/IconCopy.svelte"; import IconLink from "@tabler/icons-svelte/IconLink.svelte";
import IconCheck from "@tabler/icons-svelte/IconCheck.svelte"; import IconCheck from "@tabler/icons-svelte/IconCheck.svelte";
export let check = false; export let check = false;
@ -7,7 +7,7 @@
<div id="copy-animation" class:check> <div id="copy-animation" class:check>
<div class="icon-copy"> <div class="icon-copy">
<IconCopy /> <IconLink />
</div> </div>
<div class="icon-check"> <div class="icon-check">
<IconCheck /> <IconCheck />
@ -16,6 +16,9 @@
<style> <style>
#copy-animation { #copy-animation {
display: flex;
align-items: center;
justify-content: center;
position: relative; position: relative;
height: 24px; height: 24px;
width: 24px; width: 24px;