Skip to content

Commit 949525f

Browse files
committed
[#95] add icons to download file and download image
1 parent 9ea985e commit 949525f

File tree

3 files changed

+44
-0
lines changed

3 files changed

+44
-0
lines changed
Lines changed: 1 addition & 0 deletions
Loading
Lines changed: 1 addition & 0 deletions
Loading

src/shared/ui/icon-svg/icon-svg.vue

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -530,6 +530,48 @@ defineProps<Props>();
530530
<path d="M8 11v-3m.719 -3.289a4 4 0 0 1 7.281 2.289v4" />
531531
<path d="M3 3l18 18" />
532532
</svg>
533+
534+
<svg
535+
v-else-if="name === 'image-download'"
536+
viewBox="0 0 24 24"
537+
width="24"
538+
height="24"
539+
stroke-width="2"
540+
stroke="currentColor"
541+
fill="none"
542+
stroke-linecap="round"
543+
stroke-linejoin="round"
544+
>
545+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
546+
<path d="M15 8h.01" />
547+
<path
548+
d="M12.5 21h-6.5a3 3 0 0 1 -3 -3v-12a3 3 0 0 1 3 -3h12a3 3 0 0 1 3 3v6.5"
549+
/>
550+
<path d="M3 16l5 -5c.928 -.893 2.072 -.893 3 0l4 4" />
551+
<path d="M14 14l1 -1c.653 -.629 1.413 -.815 2.13 -.559" />
552+
<path d="M19 16v6" />
553+
<path d="M22 19l-3 3l-3 -3" />
554+
</svg>
555+
556+
<svg
557+
v-else-if="name === 'file-download'"
558+
viewBox="0 0 24 24"
559+
width="24"
560+
height="24"
561+
stroke-width="2"
562+
stroke="currentColor"
563+
fill="none"
564+
stroke-linecap="round"
565+
stroke-linejoin="round"
566+
>
567+
<path stroke="none" d="M0 0h24v24H0z" fill="none" />
568+
<path d="M14 3v4a1 1 0 0 0 1 1h4" />
569+
<path
570+
d="M17 21h-10a2 2 0 0 1 -2 -2v-14a2 2 0 0 1 2 -2h7l5 5v11a2 2 0 0 1 -2 2z"
571+
/>
572+
<path d="M12 17v-6" />
573+
<path d="M9.5 14.5l2.5 2.5l2.5 -2.5" />
574+
</svg>
533575
</div>
534576
</template>
535577

0 commit comments

Comments
 (0)