defmodule AshHqWeb.Pages.Home do @moduledoc "The home page" use Surface.LiveComponent alias AshHqWeb.Components.{CalloutText, CodeExample, Feature} alias Surface.Components.Form alias Surface.Components.Form.{Field, Submit, TextInput} import AshHqWeb.Components.CodeExample, only: [to_code: 1] import AshHqWeb.Tails prop(device_brand, :string) data(signed_up, :boolean, default: false) data(email_form, :any) data(theme, :atom, default: :default) data(contributors, :list, default: []) data(contributor_count, :integer, default: 0) def render(assigns) do ~F"""
It wouldn't be possible without our amazing community.
Join our mailing list for (tastefully paced) updates!
{/if}"{@text}"
{@author}
{@title}