Skip to content

Commit

Permalink
UX
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk committed Dec 1, 2024
1 parent ecde43a commit 804eee9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions resources/views/inscription.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,27 +50,27 @@ class="mt-1 flex items-center text-orange-200 hover:text-white"
</div>
@endif
</div>
<div class="flex flex-col gap-y-2">
<div class="flex flex-col">
@if($inscription->fullSvgExists())
@svg(
'ninjas.'.$inscription->getInternalCollectionId(),
'mt-4 md:mt-0 w-full md:w-64 border border-2 border-orange-400 rounded-lg'
)
<a
href="{{ route('download-svg', $inscription) }}"
class="mt-1 text-center rounded-md bg-white px-2.5 py-1.5 text-sm font-bold text-neutral-500 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-orange-200 hover:text-neutral-600"
class="mt-1 text-center rounded-md bg-white px-2.5 py-1.5 text-sm font-medium text-neutral-500 shadow-sm ring-1 ring-inset ring-gray-300 hover:bg-orange-200 hover:text-neutral-600"
>
Download SVG
</a>
@endif
<div>
<div class="mt-2">
<label
for="ninja-share"
class="block text-sm/6 font-medium text-stone-50"
class="block px-2 text-sm/6 font-medium text-orange-100"
>Share this Ninja:</label>
<input
id="ninja-share"
class="block w-full rounded-md bg-white px-3 py-1.5 text-sm"
class="block w-full text-neutral-500 rounded-md bg-white px-3 py-1.5 text-sm outline outline-1 -outline-offset-1 outline-gray-300"
value="{{ Str::of('https://pizza.ninja/')->append($inscription->getInternalCollectionId()) }}"
>
</div>
Expand Down

0 comments on commit 804eee9

Please sign in to comment.