defmodule CentralcloudMy.DashboardLive do
  use Phoenix.LiveView

  def render(assigns) do
    ~H"""
    <h2 style="font-size:1.5rem;margin-bottom:1.5rem;">Dashboard</h2>
    <div style="display:grid;grid-template-columns:repeat(3,1fr);gap:1rem;">
      <div style="background:#1e293b;border:1px solid #334155;border-radius:8px;padding:1.5rem;">
        <p style="color:#94a3b8;font-size:0.8rem;">DR STATUS</p>
        <p style="font-size:1.8rem;font-weight:700;color:#22c55e;">Protected</p>
      </div>
      <div style="background:#1e293b;border:1px solid #334155;border-radius:8px;padding:1.5rem;">
        <p style="color:#94a3b8;font-size:0.8rem;">VMs REPLICATED</p>
        <p style="font-size:1.8rem;font-weight:700;">—</p>
      </div>
      <div style="background:#1e293b;border:1px solid #334155;border-radius:8px;padding:1.5rem;">
        <p style="color:#94a3b8;font-size:0.8rem;">OPEN TICKETS</p>
        <p style="font-size:1.8rem;font-weight:700;">—</p>
      </div>
    </div>
    """
  end

  def mount(_params, _session, socket) do
    {:ok, socket}
  end
end
