<%= render HeaderComponent.new(title: "Services") %> <%= render MainSimpleComponent.new do %>
<% if Setting.ejabberd_enabled? %>
<%= link_to services_chat_path, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Chat

Federated chat rooms and instant messaging

<% end %>
<% end %> <% if Setting.mastodon_enabled? %>
<%= link_to services_mastodon_path, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Mastodon

Your account on the Open Social Web

<% end %>
<% end %> <% if Setting.email_enabled? && Flipper.enabled?(:email, current_user) %>
<%= link_to services_email_path, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

E-Mail

A no-bullshit email account

<% end %>
<% end %> <% if Setting.remotestorage_enabled? && Flipper.enabled?(:remotestorage, current_user) %>
<%= link_to services_storage_path, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Storage

Sync your data between apps and devices

<% end %>
<% end %> <% if Setting.lndhub_enabled? %>
<%= link_to services_lightning_index_path, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Lightning Network

Send and receive sats over the Bitcoin Lightning Network

<% end %>
<% end %> <% if Setting.discourse_enabled? %>
<%= link_to "#{Setting.discourse_public_url}/session/sso?return_path=/", class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Discourse

Community forums and support/help site

<% end %>
<% end %> <% if Setting.gitea_enabled? %>
<%= link_to Setting.gitea_public_url, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Gitea

Code hosting and collaboration for software projects

<% end %>
<% end %> <% if Setting.droneci_enabled? %>
<%= link_to Setting.droneci_public_url, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Drone CI

Continuous integration for software projects on Gitea

<% end %>
<% end %> <% if Setting.mediawiki_enabled? %>
<%= link_to Setting.mediawiki_public_url, class: "block h-full px-6 py-6 rounded-md btn-text-dark" do %>

Wiki

Documentation and knowledge base

<% end %>
<% end %>
<% end %>