<% provide(:title, 'All users') %>

<div class="container mx-auto px-4 py-8">
  <h1 class="text-3xl font-bold text-center mb-8">All Users</h1>

  <!-- 用户列表 -->
  <div class="grid gap-4 max-w-3xl mx-auto">
    <%= render @users %>
  </div>

  <!-- 分页 -->
  <div class="flex justify-center mb-6 mt-6">
    <div class="join">
      <%= paginate @users %>
    </div>
  </div>

</div>