wip copy and bg pic

This commit is contained in:
salam committed 2026-09-06 13:10:11 +02:00
1 parent 3ec2c18fed
commit 44784e1dd8
3 files changed
+4 -9

No files matched your search

+3 -8
View File
@@ -79,15 +79,10 @@ class BoardDispatcher extends Component
public function copy() public function copy()
{ {
$str = '<table>'; $str = '';
foreach ($this->results as $k => $result) { foreach ($this->results as $k => $row) {
$str .= '<tr>'; $str .= implode("\t", $row) . "\n";
$str .= '<td>' . $result['name'] . '</td>';
$str .= '<td>' . $result['position'] . '</td>';
$str .= '<td>' . number_format(mt_rand(1, 100) / 100, 2) . '</td>';
$str .= '</tr>';
} }
$str .= '</table>';
$this->js("navigator.clipboard.writeText('{$str}')"); $this->js("navigator.clipboard.writeText('{$str}')");
} }
Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

@@ -67,7 +67,7 @@
<!-- 🌟 SEKTION 2: DESTINATIONS (21 BAYS) --> <!-- 🌟 SEKTION 2: DESTINATIONS (21 BAYS) -->
<div class="mt-7 w-full grid grid-cols-7 gap-3"> <div class="mt-7 w-full grid grid-cols-7 gap-3">
<div class="rounded col-span-5 grid grid-cols-7 grid-rows-5 p-5 gap-2 bg-cover bg-center bg-no-repeat aspect-7/5 max-w-4xl" <div class="rounded col-span-5 grid grid-cols-7 grid-rows-5 p-5 gap-2 bg-cover bg-center bg-no-repeat aspect-7/5 max-w-4xl"
style="background-image: url({{ asset('images/soccerfield.jpg') }});"> style="background-image: url({{ asset('images/soccerfield-reduced.jpg') }});">
@foreach ($lists as $listId => $items) @foreach ($lists as $listId => $items)
@if (str_starts_with($listId, 'dest-')) @if (str_starts_with($listId, 'dest-'))
<div class="relative rounded-xl flex flex-col bg-white/30 backdrop-blur-none drop-shadow-xl" <div class="relative rounded-xl flex flex-col bg-white/30 backdrop-blur-none drop-shadow-xl"