defmodule LivebookWeb.SessionLive.AppInfoComponent do
use LivebookWeb, :live_component
import LivebookWeb.AppHelpers
@impl true
def render(assigns) do
~H"""
App
<.app_info_icon />
<%= if @session.mode == :app do %>
<.message_box
kind={:info}
message="This session is a running app. To deploy a modified version, you can fork it."
/>