mirror of
https://codeberg.org/JasterV/spazio-solazzo.git
synced 2026-04-26 18:20:03 +00:00
* refactor: update button colors * feat: add dashboard panel for admins only & update header styles
28 lines
804 B
Text
28 lines
804 B
Text
<Layouts.app flash={@flash} current_user={@current_user}>
|
|
<div class="mx-auto max-w-[1200px] px-6 py-12">
|
|
<.back_to_link
|
|
navigate={~p"/"}
|
|
value="Back to Home"
|
|
/>
|
|
|
|
<h1 class="text-3xl text-base-content font-bold mb-8">Admin Dashboard</h1>
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
|
<%= if @meeting_space do %>
|
|
<.tool_card
|
|
title={@meeting_space.name}
|
|
description="Create walk-in bookings for the space"
|
|
icon="hero-user-group"
|
|
/>
|
|
<% end %>
|
|
|
|
<%= if @coworking_space do %>
|
|
<.tool_card
|
|
title={@coworking_space.name}
|
|
description="Create walk-in bookings for the space"
|
|
icon="hero-user-group"
|
|
/>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
</Layouts.app>
|