memEx/lib/memex_web/live/home_live.html.heex

176 lines
5.2 KiB
Plaintext
Raw Normal View History

2022-11-26 20:36:09 -05:00
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-3xl">
<h1 class="title text-primary-400 text-2xl text-center">
<%= gettext("memEx") %>
2021-09-02 23:32:52 -04:00
</h1>
2022-02-25 21:58:07 -05:00
2022-07-25 22:04:10 -04:00
<hr class="hr" />
<ul class="flex flex-col space-y-4 text-center">
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("notes:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("document notes about individual items or concepts") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("contexts:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("provide context around a single topic and hotlink to your notes") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("pipelines:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("document your processes, attaching contexts to each step") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
<.link
navigate={Routes.live_path(Endpoint, FaqLive)}
class="link title text-primary-400 text-lg"
>
<%= gettext("read more on how to use %{name}", name: "memEx") %>
</.link>
</li>
2022-07-25 22:04:10 -04:00
</ul>
<hr class="hr" />
<ul class="flex flex-col space-y-4 text-center">
<h2 class="title text-primary-400 text-lg">
2022-11-17 22:30:01 -05:00
<%= gettext("features") %>
2022-07-25 22:04:10 -04:00
</h2>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("multi-user:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("built with sharing and collaboration in mind") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("privacy:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("privacy controls on a per-note, context or pipeline basis") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
2022-11-26 20:36:09 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-25 22:04:10 -04:00
<b class="whitespace-nowrap">
2022-11-17 22:30:01 -05:00
<%= gettext("convenient:") %>
2022-07-25 22:04:10 -04:00
</b>
<p>
2022-11-17 22:30:01 -05:00
<%= gettext("accessible from any internet-capable device") %>
2022-07-25 22:04:10 -04:00
</p>
</li>
</ul>
2022-07-30 16:20:32 -04:00
<hr class="hr" />
<ul class="flex flex-col space-y-4 text-center">
<h2 class="title text-primary-400 text-lg">
2022-11-17 22:30:01 -05:00
<%= gettext("instance information") %>
2022-07-30 16:20:32 -04:00
</h2>
<li class="flex flex-col justify-center space-x-2">
<b>
2022-11-17 22:30:01 -05:00
<%= gettext("admins:") %>
2022-07-30 16:20:32 -04:00
</b>
<p>
<%= if @admins |> Enum.empty?() do %>
2022-11-26 20:36:09 -05:00
<.link href={Routes.user_registration_path(Endpoint, :new)} class="link">
<%= dgettext("prompts", "register to setup %{name}", name: "memEx") %>
2022-11-16 21:11:02 -05:00
</.link>
2022-07-30 16:20:32 -04:00
<% else %>
<div class="flex flex-wrap justify-center space-x-2">
<%= for admin <- @admins do %>
2022-11-26 20:36:09 -05:00
<a class="link" href={"mailto:#{admin.email}"}>
2022-07-30 16:20:32 -04:00
<%= admin.email %>
</a>
<% end %>
</div>
<% end %>
</p>
</li>
<li class="flex flex-row justify-center space-x-2">
2022-11-17 22:30:01 -05:00
<b><%= gettext("registration:") %></b>
2022-07-30 16:20:32 -04:00
<p>
2022-11-26 20:36:09 -05:00
<%= Application.get_env(:memex, Endpoint)[:registration]
2022-07-30 16:20:32 -04:00
|> case do
2022-11-17 22:30:01 -05:00
"public" -> gettext("public signups")
_ -> gettext("invite only")
2022-07-30 16:20:32 -04:00
end %>
</p>
</li>
2022-10-26 22:08:54 -04:00
<li class="flex flex-row justify-center items-center space-x-2">
2022-11-17 22:30:01 -05:00
<b><%= gettext("version:") %></b>
2022-11-16 21:11:02 -05:00
<.link
2022-11-27 21:33:06 -05:00
href="https://gitea.bubbletea.dev/shibao/memEx/src/branch/stable/changelog.md"
2022-11-26 20:36:09 -05:00
class="flex flex-row justify-center items-center space-x-2 link"
2022-11-16 21:11:02 -05:00
target="_blank"
rel="noopener noreferrer"
>
2022-11-27 21:33:06 -05:00
<p><%= @version %></p>
2022-10-26 22:08:54 -04:00
<i class="fas fa-md fa-info-circle"></i>
2022-11-16 21:11:02 -05:00
</.link>
2022-10-26 22:08:54 -04:00
</li>
</ul>
<hr class="hr" />
<ul class="flex flex-col space-y-2 text-center justify-center">
<h2 class="title text-primary-400 text-lg">
2022-11-17 22:30:01 -05:00
<%= gettext("get involved!") %>
2022-10-26 22:08:54 -04:00
</h2>
<li class="flex flex-col justify-center space-x-2">
2022-11-16 21:11:02 -05:00
<.link
2022-11-27 21:33:06 -05:00
href="https://gitea.bubbletea.dev/shibao/memEx"
2022-11-26 20:36:09 -05:00
class="flex flex-row justify-center items-center space-x-2 link"
2022-11-16 21:11:02 -05:00
target="_blank"
rel="noopener noreferrer"
>
2022-11-17 22:30:01 -05:00
<p><%= gettext("view the source code") %></p>
2022-10-26 22:08:54 -04:00
<i class="fas fa-md fa-code"></i>
2022-11-16 21:11:02 -05:00
</.link>
2022-10-26 22:08:54 -04:00
</li>
<li class="flex flex-col justify-center space-x-2">
2022-11-16 21:11:02 -05:00
<.link
2022-11-27 21:33:06 -05:00
href="https://weblate.bubbletea.dev/engage/memEx"
2022-11-26 20:36:09 -05:00
class="flex flex-row justify-center items-center space-x-2 link"
2022-11-16 21:11:02 -05:00
target="_blank"
rel="noopener noreferrer"
>
2022-11-17 22:30:01 -05:00
<p><%= gettext("help translate") %></p>
2022-10-26 22:08:54 -04:00
<i class="fas fa-md fa-language"></i>
2022-11-16 21:11:02 -05:00
</.link>
2022-10-26 22:08:54 -04:00
</li>
<li class="flex flex-col justify-center space-x-2">
2022-11-16 21:11:02 -05:00
<.link
2022-11-27 21:33:06 -05:00
href="https://gitea.bubbletea.dev/shibao/memEx/issues/new"
2022-11-26 20:36:09 -05:00
class="flex flex-row justify-center items-center space-x-2 link"
2022-11-16 21:11:02 -05:00
target="_blank"
rel="noopener noreferrer"
>
2022-11-17 22:30:01 -05:00
<p><%= gettext("report bugs or request features") %></p>
2022-10-26 22:08:54 -04:00
<i class="fas fa-md fa-spider"></i>
2022-11-16 21:11:02 -05:00
</.link>
2022-10-26 22:08:54 -04:00
</li>
2022-07-30 16:20:32 -04:00
</ul>
2022-02-25 21:58:07 -05:00
</div>