feat: Launch announcement things

This commit is contained in:
Robert Prehn 2021-05-28 14:52:24 -05:00
parent a5800dcf52
commit 7c797a7adb
3 changed files with 33 additions and 3 deletions

View file

@ -29,6 +29,12 @@
class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4"
%>
</li>
<li class="mr-3">
<%= link "Blog",
to: "/blog",
class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4"
%>
</li>
<%= if has_role?(@conn, :admin) do %>
<li class="mr-3">
<a class="inline-block py-2 px-4 text-white no-underline" href="/admin">Admin</a>

View file

@ -1,3 +1,19 @@
<div class="fixed w-full z-50 px-5 -mt-5">
<div class="relative bg-green-100 w-full p-5 object-right shadow-xl m-auto js-flash shadow rounded">
<div class="flex justify-between text-green-700 text-center">
<div class="flex space-x-3">
<div class="flex-1 leading-tight text-sm font-medium">
<span class="font-bold">New on the Legendary Blog:</span>
Check out our <a class="underline" href="/announcing-the-legendary-framework">announcement post!</a>
</div>
</div>
<div class="flex-none js-flash-closer">
&times;
</div>
</div>
</div>
</div>
<main>
<div
class="relative pt-16 flex content-center items-center justify-center"
@ -106,7 +122,7 @@
</div>
<div class="flex flex-wrap items-center mt-32">
<h2 class="w-full text-4xl text-center text-indigo-500 font-bold">
Out of the Box Features
Out-of-the-Box Features
</h2>
<div class="w-full border-gray-400 border-t-2 border-b-2 py-12 px-4 mt-12 flex">
<div class="lg:w-1/2 mr-12">
@ -222,6 +238,14 @@
%>
</span>
</div>
<div class="flex flex-col">
<span class="font-bold text-gray-700 uppercase mb-2">Support</span>
<p class="pb-2">Want to support development? Chip in on buymeacoffee:</p>
<a href="https://www.buymeacoffee.com/prehnra" target="_blank">
<img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" >
</a>
</div>
</div>
</div>
</div>

View file

@ -60,8 +60,8 @@ config :core, Legendary.CoreMailer, adapter: Bamboo.LocalAdapter
config :libcluster,
topologies: [
local_epmd: [
strategy: Elixir.Cluster.Strategy.LocalEpmd
erlang_hosts: [
strategy: Elixir.Cluster.Strategy.ErlangHosts,
]
]