From 7c797a7adbf0aa8469ea6d6aa47c66517e8f5e6f Mon Sep 17 00:00:00 2001 From: Robert Prehn <3952444+prehnRA@users.noreply.github.com> Date: Fri, 28 May 2021 14:52:24 -0500 Subject: [PATCH] feat: Launch announcement things --- .../app_web/templates/layout/_menu.html.eex | 6 +++++ .../posts/static_pages/index.html.eex | 26 ++++++++++++++++++- config/dev.exs | 4 +-- 3 files changed, 33 insertions(+), 3 deletions(-) diff --git a/apps/app/lib/app_web/templates/layout/_menu.html.eex b/apps/app/lib/app_web/templates/layout/_menu.html.eex index 09546c24..ba9881be 100644 --- a/apps/app/lib/app_web/templates/layout/_menu.html.eex +++ b/apps/app/lib/app_web/templates/layout/_menu.html.eex @@ -29,6 +29,12 @@ class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4" %> +
  • + <%= link "Blog", + to: "/blog", + class: "inline-block text-white no-underline hover:text-white hover:text-underline py-2 px-4" + %> +
  • <%= if has_role?(@conn, :admin) do %>
  • Admin diff --git a/apps/content/lib/content_web/templates/posts/static_pages/index.html.eex b/apps/content/lib/content_web/templates/posts/static_pages/index.html.eex index d5ca3ab0..fec40ac2 100644 --- a/apps/content/lib/content_web/templates/posts/static_pages/index.html.eex +++ b/apps/content/lib/content_web/templates/posts/static_pages/index.html.eex @@ -1,3 +1,19 @@ +
    +
    +
    +
    +
    + New on the Legendary Blog: + Check out our announcement post! +
    +
    +
    + × +
    +
    +
    +
    +

    - Out of the Box Features + Out-of-the-Box Features

    @@ -222,6 +238,14 @@ %>
    +
    + Support +

    Want to support development? Chip in on buymeacoffee:

    + + + Buy Me A Coffee + +
    diff --git a/config/dev.exs b/config/dev.exs index 6eb8bb00..0fa7ceb1 100644 --- a/config/dev.exs +++ b/config/dev.exs @@ -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, ] ]