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

166 lines
5.0 KiB
Plaintext
Raw Normal View History

2023-02-14 01:04:15 -05:00
<div class="mx-auto flex flex-col justify-center items-stretch space-y-4 max-w-lg">
<h1 class="title text-primary-400 text-xl">
2022-11-26 20:36:09 -05:00
<%= gettext("memEx") %>
2021-09-02 23:32:52 -04:00
</h1>
2022-02-25 21:58:07 -05:00
2023-02-14 01:04:15 -05:00
<ul class="flex flex-col space-y-4">
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
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center text-right space-y-2">
<.link navigate={Routes.live_path(Endpoint, FaqLive)} class="btn btn-primary">
2023-02-04 11:29:06 -05:00
<%= gettext("read more on how to use memEx") %>
2022-11-26 20:36:09 -05:00
</.link>
</li>
2022-07-25 22:04:10 -04:00
</ul>
<hr class="hr" />
2023-02-14 01:04:15 -05:00
<ul class="flex flex-col space-y-4">
2022-07-25 22:04:10 -04:00
<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" />
2023-02-14 01:04:15 -05:00
<ul class="flex flex-col justify-center space-y-4">
2022-07-30 16:20:32 -04:00
<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>
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-07-30 16:20:32 -04:00
<b>
2022-11-17 22:30:01 -05:00
<%= gettext("admins:") %>
2022-07-30 16:20:32 -04:00
</b>
2023-02-14 01:04:15 -05:00
<p class="flex flex-col justify-center items-center space-y-2">
2022-07-30 16:20:32 -04:00
<%= if @admins |> Enum.empty?() do %>
2022-11-26 20:36:09 -05:00
<.link href={Routes.user_registration_path(Endpoint, :new)} class="link">
2023-02-04 11:29:06 -05:00
<%= dgettext("prompts", "register to setup memEx") %>
2022-11-16 21:11:02 -05:00
</.link>
2022-07-30 16:20:32 -04:00
<% else %>
2023-03-18 00:46:03 -04:00
<.link :for={%{email: email} <- @admins} class="link" href={"mailto:#{email}"}>
2023-02-14 01:04:15 -05:00
<%= email %>
2023-03-18 00:46:03 -04:00
</.link>
2022-07-30 16:20:32 -04:00
<% end %>
</p>
</li>
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-2">
2022-11-17 22:30:01 -05:00
<b><%= gettext("registration:") %></b>
2022-07-30 16:20:32 -04:00
<p>
2023-02-04 09:57:10 -05:00
<%= case Application.get_env(:memex, Memex.Accounts)[:registration] 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
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-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" />
2023-02-14 01:04:15 -05:00
<ul class="flex flex-col space-y-2">
2022-10-26 22:08:54 -04:00
<h2 class="title text-primary-400 text-lg">
2023-02-14 01:04:15 -05:00
<%= gettext("get involved") %>
2022-10-26 22:08:54 -04:00
</h2>
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-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>
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-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>
2023-02-14 01:04:15 -05:00
<li class="flex flex-col justify-center items-center space-y-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>