diff --git a/app/assets/stylesheets/application.tailwind.css b/app/assets/stylesheets/application.tailwind.css index 5ee4651..acf8aa9 100644 --- a/app/assets/stylesheets/application.tailwind.css +++ b/app/assets/stylesheets/application.tailwind.css @@ -4,6 +4,7 @@ @import "components/base"; @import "components/buttons"; +@import "components/dashboard_services"; @import "components/forms"; @import "components/links"; @import "components/notifications"; diff --git a/app/assets/stylesheets/components/dashboard_services.css b/app/assets/stylesheets/components/dashboard_services.css new file mode 100644 index 0000000..f725347 --- /dev/null +++ b/app/assets/stylesheets/components/dashboard_services.css @@ -0,0 +1,5 @@ +@layer components { + .services > div > a { + background-image: linear-gradient(110deg, rgba(255,255,255,0.99) 0, rgba(255,255,255,0.88) 100%); + } +} diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb index 9f39bb4..9e24f78 100644 --- a/app/views/dashboard/index.html.erb +++ b/app/views/dashboard/index.html.erb @@ -2,60 +2,87 @@ <%= render MainSimpleComponent.new do %>
-

+

Your Kosmos account and password currently give you access to these services:

-
-
-

- <%= link_to "Chat", "https://wiki.kosmos.org/Services:Chat", class: "ks-text-link" %> -

-

- Chat rooms and instant messaging (XMPP/Jabber) -

+
+
+ <%= link_to "https://wiki.kosmos.org/Services:Chat", + class: "block h-full px-6 py-6 rounded-md" do %> +

Chat

+

+ Federated chat rooms and instant messaging +

+ <% end %>
-
-

- <%= link_to "Discourse", "https://community.kosmos.org", class: "ks-text-link" %> -

-

- Kosmos community forums and user support/help site -

+
+ <%= link_to "https://community.kosmos.org", + class: "block h-full px-6 py-6 rounded-md" do %> +

Discourse

+

+ Kosmos community forums and user support/help site +

+ <% end %>
-
-

- <%= render partial: "icons/zap", locals: { custom_class: "text-amber-500 h-4 w-4 inline" } %> - <%= link_to "Lightning Wallet", wallet_path, class: "ks-text-link" %> -

-

- Send and receive sats over the Bitcoin Lightning Network -

+
+ <%= link_to "https://wiki.kosmos.org", + class: "block h-full px-6 py-6 rounded-md" do %> +

Wiki

+

+ Kosmos documentation and knowledge base +

+ <% end %>
-
-

- <%= link_to "Wiki", "https://wiki.kosmos.org", class: "ks-text-link" %> -

-

- Kosmos documentation and knowledge base -

+
+ <%= link_to wallet_path, + class: "block h-full px-6 py-6 rounded-md" do %> +

Wallet

+

+ Send and receive sats over the Bitcoin Lightning Network +

+ <% end %>
-
-

- <%= link_to "Gitea", "https://gitea.kosmos.org", class: "ks-text-link" %> -

-

- Code hosting and collaboration for software projects -

+
+ <%= link_to "https://gitea.kosmos.org", + class: "block h-full px-6 py-6 rounded-md" do %> +

Gitea

+

+ Code hosting and collaboration for software projects +

+ <% end %>
-
-

- <%= link_to "Drone CI", "https://drone.kosmos.org", class: "ks-text-link" %> -

-

- Continuous integration for software projects on Gitea -

+
+ <%= link_to "https://drone.kosmos.org", + class: "block h-full px-6 py-6 rounded-md" do %> +

Drone CI

+

+ Continuous integration for software projects on Gitea +

+ <% end %>
+ + + + + + + + + +
<% end %> diff --git a/public/img/logos/icon_discourse.svg b/public/img/logos/icon_discourse.svg new file mode 100644 index 0000000..4cbb8c8 --- /dev/null +++ b/public/img/logos/icon_discourse.svg @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/public/img/logos/icon_droneci.svg b/public/img/logos/icon_droneci.svg new file mode 100644 index 0000000..10f926a --- /dev/null +++ b/public/img/logos/icon_droneci.svg @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/public/img/logos/icon_gitea.png b/public/img/logos/icon_gitea.png new file mode 100644 index 0000000..1538cd1 Binary files /dev/null and b/public/img/logos/icon_gitea.png differ diff --git a/public/img/logos/icon_lightning.svg b/public/img/logos/icon_lightning.svg new file mode 100644 index 0000000..406841e --- /dev/null +++ b/public/img/logos/icon_lightning.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/logos/icon_mastodon.svg b/public/img/logos/icon_mastodon.svg new file mode 100644 index 0000000..7bd752a --- /dev/null +++ b/public/img/logos/icon_mastodon.svg @@ -0,0 +1,48 @@ + + + + + + + + + diff --git a/public/img/logos/icon_mediawiki.svg b/public/img/logos/icon_mediawiki.svg new file mode 100644 index 0000000..fdadd25 --- /dev/null +++ b/public/img/logos/icon_mediawiki.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/public/img/logos/icon_xmpp.svg b/public/img/logos/icon_xmpp.svg new file mode 100644 index 0000000..058c67a --- /dev/null +++ b/public/img/logos/icon_xmpp.svg @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +