add source code to footer, remove unneeded layouts
This commit is contained in:
@@ -39,8 +39,7 @@ defmodule MonoTab.Pages.About do
|
||||
<section class="about-contact">
|
||||
<h2>Get in Touch</h2>
|
||||
<p>
|
||||
Interested in contributing or have questions? Feel free to reach out through
|
||||
our community channels or open an issue on our GitHub repository.
|
||||
Proin neque ante, imperdiet quis tincidunt ut, viverra molestie nisl. Phasellus gravida quam metus, id ultricies turpis luctus sed. Suspendisse nec bibendum magna. Aenean eu ligula tellus.
|
||||
</p>
|
||||
</section>
|
||||
"""
|
||||
|
@@ -12,6 +12,12 @@ defmodule MonoTab.Pages.Index do
|
||||
<p>
|
||||
A simple blog built with Elixir, Phoenix LiveView, and Tableau static site generator.
|
||||
</p>
|
||||
<h3>
|
||||
Some Headers
|
||||
</h3>
|
||||
<p>
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Aenean ac ante sed lectus aliquet accumsan. Donec sed rutrum lacus. In ut tellus sit amet turpis efficitur condimentum.
|
||||
</p>
|
||||
</section>
|
||||
"""
|
||||
end
|
||||
|
@@ -1,29 +1,19 @@
|
||||
defmodule MonoTab.Pages.Posts do
|
||||
use Tableau.Page,
|
||||
layout: MonoTab.IndexLayout,
|
||||
permalink: "/posts"
|
||||
permalink: "/posts",
|
||||
title: "Latest Posts"
|
||||
|
||||
use Phoenix.Component
|
||||
|
||||
def template(assigns) do
|
||||
~H"""
|
||||
<section class="posts-archive">
|
||||
<section>
|
||||
<p>
|
||||
Browse through our collection of articles on Elixir, functional programming,
|
||||
web development, and software engineering best practices.
|
||||
</p>
|
||||
</section>
|
||||
|
||||
<section class="posts-filter">
|
||||
<h3>Categories</h3>
|
||||
<div class="category-tags">
|
||||
<a href="/posts" class="category-tag active">All Posts</a>
|
||||
<a href="/posts/elixir/" class="category-tag">Elixir</a>
|
||||
<a href="/posts/phoenix/" class="category-tag">Phoenix</a>
|
||||
<a href="/posts/functional-programming/" class="category-tag">Functional Programming</a>
|
||||
<a href="/posts/web-development/" class="category-tag">Web Development</a>
|
||||
</div>
|
||||
</section>
|
||||
"""
|
||||
end
|
||||
end
|
||||
|
Reference in New Issue
Block a user