From bbed3cd3672989c6bef2885a35914469d0320371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Sat, 1 Jun 2024 18:21:18 +0200 Subject: [PATCH 1/4] Add RS logo to service grid, resize others --- app/views/dashboard/index.html.erb | 14 ++++++++------ public/img/logos/icon_remotestorage.svg | 18 ++++++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 public/img/logos/icon_remotestorage.svg diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index 5d38b7c..f7d6c99 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -5,7 +5,7 @@
<% if Setting.ejabberd_enabled? %>
<%= link_to services_chat_path, class: "block h-full px-6 py-6 rounded-md" do %> @@ -18,7 +18,7 @@ <% end %> <% if Setting.mastodon_enabled? %>
<%= link_to services_mastodon_path, class: "block h-full px-6 py-6 rounded-md" do %>

Mastodon

@@ -41,13 +41,13 @@ <% 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" do %>

Discourse

- Kosmos community forums and user support/help site + Community forums and support/help site

<% end %>
@@ -67,7 +67,9 @@ <% 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" do %>

Storage

@@ -79,7 +81,7 @@ <% end %> <% if Setting.gitea_enabled? %>
<%= link_to Setting.gitea_public_url, class: "block h-full px-6 py-6 rounded-md" do %> diff --git a/public/img/logos/icon_remotestorage.svg b/public/img/logos/icon_remotestorage.svg new file mode 100644 index 0000000..a4813a5 --- /dev/null +++ b/public/img/logos/icon_remotestorage.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + -- 2.25.1 From 210a69bd9b624e490c1efbb0ba42bf47a7b2f50d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 9 Aug 2024 14:19:49 +0200 Subject: [PATCH 2/4] Add Geary app recommendation to email page --- app/views/services/email/show.html.erb | 8 ++++++++ public/img/logos/icon_geary.png | Bin 0 -> 9430 bytes 2 files changed, 8 insertions(+) create mode 100644 public/img/logos/icon_geary.png diff --git a/app/views/services/email/show.html.erb b/app/views/services/email/show.html.erb index ada7bba..39379e6 100644 --- a/app/views/services/email/show.html.erb +++ b/app/views/services/email/show.html.erb @@ -100,6 +100,14 @@ ["Website", "https://www.thunderbird.net"] ] ) %> + <%= render AppInfoComponent.new( + name: "Geary", + description: "Built around conversations, for the GNOME desktop", + icon_path: "/img/logos/icon_geary.png", + links: [ + ["Website", "https://wiki.gnome.org/Apps/Geary"] + ] + ) %>