From 127bac729bed5336a9f1c9880cf4ccc18eaf1132 Mon Sep 17 00:00:00 2001
From: Sebastian Kippe
Date: Wed, 18 Nov 2020 12:36:40 +0100
Subject: [PATCH] Add links to services
---
app/assets/stylesheets/layout.scss | 23 +++++++++++++++++++++++
app/views/dashboard/index.html.erb | 20 ++++++++++++++++++++
2 files changed, 43 insertions(+)
diff --git a/app/assets/stylesheets/layout.scss b/app/assets/stylesheets/layout.scss
index 10b3d14..0d03029 100644
--- a/app/assets/stylesheets/layout.scss
+++ b/app/assets/stylesheets/layout.scss
@@ -121,3 +121,26 @@ main {
margin-bottom: 4rem;
}
}
+
+.grid {
+ display: grid;
+
+ &.services {
+ grid-template-columns: 1fr 1fr 1fr;
+ grid-row-gap: 1rem;
+ grid-column-gap: 2rem;
+
+ margin-top: 3rem;
+
+ h3 {
+ margin-bottom: 1rem;
+ }
+
+ .grid-item {
+ p {
+ color: #888;
+ font-size: 0.85rem;
+ }
+ }
+ }
+}
diff --git a/app/views/dashboard/index.html.erb b/app/views/dashboard/index.html.erb
index 70fa703..93d3208 100644
--- a/app/views/dashboard/index.html.erb
+++ b/app/views/dashboard/index.html.erb
@@ -4,6 +4,26 @@
Your Kosmos account and password currently give you access to these
services:
+
+
+
<%= link_to "Chat", "https://wiki.kosmos.org/Services:XMPP" %>
+
+ Chat rooms and instant messaging (XMPP/Jabber)
+
+
+
+
<%= link_to "Gitea", "https://wiki.kosmos.org" %>
+
+ Code hosting and collaboration for software projects
+
+
+
+
<%= link_to "Discourse", "https://community.kosmos.org" %>
+
+ Kosmos community forums and user support/help site
+
+
+