Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<html>
<head>
<link rel="stylesheet" href="{{ asset("css/app.css") }}" />
</head>
<body>
<p class="text-center text-5xl">Listado de usuarios</p>
<div class="flex justify-center bg-gray-100">
<ul class="list-inside text-white p-5 bg-gray-600 px-4 py-4">
@foreach($usuarios as $usuario)
<li class="py-2">{{ $usuario->name }}</li>
@endforeach
</ul>
</div>
<div class="flex justify-center bg-gray-100">
<div class="text-center m-2">
{{ $usuarios->links() }}
</div>
</div>
</body>
<script src="{{ asset("js/app.js") }}"></script>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment