Goal: have a personal blog, and try out another point in the 'modular app design with elixir' space. Designing OTP systems with elixir had some interesting ideas.
10 lines
348 B
Plaintext
10 lines
348 B
Plaintext
<div class="space-y-8">
|
|
<header>
|
|
<h1 class="text-3xl font-bold font-display">{@blog_title}</h1>
|
|
<p :if={@blog_description} class="mt-2 text-base-content/70">{@blog_description}</p>
|
|
</header>
|
|
|
|
<.post_index posts={@posts} base_path={@base_path} />
|
|
<.pagination page={@page} total_pages={@total_pages} base_path={@base_path} />
|
|
</div>
|