@extends('layouts.app')

@section('content')
<style>
    table {
        border-collapse: collapse;
        margin: 0 auto;
    }
    th, td {
        border: 1px solid black;
        padding: 5px;
    }
</style>
<table>
  <thead>
    <tr>
      <th>Používatelia</th>
    </tr>
  </thead>
  <tbody>
    @foreach ($data as $username)
      <tr>
        <td>{{ $username }}</td>
      </tr>
    @endforeach
  </tbody>
</table>

@endsection
