Initial commit

This commit is contained in:
2025-10-11 17:02:49 +02:00
commit 92056f073f
243 changed files with 27536 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Http\Controllers\Api;
use App\Http\Controllers\Controller;
use Illuminate\Http\JsonResponse;
use App\Models\Link;
class LinkController extends Controller
{
public function index(): JsonResponse
{
$link = Link::first();
$links = $link ? $link->links : [];
return response()->json([
'status' => 'success',
'data' => $links
]);
}
}