<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Lista de Arquivos PDF</title>
    <link rel="stylesheet" href="{{asset('assets/admin/compiled/css/app.css')}}">
</head>
<body>
    <h1>Lista de Arquivos PDF</h1>

    @if(isset($error))
        <p><strong>{{ $error }}</strong></p>
    @else
        <ul>
            @foreach($pdfs as $pdf)
                <li>
                    <a href="{{ $pdf['link'] }}" target="_blank">{{ $pdf['texto'] }}</a>
                </li>
            @endforeach
        </ul>
    @endif
</body>
</html>
