updated to laravel 11

This commit is contained in:
2024-04-22 18:16:33 +10:00
parent 5fbca80a3c
commit 5b7da699bd
503 changed files with 9672 additions and 73262 deletions

View File

@@ -0,0 +1,16 @@
@php
$id = Str::slug($slot);
$uri = url()->current() . '#' . $id;
@endphp
<a
id={{ $id }}
class="{{ twMerge('inline-block text-lg font-semibold my-3', $class ?? '') }}"
x-data="{ show: false, uri: '{{ $uri }}' }"
@mouseover="show = true"
@mouseout="show = false"
@click="SM.copyToClipboard('{{ $uri }}')"
>
{{ $slot }}
<span x-show="show" class="text-primary-color-light pl-2">#</span>
</a>