feat: Launch announcement things
This commit is contained in:
parent
a5800dcf52
commit
7c797a7adb
3 changed files with 33 additions and 3 deletions
|
@ -29,6 +29,12 @@
|
||||||
class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4"
|
class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4"
|
||||||
%>
|
%>
|
||||||
</li>
|
</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 %>
|
<%= if has_role?(@conn, :admin) do %>
|
||||||
<li class="mr-3">
|
<li class="mr-3">
|
||||||
<a class="inline-block py-2 px-4 text-white no-underline" href="/admin">Admin</a>
|
<a class="inline-block py-2 px-4 text-white no-underline" href="/admin">Admin</a>
|
||||||
|
|
|
@ -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">
|
||||||
|
×
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
<div
|
<div
|
||||||
class="relative pt-16 flex content-center items-center justify-center"
|
class="relative pt-16 flex content-center items-center justify-center"
|
||||||
|
@ -106,7 +122,7 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="flex flex-wrap items-center mt-32">
|
<div class="flex flex-wrap items-center mt-32">
|
||||||
<h2 class="w-full text-4xl text-center text-indigo-500 font-bold">
|
<h2 class="w-full text-4xl text-center text-indigo-500 font-bold">
|
||||||
Out of the Box Features
|
Out-of-the-Box Features
|
||||||
</h2>
|
</h2>
|
||||||
<div class="w-full border-gray-400 border-t-2 border-b-2 py-12 px-4 mt-12 flex">
|
<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">
|
<div class="lg:w-1/2 mr-12">
|
||||||
|
@ -222,6 +238,14 @@
|
||||||
%>
|
%>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -60,8 +60,8 @@ config :core, Legendary.CoreMailer, adapter: Bamboo.LocalAdapter
|
||||||
|
|
||||||
config :libcluster,
|
config :libcluster,
|
||||||
topologies: [
|
topologies: [
|
||||||
local_epmd: [
|
erlang_hosts: [
|
||||||
strategy: Elixir.Cluster.Strategy.LocalEpmd
|
strategy: Elixir.Cluster.Strategy.ErlangHosts,
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue