removing more leftover tailwind nonsense

This commit is contained in:
Siina Mashek 2024-11-08 19:01:09 +02:00
parent ba9d5ac834
commit ab63fef603
2 changed files with 5 additions and 5 deletions

View File

@ -11,7 +11,7 @@ defmodule Website.BlogPage do
<section> <section>
<article :for={post <- @posts} class="mt-8"> <article :for={post <- @posts} class="mt-8">
Blog description goes here Blog description goes here
<a class="underline text-base flex items-center justify-between" href={"blog/" <> post.permalink}> <a href={post.permalink}>
<h3> <h3>
<time><%= post.date |> Calendar.strftime("%d.%b.%Y") %></time> <time><%= post.date |> Calendar.strftime("%d.%b.%Y") %></time>
<%= post.title %> <%= post.title %>

View File

@ -8,12 +8,12 @@ defmodule Website.ProjectsPage do
def template(assigns) do def template(assigns) do
~H""" ~H"""
<div class="space-y-20"> <div>
<div class="flex flex-col space-y-20"> <div>
<%= for type <- @data["projects"] do %> <%= for type <- @data["projects"] do %>
<div :for={{status, projects} <- type}> <div :for={{status, projects} <- type}>
<h2 class="text-base"><%= status %></h2> <h2><%= status %></h2>
<div class="space-y-4"> <div>
<div :for={project <- projects}> <div :for={project <- projects}>
<%= if project["link"] do %> <%= if project["link"] do %>
<a href={project["link"]}><%= project["name"] %></a> <a href={project["link"]}><%= project["name"] %></a>