Skip to content

Commit

Permalink
Add download icon
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk committed Dec 3, 2024
1 parent b5a12e0 commit f78e49c
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
5 changes: 5 additions & 0 deletions resources/svg/download.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions resources/svg/fullscreen.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 7 additions & 1 deletion resources/views/inscription.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,13 @@ class="mt-1 flex items-center text-orange-200 hover:text-white"
'ninjas.'.$inscription->getInternalCollectionId(),
'mt-4 md:mt-0 w-full md:w-64 border border-2 border-orange-400 rounded-lg'
)
<div class="absolute top-2 right-2">
<div class="flex absolute top-2 right-2 space-x-2">
<a
class="text-orange-200 hover:text-orange-100"
href="{{ route('download-svg', $inscription) }}"
>
<x-icon-download class="w-6 h-6 hover:scale-110 ease-out duration-300"/>
</a>
<a
class="text-orange-200 hover:text-orange-100"
href="{{ Str::of('https://ordiscan.com/content/')->append($inscription->inscription_id) }}"
Expand Down

0 comments on commit f78e49c

Please sign in to comment.