Static blog with front page summary

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.
This commit is contained in:
Your Name
2026-03-17 11:17:21 +00:00
commit bc14696f57
94 changed files with 6846 additions and 0 deletions
@@ -0,0 +1,9 @@
<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>
@@ -0,0 +1,4 @@
<div class="space-y-8">
<a href={@base_path} class="text-sm text-primary hover:underline">&larr; Back to posts</a>
<.post_show post={@post} />
</div>
@@ -0,0 +1,10 @@
<div class="space-y-8">
<header>
<h1 class="text-3xl font-bold font-display">{@blog_title}</h1>
<p class="mt-2 text-base-content/70">Posts tagged "{@tag}"</p>
</header>
<.post_index posts={@posts} base_path={@base_path} />
<a href={@base_path} class="text-sm text-primary hover:underline">&larr; All posts</a>
</div>