defmodule OutlookWeb.PublicComponents do
@moduledoc """
Provides components for showing and listing artikel and autoren.
"""
use Phoenix.Component
import OutlookWeb.ViewHelpers
use Phoenix.VerifiedRoutes,
endpoint: OutlookWeb.Endpoint,
router: OutlookWeb.Router,
statics: OutlookWeb.static_paths()
import Phoenix.HTML
alias Phoenix.LiveView.JS
attr :autor, :any, required: true
def autor(assigns) do
~H"""