mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-13 03:06:15 +00:00
chore: mix format
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
<article class="prose prose-lg ccp-font w-full max-w-3xl mx-auto">
|
||||
<div class="w-full px-4 md:px-6 text-xl leading-normal ccp-font">
|
||||
<%= raw(@file.body) %>
|
||||
{raw(@file.body)}
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@@ -248,7 +248,7 @@
|
||||
/>
|
||||
</svg>
|
||||
<span class="text-lg font-bold transition-opacity opacity-100 group-hover:opacity-0 ml-2">
|
||||
YouTube
|
||||
YouTube
|
||||
</span>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="absolute top-0 left-0 w-full h-full bg-gradient-to-b from-transparent to-black opacity-75 group-hover:opacity-25 transition-opacity duration-300">
|
||||
</div>
|
||||
<h3 class="absolute bottom-4 left-14 font-bold break-normal pt-6 pb-2 ccp-font text-white">
|
||||
<%= post.title %>
|
||||
{post.title}
|
||||
</h3>
|
||||
</div>
|
||||
</.link>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
navigate={~p"/news?tag=#{tag}"}
|
||||
class={if @selected_tag == tag, do: "active", else: "false"}
|
||||
>
|
||||
<%= tag %>
|
||||
{tag}
|
||||
</.link>
|
||||
</li>
|
||||
<% end %>
|
||||
@@ -44,9 +44,9 @@
|
||||
/>
|
||||
</figure>
|
||||
<div class="card-body hover:text-white">
|
||||
<h2 class="card-title"><%= post.title %></h2>
|
||||
<h2 class="card-title">{post.title}</h2>
|
||||
<p class="text-xs opacity-60">
|
||||
<%= post.description %>
|
||||
{post.description}
|
||||
</p>
|
||||
<div class="card-actions justify-end">
|
||||
<ul class="flex flex-wrap items-center p-0 m-0">
|
||||
@@ -55,7 +55,7 @@
|
||||
class="inline-flex rounded-[35px] bg-primary px-1 text-white"
|
||||
>
|
||||
<div class="badge badge-outline text-primary rounded-none border-none text-sm">
|
||||
#<%= tag %>
|
||||
#{tag}
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -3,12 +3,12 @@
|
||||
<div class="w-full px-4 md:px-6 text-xl leading-normal ccp-font">
|
||||
<!--Title-->
|
||||
<h1 class="font-bold break-normal pt-10 ccp-font text-white">
|
||||
<%= @post.title %>
|
||||
{@post.title}
|
||||
</h1>
|
||||
|
||||
<div class="text-md md:text-base font-normal mt-0 ccp-font flex items-center gap-4">
|
||||
<div class="flex justify-start content-center gap-2">
|
||||
<%= @post.date %> - BY <span class="uppercase"><%= @post.author %></span>
|
||||
{@post.date} - BY <span class="uppercase">{@post.author}</span>
|
||||
</div>
|
||||
|
||||
<div class="min-h-[10px] w-px self-stretch border-t-0 bg-gradient-to-tr from-transparent to-transparent opacity-25 via-neutral-200 block">
|
||||
@@ -100,7 +100,7 @@
|
||||
<li :for={tag <- @post.tags} class="inline-flex rounded-[35px] bg-primary px-1 text-white">
|
||||
<a href="#">
|
||||
<div class="badge badge-outline text-primary rounded-none border-none text-xl">
|
||||
#<%= tag %>
|
||||
#{tag}
|
||||
</div>
|
||||
</a>
|
||||
</li>
|
||||
@@ -108,10 +108,10 @@
|
||||
</div>
|
||||
|
||||
<h4 class=" break-normal font-normal mt-8 ccp-font">
|
||||
<%= @post.description %>
|
||||
{@post.description}
|
||||
</h4>
|
||||
<!--Post Content-->
|
||||
<%= raw(@post.body) %>
|
||||
{raw(@post.body)}
|
||||
</div>
|
||||
<!--/container-->
|
||||
</article>
|
||||
|
||||
Reference in New Issue
Block a user