website/lib/layouts/projects_layout.ex

13 lines
239 B
Elixir
Raw Permalink Normal View History

2024-11-18 17:10:08 +02:00
defmodule Website.ProjectsLayout do
use Tableau.Layout, layout: Website.RootLayout
use Phoenix.Component
def template(assigns) do
~H"""
<article>
<%= {:safe, render(@inner_content)} %>
</article>
"""
end
end