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

176 lines
5.0 KiB
Plaintext
Raw Normal View History

2021-09-02 23:32:52 -04:00
<div class="flex flex-col justify-center items-center text-center space-y-4">
2022-07-25 22:04:10 -04:00
<h1 class="title text-primary-400 text-2xl">
2022-07-25 19:31:54 -04:00
<%= 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">
<li class="flex flex-col justify-center items-center
space-y-2">
<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>
<li class="flex flex-col justify-center items-center
space-y-2">
<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>
<li class="flex flex-col justify-center items-center
space-y-2">
<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>
</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>
<li class="flex flex-col justify-center items-center
space-y-2">
<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>
<li class="flex flex-col justify-center items-center
space-y-2">
<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>
<li class="flex flex-col justify-center items-center
space-y-2">
<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-16 21:11:02 -05:00
<.link
href={Routes.user_registration_path(MemexWeb.Endpoint, :new)}
class="hover:underline"
>
2022-11-17 22:30:01 -05:00
<%= 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 %>
<a class="hover:underline" href={"mailto:#{admin.email}"}>
<%= 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-16 21:11:02 -05:00
<%= Application.get_env(:memex, MemexWeb.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
href="https://gitea.bubbletea.dev/shibao/memex/src/branch/stable/CHANGELOG.md"
class="flex flex-row justify-center items-center space-x-2 hover:underline"
target="_blank"
rel="noopener noreferrer"
>
2022-10-26 22:08:54 -04:00
<p>0.1.0</p>
<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
href="https://gitea.bubbletea.dev/shibao/memex"
class="flex flex-row justify-center items-center space-x-2 hover:underline"
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
href="https://weblate.bubbletea.dev/engage/memex"
class="flex flex-row justify-center items-center space-x-2 hover:underline"
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
href="https://gitea.bubbletea.dev/shibao/memex/issues/new"
class="flex flex-row justify-center items-center space-x-2 hover:underline"
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>